public final class FastAggregation extends Object
Modifier and Type | Method and Description |
---|---|
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 EWAHCompressedBitmap |
or(EWAHCompressedBitmap... bitmaps)
Simple algorithm that computes the OR aggregate.
|
static EWAHCompressedBitmap |
or(Iterator<EWAHCompressedBitmap> bitmaps)
Simple algorithm that computes the OR aggregate.
|
static <T extends LogicalElement> |
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 EWAHCompressedBitmap |
xor(EWAHCompressedBitmap... bitmaps)
Simple algorithm that computes the XOR aggregate.
|
static EWAHCompressedBitmap |
xor(Iterator<EWAHCompressedBitmap> bitmaps)
Simple algorithm that computes the XOR aggregate.
|
static <T extends LogicalElement> |
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.
|
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 bitmapspublic static EWAHCompressedBitmap bufferedor(int bufSize, EWAHCompressedBitmap... bitmaps)
bitmaps
- the source bitmapsbufSize
- buffer size used during the computation in 64-bit
wordspublic 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 bitmapspublic static EWAHCompressedBitmap bufferedxor(int bufSize, EWAHCompressedBitmap... bitmaps)
bitmaps
- the source bitmapsbufSize
- buffer size used during the computation in 64-bit
wordspublic 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 aggregatedpublic static void orToContainer(BitmapStorage container, EWAHCompressedBitmap... bitmaps)
container
- where we write the resultbitmaps
- to be aggregatedpublic static EWAHCompressedBitmap or(EWAHCompressedBitmap... bitmaps)
bitmaps
- input bitmapspublic static EWAHCompressedBitmap xor(EWAHCompressedBitmap... bitmaps)
bitmaps
- input bitmapspublic static EWAHCompressedBitmap or(Iterator<EWAHCompressedBitmap> bitmaps)
bitmaps
- input bitmapspublic static EWAHCompressedBitmap xor(Iterator<EWAHCompressedBitmap> bitmaps)
bitmaps
- input bitmapspublic static <T extends LogicalElement> T xor(T... bitmaps)
T
- a class extending LogicalElement (like a compressed
bitmap)bitmaps
- bitmaps to be aggregatedpublic 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 aggregatedCopyright © 2015. All Rights Reserved.