Modifier and Type | Method and Description |
---|---|
void |
addIndexers(Map<String,Function<ApiType,List<String>>> indexers)
Add additional indexers to the store.
|
List<ApiType> |
byIndex(String indexName,
String indexKey)
ByIndex lists object that match on the named indexing function with the exact key.
|
Map<String,Function<ApiType,List<String>>> |
getIndexers()
Return the indexers registered with the store.
|
List<ApiType> |
index(String indexName,
ApiType obj)
Retrieve list of objects that match on the named indexing function.
|
List<String> |
indexKeys(String indexName,
String indexKey)
IndexKeys returns the set of keys that match on the named indexing function.
|
List<ApiType> index(String indexName, ApiType obj)
indexName
- specific indexing functionList<String> indexKeys(String indexName, String indexKey)
indexName
- specific indexing functionindexKey
- specific index keyList<ApiType> byIndex(String indexName, String indexKey)
indexName
- specific indexing functionindexKey
- specific index keyMap<String,Function<ApiType,List<String>>> getIndexers()
Copyright © 2020. All rights reserved.