Class ArrowReadOptions

java.lang.Object
org.apache.datafusion.ArrowReadOptions

public final class ArrowReadOptions extends Object
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 Details

    • ArrowReadOptions

      public ArrowReadOptions()
  • Method Details