package org.apache.spark.sql.sources.v2.reader;
public interface SupportsScanColumnarBatch extends DataSourceReader {
// only required methods that have no implementation
// the others follow
List<DataReaderFactory<ColumnarBatch>> createBatchDataReaderFactories();
}
SupportsScanColumnarBatch
SupportsScanColumnarBatch
is the contract…FIXME
Note
|
In other words, using the contract is as treading on thin ice. |
Method | Description |
---|---|
Used when…FIXME |
Note
|
No custom SupportsScanColumnarBatch are part of Spark 2.3.
|
enableBatchRead
Method
default boolean enableBatchRead()
enableBatchRead
flag is always enabled (i.e. true
) unless overrode by custom SupportsScanColumnarBatches.
Note
|
enableBatchRead is used when…FIXME
|