Module display

Source
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 ๐Ÿ”’
duration_fmt ๐Ÿ”’
primitive_display ๐Ÿ”’
primitive_display_float ๐Ÿ”’
temporal_display ๐Ÿ”’
timestamp_display ๐Ÿ”’

Structsยง

ArrayFormat ๐Ÿ”’
ArrayFormatter
A string formatter for an [Array]
FormatOptions
Options for formatting arrays
MillisecondsFormatter ๐Ÿ”’
NanosecondsFormatter ๐Ÿ”’
ValueFormatter
Implements Display for a specific array value

Enumsยง

DurationFormat
Format for displaying durations
FormatError ๐Ÿ”’
Either an [ArrowError] or std::fmt::Error

Traitsยง

DisplayIndex ๐Ÿ”’
Display but accepting an index
DisplayIndexState ๐Ÿ”’
DisplayIndex with 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_formatter ๐Ÿ”’
write_list ๐Ÿ”’
write_timestamp ๐Ÿ”’

Type Aliasesยง

FieldDisplay ๐Ÿ”’
Pairs a boxed DisplayIndex with its field name
FormatResult ๐Ÿ”’
TimeFormat ๐Ÿ”’