Expand description
Functions for printing array values as human-readable strings.
This is often used for debugging or logging purposes.
See the pretty crate for additional functions for
record batch pretty printing.
Macrosยง
- decimal_
display ๐ - duration_
display ๐ - Derive
DisplayIndexStateforPrimitiveArray<$t> - duration_
fmt ๐ - duration_
option_ ๐display - Similar to
duration_displaybut$convertreturns anOption - primitive_
display ๐ - primitive_
display_ ๐float - temporal_
display ๐ - timestamp_
display ๐
Structsยง
- Array
Format ๐ - Array
Formatter - A string formatter for an [
Array] - Format
Options - Options for formatting arrays
- Milliseconds
Formatter ๐ - Nanoseconds
Formatter ๐ - Value
Formatter - Implements
Displayfor a specific array value
Enumsยง
- Duration
Format - Format for displaying durations
- Format
Error - Either an [
ArrowError] orstd::fmt::Error
Traitsยง
- Array
Formatter Factory - Allows creating a new
ArrayFormatterfor a given [Array] and an optional [Field]. - Display
Index Displaybut accepting an index- Display
Index ๐State DisplayIndexwith additional state
Functionsยง
- array_
format ๐ - array_
value_ to_ string - Get the value at the given row in an array as a String.
- date32_
to_ ๐date - lexical_
to_ string - Converts numeric type to a
String - make_
array_ ๐formatter - Used to create a new
ArrayFormatterfrom the givenarray, while also checking whether there is an override available in theArrayFormatterFactory. - make_
default_ ๐display_ index - write_
list ๐ - write_
timestamp ๐
Type Aliasesยง
- Field
Display ๐ - Pairs an
ArrayFormatterwith its field name - Format
Result - The result of formatting an array element via
DisplayIndex::write. - Time
Format ๐