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(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)
Unnest
setUnnestField
in interface Unnest
public RepeatedValueVector getUnnestField()
getUnnestField
in interface Unnest
public void setOutputCount(int outputCount)
Unnest
setOutputCount
in interface Unnest
public void setRowIdVector(IntVector v)
Unnest
setRowIdVector
in interface Unnest
public final int unnestRecords(int recordCount)
Unnest
unnestRecords
in interface Unnest
public final void setup(FragmentContext context, RecordBatch incoming, RecordBatch outgoing, List<TransferPair> transfers) throws SchemaChangeException
setup
in interface Unnest
SchemaChangeException
public void resetGroupIndex()
Unnest
resetGroupIndex
in interface Unnest
Copyright © 1970 The Apache Software Foundation. All rights reserved.