Package org.reflections.util
Interface QueryBuilder
-
- All Superinterfaces:
NameHelper
- All Known Implementing Classes:
Scanners
public interface QueryBuilder extends NameHelper
builder for store queryQueryBuilder builder = element -> store -> Set<String>
-
-
Field Summary
-
Fields inherited from interface org.reflections.util.NameHelper
primitiveDescriptors, primitiveNames, primitiveTypes
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default QueryFunction<Store,String>get(AnnotatedElement element)direct values indexed forAnnotatedElementdefault QueryFunction<Store,String>get(String key)direct values indexed forkeyStringdefault QueryFunction<Store,String>get(Collection<String> keys)direct values indexed forkeysString collectiondefault QueryFunction<Store,String>getAll(Collection<String> keys)transitive values indexed forkeysString collection, not includingkeysdefault QueryFunction<Store,String>getAllIncluding(String key)transitive values indexed forkeyString, includingkeydefault QueryFunction<Store,String>getAllIncluding(Collection<String> keys)transitive values indexed forkeysString collection, includingkeysdefault Stringindex()default QueryFunction<Store,String>of(AnnotatedElement... elements)transitive values indexed forAnnotatedElementvarargs, not includingdefault QueryFunction<Store,String>of(String key)transitive values indexed forkeyString, not includingkeydefault QueryFunction<Store,String>of(Collection<String> keys)transitive values indexed forkeysString collection, not includingkeysdefault QueryFunction<Store,String>of(Set<? extends AnnotatedElement> elements)transitive values indexed forAnnotatedElementset, not includingdefault <T> QueryFunction<Store,T>of(QueryFunction queryFunction)transitiveQueryFunction.getAll(java.util.function.Function)values by applying thisget(String)on eachqueryFunctionvalue, includingdefault QueryFunction<Store,String>with(AnnotatedElement... keys)transitive values indexed forAnnotatedElementsvarargs, not including.default QueryFunction<Store,String>with(String key)transitive values indexed forkeyString, not includingkey.default QueryFunction<Store,String>with(Collection<String> keys)transitive values indexed forkeysString collection, not includingkeys.default QueryFunction<Store,String>with(Set<? extends AnnotatedElement> keys)transitive values indexed forAnnotatedElementsset, not including.
-
-
-
Method Detail
-
index
default String index()
-
get
default QueryFunction<Store,String> get(String key)
direct values indexed forkeyStringsafely returns an empty
Set<String>ifindex/keynot foundthis is the only function accessing the
Storemultimap
-
get
default QueryFunction<Store,String> get(AnnotatedElement element)
direct values indexed forAnnotatedElement
-
get
default QueryFunction<Store,String> get(Collection<String> keys)
direct values indexed forkeysString collection
-
getAll
default QueryFunction<Store,String> getAll(Collection<String> keys)
transitive values indexed forkeysString collection, not includingkeys
-
getAllIncluding
default QueryFunction<Store,String> getAllIncluding(String key)
transitive values indexed forkeyString, includingkey
-
getAllIncluding
default QueryFunction<Store,String> getAllIncluding(Collection<String> keys)
transitive values indexed forkeysString collection, includingkeys
-
of
default QueryFunction<Store,String> of(Collection<String> keys)
transitive values indexed forkeysString collection, not includingkeys
-
of
default QueryFunction<Store,String> of(String key)
transitive values indexed forkeyString, not includingkey
-
of
default QueryFunction<Store,String> of(AnnotatedElement... elements)
transitive values indexed forAnnotatedElementvarargs, not including
-
of
default QueryFunction<Store,String> of(Set<? extends AnnotatedElement> elements)
transitive values indexed forAnnotatedElementset, not including
-
with
default QueryFunction<Store,String> with(Collection<String> keys)
-
with
default QueryFunction<Store,String> with(String key)
-
with
default QueryFunction<Store,String> with(AnnotatedElement... keys)
transitive values indexed forAnnotatedElementsvarargs, not including.same as
of(AnnotatedElement...)
-
with
default QueryFunction<Store,String> with(Set<? extends AnnotatedElement> keys)
transitive values indexed forAnnotatedElementsset, not including.same as
of(Set)
-
of
default <T> QueryFunction<Store,T> of(QueryFunction queryFunction)
transitiveQueryFunction.getAll(java.util.function.Function)values by applying thisget(String)on eachqueryFunctionvalue, including
-
-