public class UnnestImpl extends Object implements Unnest
| Constructor and Description |
|---|
UnnestImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
RepeatedValueVector |
getUnnestField() |
void |
resetGroupIndex()
Reset the index at which the incoming vector is being processed.
|
void |
setOutputCount(int outputCount)
Set the maximum number of values allowed in the output.
|
void |
setRowIdVector(org.apache.drill.exec.vector.IntVector v)
Set the vector for the rowId implicit column
|
void |
setUnnestField(RepeatedValueVector unnestField)
Set the field to be unnested
|
void |
setup(FragmentContext context,
RecordBatch incoming,
RecordBatch outgoing,
List<TransferPair> transfers) |
String |
toString() |
int |
unnestRecords(int recordCount)
Performs the actual unnest operation.
|
public void setUnnestField(RepeatedValueVector unnestField)
UnnestsetUnnestField in interface Unnestpublic RepeatedValueVector getUnnestField()
getUnnestField in interface Unnestpublic void setOutputCount(int outputCount)
UnnestsetOutputCount in interface Unnestpublic void setRowIdVector(org.apache.drill.exec.vector.IntVector v)
UnnestsetRowIdVector in interface Unnestpublic final int unnestRecords(int recordCount)
UnnestunnestRecords in interface Unnestpublic final void setup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, List<TransferPair> transfers) throws SchemaChangeException
setup in interface UnnestSchemaChangeExceptionpublic void resetGroupIndex()
UnnestresetGroupIndex in interface UnnestCopyright © 2021 The Apache Software Foundation. All rights reserved.