Package io.trino.operator.unnest
Class UnnestOperator
java.lang.Object
io.trino.operator.unnest.UnnestOperator
- All Implemented Interfaces:
Operator,AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface io.trino.operator.Operator
NOT_BLOCKED -
Constructor Summary
ConstructorsConstructorDescriptionUnnestOperator(OperatorContext operatorContext, List<Integer> replicateChannels, List<Type> replicateTypes, List<Integer> unnestChannels, List<Type> unnestTypes, boolean withOrdinality, boolean outer) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an input page to the operator.static boolean[]ensureCapacity(boolean[] buffer, int capacity, boolean forceReset) static int[]ensureCapacity(int[] buffer, int capacity, boolean forceReset) voidfinish()Notifies the operator that no more pages will be added and the operator should finish processing and flush results.Gets an output page from the operator.booleanIs this operator completely finished processing and no more output pages will be produced.booleanReturns true if and only if this operator can accept an input page.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.operator.Operator
close, finishMemoryRevoke, isBlocked, startMemoryRevoke
-
Constructor Details
-
UnnestOperator
-
-
Method Details
-
getOperatorContext
- Specified by:
getOperatorContextin interfaceOperator
-
finish
-
isFinished
public boolean isFinished()Description copied from interface:OperatorIs this operator completely finished processing and no more output pages will be produced.- Specified by:
isFinishedin interfaceOperator
-
needsInput
public boolean needsInput()Description copied from interface:OperatorReturns true if and only if this operator can accept an input page.- Specified by:
needsInputin interfaceOperator
-
addInput
-
getOutput
-
ensureCapacity
public static int[] ensureCapacity(int[] buffer, int capacity, boolean forceReset) -
ensureCapacity
public static boolean[] ensureCapacity(boolean[] buffer, int capacity, boolean forceReset)
-