Package io.trino.operator.window
Class MappedWindowIndex
- java.lang.Object
-
- io.trino.operator.window.MappedWindowIndex
-
- All Implemented Interfaces:
InternalWindowIndex,WindowIndex
public class MappedWindowIndex extends Object implements InternalWindowIndex
-
-
Constructor Summary
Constructors Constructor Description MappedWindowIndex(List<Integer> argumentChannels)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendTo(int channel, int position, BlockBuilder output)booleangetBoolean(int channel, int position)doublegetDouble(int channel, int position)longgetLong(int channel, int position)ObjectgetObject(int channel, int position)BlockgetRawBlock(int channel, int position)intgetRawBlockPosition(int position)BlockgetSingleValueBlock(int channel, int position)io.airlift.slice.SlicegetSlice(int channel, int position)booleanisNull(int channel, int position)voidsetDelegate(InternalWindowIndex delegate)intsize()
-
-
-
Method Detail
-
setDelegate
public void setDelegate(InternalWindowIndex delegate)
-
size
public int size()
- Specified by:
sizein interfaceWindowIndex
-
isNull
public boolean isNull(int channel, int position)- Specified by:
isNullin interfaceWindowIndex
-
getBoolean
public boolean getBoolean(int channel, int position)- Specified by:
getBooleanin interfaceWindowIndex
-
getLong
public long getLong(int channel, int position)- Specified by:
getLongin interfaceWindowIndex
-
getDouble
public double getDouble(int channel, int position)- Specified by:
getDoublein interfaceWindowIndex
-
getSlice
public io.airlift.slice.Slice getSlice(int channel, int position)- Specified by:
getSlicein interfaceWindowIndex
-
getSingleValueBlock
public Block getSingleValueBlock(int channel, int position)
- Specified by:
getSingleValueBlockin interfaceWindowIndex
-
getObject
public Object getObject(int channel, int position)
- Specified by:
getObjectin interfaceWindowIndex
-
appendTo
public void appendTo(int channel, int position, BlockBuilder output)- Specified by:
appendToin interfaceWindowIndex
-
getRawBlock
public Block getRawBlock(int channel, int position)
- Specified by:
getRawBlockin interfaceInternalWindowIndex
-
getRawBlockPosition
public int getRawBlockPosition(int position)
- Specified by:
getRawBlockPositionin interfaceInternalWindowIndex
-
-