Package org.apache.datafusion
Class NdJsonReadOptions
java.lang.Object
org.apache.datafusion.NdJsonReadOptions
Configuration knobs for newline-delimited JSON sources passed to
SessionContext.registerJson(String, String, NdJsonReadOptions) and SessionContext.readJson(String, NdJsonReadOptions).
Mirrors a subset of DataFusion's NdJsonReadOptions. All setters return this
for fluent chaining. Defaults match the Rust struct: fileExtension = ".json",
fileCompressionType = UNCOMPRESSED; schemaInferMaxRecords unset (the DataFusion default
is used).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfileExtension(String ext) schema(org.apache.arrow.vector.types.pojo.Schema schema) schemaInferMaxRecords(long n)
-
Constructor Details
-
NdJsonReadOptions
public NdJsonReadOptions()
-
-
Method Details
-
fileExtension
-
fileCompressionType
-
schemaInferMaxRecords
-
schema
-