public class FilterFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static IFilter |
AlwaysPresent |
Constructor and Description |
---|
FilterFactory() |
Modifier and Type | Method and Description |
---|---|
static IFilter |
deserialize(java.io.DataInput input,
boolean offheap,
boolean oldBfHashOrder) |
static IFilter |
getFilter(long numElements,
double maxFalsePosProbability,
boolean offheap,
boolean oldBfHashOrder) |
static IFilter |
getFilter(long numElements,
int targetBucketsPerElem,
boolean offheap,
boolean oldBfHashOrder) |
static void |
serialize(IFilter bf,
DataOutputPlus output) |
public static final IFilter AlwaysPresent
public static void serialize(IFilter bf, DataOutputPlus output) throws java.io.IOException
java.io.IOException
public static IFilter deserialize(java.io.DataInput input, boolean offheap, boolean oldBfHashOrder) throws java.io.IOException
java.io.IOException
public static IFilter getFilter(long numElements, int targetBucketsPerElem, boolean offheap, boolean oldBfHashOrder)
public static IFilter getFilter(long numElements, double maxFalsePosProbability, boolean offheap, boolean oldBfHashOrder)
Copyright © 2018 The Apache Software Foundation