public class Store extends Object
use the different query methods (getXXX) to query the metadata
the query methods are string based, and does not cause the class loader to define the types
use Reflections.getStore()
to access this store
Modifier | Constructor and Description |
---|---|
protected |
Store() |
|
Store(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<String,String> |
get(String index)
get the multimap object for the given
index , otherwise throws a ReflectionsException |
Iterable<String> |
get(String index,
Iterable<String> keys)
get the values stored for the given
index and keys |
Iterable<String> |
get(String index,
String... keys)
get the values stored for the given
index and keys |
Iterable<String> |
getAll(String index,
Iterable<String> keys)
recursively get the values stored for the given
index and keys , not including keys |
Iterable<String> |
getAll(String index,
String key)
recursively get the values stored for the given
index and keys , not including keys |
com.google.common.collect.Multimap<String,String> |
getOrCreate(String index)
get or create the multimap object for the given
index |
Set<String> |
keySet()
return all indices
|
protected Store()
public Store(Configuration configuration)
public com.google.common.collect.Multimap<String,String> getOrCreate(String index)
index
public com.google.common.collect.Multimap<String,String> get(String index)
index
, otherwise throws a ReflectionsException
public Iterable<String> get(String index, String... keys)
index
and keys
public Iterable<String> get(String index, Iterable<String> keys)
index
and keys
public Iterable<String> getAll(String index, String key)
index
and keys
, not including keysCopyright © 2017. All rights reserved.