Package org.reflections.util
Interface QueryBuilder
- All Superinterfaces:
NameHelper
- All Known Implementing Classes:
Scanners
builder for store query
QueryBuilder builder = element -> store -> Set<String>
-
Field Summary
Fields inherited from interface org.reflections.util.NameHelper
primitiveDescriptors, primitiveNames, primitiveTypes
-
Method Summary
Modifier and TypeMethodDescriptiondefault QueryFunction
<Store, String> get
(AnnotatedElement element) direct values indexed forAnnotatedElement
default QueryFunction
<Store, String> direct values indexed forkey
Stringdefault QueryFunction
<Store, String> get
(Collection<String> keys) direct values indexed forkeys
String collectiondefault QueryFunction
<Store, String> getAll
(Collection<String> keys) transitive values indexed forkeys
String collection, not includingkeys
default QueryFunction
<Store, String> getAllIncluding
(String key) transitive values indexed forkey
String, includingkey
default QueryFunction
<Store, String> getAllIncluding
(Collection<String> keys) transitive values indexed forkeys
String collection, includingkeys
default String
index()
default QueryFunction
<Store, String> of
(AnnotatedElement... elements) transitive values indexed forAnnotatedElement
varargs, not includingdefault QueryFunction
<Store, String> transitive values indexed forkey
String, not includingkey
default QueryFunction
<Store, String> of
(Collection<String> keys) transitive values indexed forkeys
String collection, not includingkeys
default QueryFunction
<Store, String> of
(Set<? extends AnnotatedElement> elements) transitive values indexed forAnnotatedElement
set, not includingdefault <T> QueryFunction
<Store, T> of
(QueryFunction queryFunction) transitiveQueryFunction.getAll(java.util.function.Function)
values by applying thisget(String)
on eachqueryFunction
value, includingdefault QueryFunction
<Store, String> with
(AnnotatedElement... keys) transitive values indexed forAnnotatedElements
varargs, not including.default QueryFunction
<Store, String> transitive values indexed forkey
String, not includingkey
.default QueryFunction
<Store, String> with
(Collection<String> keys) transitive values indexed forkeys
String collection, not includingkeys
.default QueryFunction
<Store, String> with
(Set<? extends AnnotatedElement> keys) transitive values indexed forAnnotatedElements
set, not including.
-
Method Details
-
index
-
get
direct values indexed forkey
Stringsafely returns an empty
Set<String>
ifindex/key
not foundthis is the only function accessing the
Store
multimap -
get
direct values indexed forAnnotatedElement
-
get
direct values indexed forkeys
String collection -
getAll
transitive values indexed forkeys
String collection, not includingkeys
-
getAllIncluding
transitive values indexed forkey
String, includingkey
-
getAllIncluding
transitive values indexed forkeys
String collection, includingkeys
-
of
transitive values indexed forkeys
String collection, not includingkeys
-
of
transitive values indexed forkey
String, not includingkey
-
of
transitive values indexed forAnnotatedElement
varargs, not including -
of
transitive values indexed forAnnotatedElement
set, not including -
with
-
with
-
with
transitive values indexed forAnnotatedElements
varargs, not including.same as
of(AnnotatedElement...)
-
with
transitive values indexed forAnnotatedElements
set, not including.same as
of(Set)
-
of
transitiveQueryFunction.getAll(java.util.function.Function)
values by applying thisget(String)
on eachqueryFunction
value, including
-