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() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
get(Class<?> scannerClass,
Collection<String> keys)
get the values stored for the given
index and keys |
Set<String> |
get(Class<?> scannerClass,
String key)
get the values stored for the given
index and keys |
Set<String> |
get(String index,
String key)
get the values stored for the given
index and keys |
Set<String> |
getAll(Class<?> scannerClass,
Collection<String> keys)
recursively get the values stored for the given
index and keys , not including keys |
Set<String> |
getAll(Class<?> scannerClass,
String key)
recursively get the values stored for the given
index and keys , not including keys |
Set<String> |
getAllIncluding(Class<?> scannerClass,
Collection<String> keys)
recursively get the values stored for the given
index and keys , including keys |
Set<String> |
keys(String index) |
Set<String> |
keySet()
return all indices
|
boolean |
put(Class<?> scannerClass,
String key,
String value) |
boolean |
put(String index,
String key,
String value) |
Set<String> |
values(String index) |
public Set<String> get(Class<?> scannerClass, String key)
index
and keys
public Set<String> get(String index, String key)
index
and keys
public Set<String> get(Class<?> scannerClass, Collection<String> keys)
index
and keys
public Set<String> getAllIncluding(Class<?> scannerClass, Collection<String> keys)
index
and keys
, including keyspublic Set<String> getAll(Class<?> scannerClass, String key)
index
and keys
, not including keyspublic Set<String> getAll(Class<?> scannerClass, Collection<String> keys)
index
and keys
, not including keysCopyright © 2024. All rights reserved.