Class ArrowSerializationOptions (2.73.0)

public final class ArrowSerializationOptions implements Serializable

[Beta] Options specific to the Apache Arrow output format.

Inheritance

java.lang.Object > ArrowSerializationOptions

Implements

Serializable

Static Methods

newBuilder()

public static ArrowSerializationOptions.Builder newBuilder()

[Beta] Returns a new builder for ArrowSerializationOptions.

Returns
Type Description
ArrowSerializationOptions.Builder

Methods

equals(@Nullable Object o)

public boolean equals(@Nullable Object o)
Parameter
Name Description
o @org.jspecify.annotations.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getBufferCompression()

public ArrowSerializationOptions.CompressionCodec getBufferCompression()

[Beta] Returns the buffer compression algorithm (e.g., LZ4_FRAME, ZSTD, UNCOMPRESSED). Defaults to CompressionCodec#UNCOMPRESSED.

Returns
Type Description
ArrowSerializationOptions.CompressionCodec

getPicosTimestampPrecision()

public ArrowSerializationOptions.TimestampPrecision getPicosTimestampPrecision()

[Beta] Returns the timestamp precision for Arrow timestamp types. Defaults to TimestampPrecision#PRECISION_MICROS.

Note: Only applies when QueryResultsFormat#ARROW is enabled. For Arrow result streams, this precision setting governs binary Arrow timestamp column types and takes precedence over DataFormatOptions.TimestampFormatOptions, which applies to default QueryResultsFormat#STRUCT_ENCODING JSON results.

Returns
Type Description
ArrowSerializationOptions.TimestampPrecision

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides