T - resourcepublic interface Indexer<T> extends Store<T>
| Modifier and Type | Method and Description |
|---|---|
List<T> |
byIndex(String indexName,
String indexKey)
Lists objects that match on the named indexing function with the exact key.
|
List<T> |
index(String indexName,
T obj)
Retrieve list of obejcts that match on the named indexing function.
|
List<String> |
indexKeys(String indexName,
String indexKey)
Returns the set of keys that match on the named indexing function.
|
List<T> index(String indexName, T obj)
indexName - specific indexing functionobj - objectList<String> indexKeys(String indexName, String indexKey)
indexName - specific indexing functionindexKey - specific index keyCopyright © 2015–2019 Red Hat. All rights reserved.