public final class Page extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INSTANCE_SIZE |
| Constructor and Description |
|---|
Page(Block... blocks) |
Page(int positionCount,
Block... blocks) |
| Modifier and Type | Method and Description |
|---|---|
Page |
appendColumn(Block block) |
void |
compact() |
Block |
getBlock(int channel) |
int |
getChannelCount() |
Page |
getLoadedPage()
Returns a page that assures all data is in memory.
|
long |
getLogicalSizeInBytes() |
int |
getPositionCount() |
Page |
getPositions(int[] retainedPositions,
int offset,
int length) |
Page |
getRegion(int positionOffset,
int length) |
long |
getRetainedSizeInBytes() |
Page |
getSingleValuePage(int position)
Gets the values at the specified position as a single element page.
|
long |
getSizeInBytes() |
Page |
prependColumn(Block column) |
String |
toString() |
public Page(Block... blocks)
public Page(int positionCount,
Block... blocks)
public int getChannelCount()
public int getPositionCount()
public long getSizeInBytes()
public long getLogicalSizeInBytes()
public long getRetainedSizeInBytes()
public Block getBlock(int channel)
public Page getSingleValuePage(int position)
public Page getRegion(int positionOffset, int length)
public void compact()
public Page getLoadedPage()
This allows streaming data sources to skip sections that are not accessed in a query.
public Page getPositions(int[] retainedPositions, int offset, int length)
Copyright © 2012–2020. All rights reserved.