public class PageBuilder extends Object
| Constructor and Description |
|---|
PageBuilder(List<? extends Type> types) |
| Modifier and Type | Method and Description |
|---|---|
Page |
build() |
void |
declarePosition()
Hack to declare positions when producing a page with no channels
|
BlockBuilder |
getBlockBuilder(int channel) |
int |
getPositionCount() |
long |
getSizeInBytes() |
boolean |
isEmpty() |
boolean |
isFull() |
void |
reset() |
public void reset()
public BlockBuilder getBlockBuilder(int channel)
public void declarePosition()
public boolean isFull()
public boolean isEmpty()
public int getPositionCount()
public long getSizeInBytes()
public Page build()
Copyright © 2012-2014. All Rights Reserved.