|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.javaewah.symmetric.UpdateableBitmapFunction
public abstract class UpdateableBitmapFunction
This is a Java specification for an "updatable" Boolean function meant to run over EWAH bitmaps. Reference: Daniel Lemire, Owen Kaser, Kamel Aouiche, Sorting improves word-aligned bitmap indexes. Data & Knowledge Engineering 69 (1), pages 3-28, 2010.
Method Summary | |
---|---|
void |
clearLiteral(int pos)
|
abstract void |
dispatch(BitmapStorage out,
int runbegin,
int runend)
Writes out the answer. |
void |
fillWithLiterals(List<EWAHPointer> container)
append to the list the literal words as EWAHPointer |
Iterable<EWAHPointer> |
getLiterals()
Goes through the literals. |
int |
getNumberOfLiterals()
|
void |
resize(int newsize)
|
void |
setLiteral(int pos)
|
void |
setOne(int pos)
|
void |
setZero(int pos)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final int getNumberOfLiterals()
public final Iterable<EWAHPointer> getLiterals()
public final void fillWithLiterals(List<EWAHPointer> container)
container
- where we writepublic final void resize(int newsize)
newsize
- the number of inputspublic void setLiteral(int pos)
pos
- position of a literalpublic void clearLiteral(int pos)
pos
- position where a literal was removedpublic final void setZero(int pos)
pos
- position where a zero word was addedpublic final void setOne(int pos)
pos
- position were a 11...1 word was addedpublic abstract void dispatch(BitmapStorage out, int runbegin, int runend)
out
- output bufferrunbegin
- beginning of the runrunend
- end of the run
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |