Class FlattenTemplate
java.lang.Object
org.apache.drill.exec.physical.impl.flatten.FlattenTemplate
- All Implemented Interfaces:
- Flattener
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.drill.exec.physical.impl.flatten.FlattenerFlattener.Monitor
- 
Field SummaryFields inherited from interface org.apache.drill.exec.physical.impl.flatten.FlattenerTEMPLATE_DEFINITION
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract booleandoEval(int inIndex, int outIndex) abstract voiddoSetup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing) final intflattenRecords(int recordCount, int firstOutputIndex, Flattener.Monitor monitor) voidvoidsetFlattenField(RepeatedValueVector flattenField) voidsetOutputCount(int outputCount) final voidsetup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, List<TransferPair> transfers) toString()
- 
Constructor Details- 
FlattenTemplatepublic FlattenTemplate()
 
- 
- 
Method Details- 
setFlattenField- Specified by:
- setFlattenFieldin interface- Flattener
 
- 
getFlattenField- Specified by:
- getFlattenFieldin interface- Flattener
 
- 
setOutputCountpublic void setOutputCount(int outputCount) - Specified by:
- setOutputCountin interface- Flattener
 
- 
flattenRecords- Specified by:
- flattenRecordsin interface- Flattener
 
- 
setuppublic final void setup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, List<TransferPair> transfers) throws SchemaChangeException - Specified by:
- setupin interface- Flattener
- Throws:
- SchemaChangeException
 
- 
resetGroupIndexpublic void resetGroupIndex()- Specified by:
- resetGroupIndexin interface- Flattener
 
- 
doSetuppublic abstract void doSetup(@Named("context") FragmentContext context, @Named("incoming") RecordBatch incoming, @Named("outgoing") RecordBatch outgoing) throws SchemaChangeException - Throws:
- SchemaChangeException
 
- 
doEvalpublic abstract boolean doEval(@Named("inIndex") int inIndex, @Named("outIndex") int outIndex) throws SchemaChangeException - Throws:
- SchemaChangeException
 
- 
toString
 
-