Package | Description |
---|---|
org.apache.jena.atlas.data |
Modifier and Type | Class and Description |
---|---|
class |
DistinctDataBag<E>
This data bag will gather distinct items in memory until a size threshold is passed, at which point it will write
out all of the items to disk using the supplied serializer.
|
class |
DistinctDataNet<E>
This class is like
DistinctDataBag except that you are informed if the item you just
added was known to be distinct. |
Modifier and Type | Method and Description |
---|---|
static <T extends Comparable<? super T>> |
BagFactory.newSortedBag(ThresholdPolicy<T> policy,
SerializationFactory<T> serializerFactory)
Get a sorted data bag.
|
static <T> SortedDataBag<T> |
BagFactory.newSortedBag(ThresholdPolicy<T> policy,
SerializationFactory<T> serializerFactory,
Comparator<T> comparator)
Get a sorted data bag.
|
Licenced under the Apache License, Version 2.0