Package org.apache.datafusion
Class ArrowReadOptions
java.lang.Object
org.apache.datafusion.ArrowReadOptions
Configuration knobs for Arrow IPC sources passed to
SessionContext.registerArrow(String, String, ArrowReadOptions) and SessionContext.readArrow(String, ArrowReadOptions).
Mirrors the subset of DataFusion's ArrowReadOptions that maps onto the Java surface
today: fileExtension (default ".arrow") and an explicit Arrow schema that
bypasses on-read schema inference. tablePartitionCols is intentionally deferred --
neither Parquet nor CSV expose Hive-style partitioning on the Java side yet.
Arrow IPC files carry their own body compression (LZ4_FRAME / ZSTD per-buffer) inside the file
format itself, so unlike CSV / NDJSON there is no FileCompressionType setter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfileExtension(String ext) schema(org.apache.arrow.vector.types.pojo.Schema schema)
-
Constructor Details
-
ArrowReadOptions
public ArrowReadOptions()
-
-
Method Details
-
fileExtension
-
schema
-