|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.javaewah.FastAggregation
public class FastAggregation
Fast algorithms to aggregate many bitmaps. These algorithms are just given as reference. They may not be faster than the corresponding methods in the EWAHCompressedBitmap class.
| Constructor Summary | |
|---|---|
FastAggregation()
|
|
| Method Summary | ||
|---|---|---|
static EWAHCompressedBitmap |
bufferedand(int bufsize,
EWAHCompressedBitmap... bitmaps)
Compute the and aggregate using a temporary uncompressed bitmap. |
|
static void |
bufferedandWithContainer(BitmapStorage container,
int bufsize,
EWAHCompressedBitmap... bitmaps)
Compute the and aggregate using a temporary uncompressed bitmap. |
|
static EWAHCompressedBitmap |
bufferedor(int bufsize,
EWAHCompressedBitmap... bitmaps)
Compute the or aggregate using a temporary uncompressed bitmap. |
|
static void |
bufferedorWithContainer(BitmapStorage container,
int bufsize,
EWAHCompressedBitmap... bitmaps)
Compute the or aggregate using a temporary uncompressed bitmap. |
|
static EWAHCompressedBitmap |
bufferedxor(int bufsize,
EWAHCompressedBitmap... bitmaps)
Compute the xor aggregate using a temporary uncompressed bitmap. |
|
static void |
bufferedxorWithContainer(BitmapStorage container,
int bufsize,
EWAHCompressedBitmap... bitmaps)
Compute the xor aggregate using a temporary uncompressed bitmap. |
|
static void |
legacy_orWithContainer(BitmapStorage container,
EWAHCompressedBitmap... bitmaps)
Deprecated. use EWAHCompressedBitmap.or instead |
|
static
|
or(T... bitmaps)
Uses a priority queue to compute the or aggregate. |
|
static void |
orToContainer(BitmapStorage container,
EWAHCompressedBitmap... bitmaps)
Uses a priority queue to compute the or aggregate. |
|
static
|
xor(T... bitmaps)
Uses a priority queue to compute the xor aggregate. |
|
static void |
xorToContainer(BitmapStorage container,
EWAHCompressedBitmap... bitmaps)
Uses a priority queue to compute the xor aggregate. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FastAggregation()
| Method Detail |
|---|
public static EWAHCompressedBitmap bufferedand(int bufsize,
EWAHCompressedBitmap... bitmaps)
bitmaps - the source bitmapsbufsize - buffer size used during the computation in 64-bit words (per input bitmap)
public static void bufferedandWithContainer(BitmapStorage container,
int bufsize,
EWAHCompressedBitmap... bitmaps)
container - where the aggregate is writtenbufsize - buffer size used during the computation in 64-bit words (per input bitmap)bitmaps - the source bitmaps
public static EWAHCompressedBitmap bufferedor(int bufsize,
EWAHCompressedBitmap... bitmaps)
bitmaps - the source bitmapsbufsize - buffer size used during the computation in 64-bit words
public static void bufferedorWithContainer(BitmapStorage container,
int bufsize,
EWAHCompressedBitmap... bitmaps)
container - where the aggregate is writtenbufsize - buffer size used during the computation in 64-bit wordsbitmaps - the source bitmaps
public static EWAHCompressedBitmap bufferedxor(int bufsize,
EWAHCompressedBitmap... bitmaps)
bitmaps - the source bitmapsbufsize - buffer size used during the computation in 64-bit words
public static void bufferedxorWithContainer(BitmapStorage container,
int bufsize,
EWAHCompressedBitmap... bitmaps)
container - where the aggregate is writtenbufsize - buffer size used during the computation in 64-bit wordsbitmaps - the source bitmapspublic static <T extends LogicalElement> T or(T... bitmaps)
T - a class extending LogicalElement (like a compressed bitmap)bitmaps - bitmaps to be aggregated
public static void orToContainer(BitmapStorage container,
EWAHCompressedBitmap... bitmaps)
container - where we write the resultbitmaps - to be aggregatedpublic static <T extends LogicalElement> T xor(T... bitmaps)
T - a class extending LogicalElement (like a compressed bitmap)bitmaps - bitmaps to be aggregated
public static void xorToContainer(BitmapStorage container,
EWAHCompressedBitmap... bitmaps)
container - where we write the resultbitmaps - to be aggregated
@Deprecated
public static void legacy_orWithContainer(BitmapStorage container,
EWAHCompressedBitmap... bitmaps)
container - where store the resultbitmaps - to be aggregated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||