public static class FindLimit0Visitor.RelDataTypeReader extends AbstractRecordReader
| Modifier and Type | Field and Description |
|---|---|
List<String> |
columnNames |
List<TypeProtos.MajorType> |
columnTypes |
DEFAULT_TEXT_COLS_TO_READALLOCATOR_INITIAL_RESERVATION, ALLOCATOR_MAX_RESERVATION| Constructor and Description |
|---|
FindLimit0Visitor.RelDataTypeReader(List<String> columnNames,
List<TypeProtos.MajorType> columnTypes) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
next()
Increments this record reader forward, writing via the provided output
mutator into the output batch.
|
void |
setup(OperatorContext context,
OutputMutator output)
Configure the RecordReader with the provided schema and the record batch that should be written to.
|
allocate, getColumns, getDefaultColumnsToRead, isSkipQuery, isStarQuery, setColumns, toString, transformColumnspublic final List<TypeProtos.MajorType> columnTypes
public FindLimit0Visitor.RelDataTypeReader(List<String> columnNames, List<TypeProtos.MajorType> columnTypes)
public void setup(OperatorContext context, OutputMutator output) throws ExecutionSetupException
RecordReadercontext - operator context for the readeroutput - The place where output for a particular scan should be written. The record reader is responsible for
mutating the set of schema values for that particular record.ExecutionSetupExceptionpublic int next()
RecordReaderCopyright © 2017 The Apache Software Foundation. All rights reserved.