Package io.trino.operator.window
Class PagesWindowIndex
- java.lang.Object
-
- io.trino.operator.window.PagesWindowIndex
-
- All Implemented Interfaces:
WindowIndex
public class PagesWindowIndex extends Object implements WindowIndex
-
-
Constructor Summary
Constructors Constructor Description PagesWindowIndex(PagesIndex pagesIndex, int start, int end)
-
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)BlockgetSingleValueBlock(int channel, int position)io.airlift.slice.SlicegetSlice(int channel, int position)booleanisNull(int channel, int position)intsize()StringtoString()
-
-
-
Constructor Detail
-
PagesWindowIndex
public PagesWindowIndex(PagesIndex pagesIndex, int start, int end)
-
-
Method Detail
-
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
-
-