Package | Description |
---|---|
messif.buckets.impl |
Bucket implementations.
|
messif.buckets.index |
Bucket indexes for improved access.
|
messif.buckets.index.impl |
Implementation of bucket indexes.
|
messif.buckets.storage |
Bucket physical storage support.
|
messif.buckets.storage.impl |
Implementations of physical bucket storage.
|
messif.operations |
Generic classes for data manipulatioin and querying operations.
|
messif.utility |
Various utilities that does not fit anywhere else including
a main class for executing batch files.
|
Modifier and Type | Method and Description |
---|---|
static <T> VirtualStorageBucket<T> |
VirtualStorageBucket.getBucket(long capacity,
long softCapacity,
long lowOccupation,
boolean occupationAsBytes,
Storage<LocalAbstractObject> storage,
IndexComparator<T,LocalAbstractObject> comparator)
Creates a bucket for the given storage and comparator.
|
<C> ModifiableSearch<LocalAbstractObject> |
AlgorithmStorageBucket.search(IndexComparator<? super C,? super LocalAbstractObject> comparator,
C key) |
<C> ModifiableSearch<LocalAbstractObject> |
AlgorithmStorageBucket.search(IndexComparator<? super C,? super LocalAbstractObject> comparator,
C from,
C to) |
<C> ModifiableSearch<LocalAbstractObject> |
AlgorithmStorageBucket.search(IndexComparator<? super C,? super LocalAbstractObject> comparator,
java.util.Collection<? extends C> keys) |
Modifier and Type | Interface and Description |
---|---|
interface |
OperationIndexComparator<K>
A comparison function, which imposes a total ordering on some
collection of keys.
|
Modifier and Type | Class and Description |
---|---|
class |
LocalAbstractObjectOrder
Default orders of
LocalAbstractObject based on attributes. |
Modifier and Type | Field and Description |
---|---|
static IndexComparator<AbstractObjectKey,LocalAbstractObject> |
LocalAbstractObjectOrder.keyToLocalObjectComparator
Index order defined by object keys
|
static IndexComparator<java.lang.Comparable<?>,java.lang.Object> |
LocalAbstractObjectOrder.trivialObjectComparator
Index order defined by the object itself via
Comparable interface. |
Modifier and Type | Method and Description |
---|---|
IndexComparator<C,T> |
OrderedIndex.comparator()
Returns the comparator that defines order of this index.
|
Modifier and Type | Method and Description |
---|---|
<C> Search<T> |
Index.search(IndexComparator<? super C,? super T> comparator,
C key)
Returns a search for objects in this index that have any of the specified keys.
|
<C> ModifiableSearch<T> |
ModifiableIndex.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> Search<T> |
Index.search(IndexComparator<? super C,? super T> comparator,
C from,
C to)
Returns a search for objects in this index that are within the specified key-range.
|
<C> ModifiableSearch<T> |
ModifiableIndex.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> Search<T> |
Index.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys)
Returns a search for objects in this index that have any of the specified keys.
|
<C> ModifiableSearch<T> |
ModifiableIndex.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
Modifier and Type | Method and Description |
---|---|
IndexComparator<K,T> |
AddressStorageIndex.comparator() |
IndexComparator<K,T> |
IntStorageIndex.comparator() |
IndexComparator<K,T> |
LongStorageIndex.comparator() |
IndexComparator<K,T> |
LongStorageMemoryIndex.comparator() |
IndexComparator<K,T> |
LongStorageMemoryIndexStdSer.comparator() |
IndexComparator<? super C,? super T> |
AbstractSearch.getComparator()
Returns the comparator that this search uses on keys.
|
Modifier and Type | Method and Description |
---|---|
<C> ModifiableSearch<T> |
AbstractArrayIndex.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> StorageSearch<T> |
LongStorageMemoryIndex.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> StorageSearch<T> |
LongStorageMemoryIndexStdSer.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> ModifiableSearch<T> |
AbstractArrayIndex.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> StorageSearch<T> |
LongStorageMemoryIndex.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> StorageSearch<T> |
LongStorageMemoryIndexStdSer.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> ModifiableSearch<T> |
AbstractArrayIndex.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
<C> StorageSearch<T> |
LongStorageMemoryIndex.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
<C> StorageSearch<T> |
LongStorageMemoryIndexStdSer.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
Constructor and Description |
---|
AbstractSearch(IndexComparator<? super C,? super T> comparator,
C fromKey,
C toKey)
Creates a new instance of Search for the specified search comparator and lower and upper key bounds.
|
AbstractSearch(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys)
Creates a new instance of Search for the specified search comparator and keys to search.
|
AddressStorageIndex(Storage<T> storage,
IndexComparator<K,T> comparator)
Creates a new instance of AddressStorageIndex for the specified storage.
|
IntStorageIndex(IntStorage<T> storage,
IndexComparator<K,T> comparator)
Creates a new instance of IntStorageIndex for the specified storage.
|
LongStorageIndex(LongStorage<T> storage,
IndexComparator<K,T> comparator)
Creates a new instance of IntStorageIndex for the specified storage.
|
LongStorageMemoryIndex(DiskStorage<T> storage,
IndexComparator<K,T> comparator)
Creates a new instance of LongStorageMemoryIndex for the specified storage.
|
LongStorageMemoryIndexStdSer(DiskStorage<T> storage,
IndexComparator<K,T> comparator)
Creates a new instance of LongStorageMemoryIndex for the specified storage.
|
Modifier and Type | Method and Description |
---|---|
<C> IntStorageSearch<T> |
IntStorageIndexed.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> LongStorageSearch<T> |
LongStorageIndexed.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> StorageSearch<T> |
StorageIndexed.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> IntStorageSearch<T> |
IntStorageIndexed.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> LongStorageSearch<T> |
LongStorageIndexed.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> StorageSearch<T> |
StorageIndexed.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> IntStorageSearch<T> |
IntStorageIndexed.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
<C> LongStorageSearch<T> |
LongStorageIndexed.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
<C> StorageSearch<T> |
StorageIndexed.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
Modifier and Type | Method and Description |
---|---|
boolean |
DatabaseStorage.ParametricColumnConvertor.isColumnCompatible(IndexComparator<?,? super ModifiableParametric> indexComparator) |
boolean |
DatabaseStorage.SearchableColumnConvertor.isColumnCompatible(IndexComparator<?,? super T> indexComparator)
Returns true if the instance created by this convertor is compatible
with the given index comparator.
|
boolean |
DatabaseStorage.FixedValueColumnConvertor.isColumnCompatible(IndexComparator<?,? super T> indexComparator) |
boolean |
DatabaseStorage.BeanPropertyColumnConvertor.isColumnCompatible(IndexComparator<?,? super T> indexComparator) |
<C> IntStorageSearch<T> |
DatabaseStorage.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> LongStorageSearch<T> |
DiskStorage.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> IntStorageSearch<T> |
MemoryStorage.search(IndexComparator<? super C,? super T> comparator,
C key) |
<C> IntStorageSearch<T> |
DatabaseStorage.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> LongStorageSearch<T> |
DiskStorage.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> IntStorageSearch<T> |
MemoryStorage.search(IndexComparator<? super C,? super T> comparator,
C from,
C to) |
<C> IntStorageSearch<T> |
DatabaseStorage.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
<C> LongStorageSearch<T> |
DiskStorage.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
<C> IntStorageSearch<T> |
MemoryStorage.search(IndexComparator<? super C,? super T> comparator,
java.util.Collection<? extends C> keys) |
Modifier and Type | Field and Description |
---|---|
static IndexComparator<java.util.UUID,AbstractOperation> |
AbstractOperation.uuidOperationComparator
Comparator to be used in buckets and storages to index & compare operations according to operation UUID.
|
Modifier and Type | Method and Description |
---|---|
protected <C> int |
SortedArrayData.fullSearch(IndexComparator<C,T> comparator,
C key,
int low,
int high)
Searches a range in this collection for objects that are equal to the specified key.
|