public interface MappeableContainerPointer extends Comparable<MappeableContainerPointer>, Cloneable
| Modifier and Type | Method and Description |
|---|---|
void |
advance()
Move to the next container
|
MappeableContainerPointer |
clone()
Create a copy
|
int |
getCardinality()
Returns the cardinality of the current container.
|
MappeableContainer |
getContainer()
This method can be used to check whether there is current a valid container as it returns null
when there is not.
|
int |
getSizeInBytes()
Get the size in bytes of the container.
|
boolean |
hasContainer() |
boolean |
isBitmapContainer()
Returns true if it is a bitmap container (MappeableBitmapContainer).
|
boolean |
isRunContainer()
Returns true if it is a run container (MappeableRunContainer).
|
short |
key()
The key is a 16-bit integer that indicates the position of the container in the roaring bitmap.
|
void |
previous()
Move to the previous container
|
compareTovoid advance()
MappeableContainerPointer clone()
int getCardinality()
MappeableContainer getContainer()
int getSizeInBytes()
boolean hasContainer()
boolean isBitmapContainer()
boolean isRunContainer()
short key()
void previous()
Copyright © 2017. All rights reserved.