Package com.google.cloud.bigquery
Class ArrowSerializationOptions
java.lang.Object
com.google.cloud.bigquery.ArrowSerializationOptions
- All Implemented Interfaces:
Serializable
@BetaApi
@NullMarked
public final class ArrowSerializationOptions
extends Object
implements Serializable
[Beta] Options specific to the Apache Arrow output format.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[Beta] Builder forArrowSerializationOptions.static enum[Beta] Buffer compression codec for Apache Arrow record batches.static enum[Beta] Timestamp precision for Apache Arrow timestamp types. -
Method Summary
Modifier and TypeMethodDescriptionboolean[Beta] Returns the buffer compression algorithm (e.g., LZ4_FRAME, ZSTD, UNCOMPRESSED).[Beta] Returns the timestamp precision for Arrow timestamp types.inthashCode()[Beta] Returns a new builder forArrowSerializationOptions.toString()
-
Method Details
-
getBufferCompression
[Beta] Returns the buffer compression algorithm (e.g., LZ4_FRAME, ZSTD, UNCOMPRESSED). Defaults toArrowSerializationOptions.CompressionCodec.UNCOMPRESSED. -
getPicosTimestampPrecision
[Beta] Returns the timestamp precision for Arrow timestamp types. Defaults toTimestampPrecision#PRECISION_MICROS.Note: Only applies when
QueryResultsFormat.ARROWis enabled. For Arrow result streams, this precision setting governs binary Arrow timestamp column types and takes precedence overDataFormatOptions.TimestampFormatOptions, which applies to defaultQueryResultsFormat.STRUCT_ENCODINGJSON results. -
newBuilder
[Beta] Returns a new builder forArrowSerializationOptions. -
toString
-
equals
-
hashCode
public int hashCode()
-