Package | Description |
---|---|
alluxio.collections |
Modifier and Type | Method and Description |
---|---|
boolean |
IndexedSet.contains(IndexDefinition<T> indexDefinition,
Object value)
Whether there is an object with the specified index field value in the set.
|
Set<T> |
IndexedSet.getByField(IndexDefinition<T> indexDefinition,
Object value)
Gets a subset of objects with the specified field value.
|
T |
IndexedSet.getFirstByField(IndexDefinition<T> indexDefinition,
Object value)
Gets the object from the set of objects with the specified field value.
|
int |
IndexedSet.removeByField(IndexDefinition<T> indexDefinition,
Object value)
Removes the subset of objects with the specified index field value.
|
Constructor and Description |
---|
IndexedSet(IndexDefinition<T> primaryIndexDefinition,
IndexDefinition<T>... otherIndexDefinitions)
Constructs a new
IndexedSet instance with at least one field as the index. |
IndexedSet(IndexDefinition<T> primaryIndexDefinition,
IndexDefinition<T>... otherIndexDefinitions)
Constructs a new
IndexedSet instance with at least one field as the index. |
NonUniqueFieldIndex(IndexDefinition<T> indexDefinition)
Constructs a new
NonUniqueFieldIndex instance. |
UniqueFieldIndex(IndexDefinition<T> indexDefinition)
Constructs a new
UniqueFieldIndex instance. |
Copyright © 2023. All Rights Reserved.