Package io.prestosql.operator.window
Class PagesWindowIndex
- java.lang.Object
-
- io.prestosql.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 void
appendTo(int channel, int position, BlockBuilder output)
boolean
getBoolean(int channel, int position)
double
getDouble(int channel, int position)
long
getLong(int channel, int position)
Object
getObject(int channel, int position)
Block
getSingleValueBlock(int channel, int position)
io.airlift.slice.Slice
getSlice(int channel, int position)
boolean
isNull(int channel, int position)
int
size()
String
toString()
-
-
-
Constructor Detail
-
PagesWindowIndex
public PagesWindowIndex(PagesIndex pagesIndex, int start, int end)
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceWindowIndex
-
isNull
public boolean isNull(int channel, int position)
- Specified by:
isNull
in interfaceWindowIndex
-
getBoolean
public boolean getBoolean(int channel, int position)
- Specified by:
getBoolean
in interfaceWindowIndex
-
getLong
public long getLong(int channel, int position)
- Specified by:
getLong
in interfaceWindowIndex
-
getDouble
public double getDouble(int channel, int position)
- Specified by:
getDouble
in interfaceWindowIndex
-
getSlice
public io.airlift.slice.Slice getSlice(int channel, int position)
- Specified by:
getSlice
in interfaceWindowIndex
-
getSingleValueBlock
public Block getSingleValueBlock(int channel, int position)
- Specified by:
getSingleValueBlock
in interfaceWindowIndex
-
getObject
public Object getObject(int channel, int position)
- Specified by:
getObject
in interfaceWindowIndex
-
appendTo
public void appendTo(int channel, int position, BlockBuilder output)
- Specified by:
appendTo
in interfaceWindowIndex
-
-