Class RecordBatchOverflow.Builder
java.lang.Object
org.apache.drill.exec.store.parquet.columnreaders.batchsizing.RecordBatchOverflow.Builder
- Enclosing class:
RecordBatchOverflow
Builder class to construct a
RecordBatchOverflow object-
Method Summary
Modifier and TypeMethodDescriptionvoidaddFieldOverflow(ValueVector vector, int firstValueIdx, int numValues) Add an overflow field to this batch record overflow object; note that currently only variable numValues objects are supported.build()
-
Method Details
-
addFieldOverflow
Add an overflow field to this batch record overflow object; note that currently only variable numValues objects are supported.- Parameters:
vector- a value vector with overflow valuesfirstValueIdx- index of first overflow valuenumValues- the number of overflow values starting at index "firstValueIdx"
-
build
- Returns:
- a new built {link BatchRecordOverflow} object instance
-