public interface QueryBuilder extends NameHelper
QueryBuilder builder = element -> store -> Set<String>primitiveDescriptors, primitiveNames, primitiveTypes| Modifier and Type | Method and Description |
|---|---|
default QueryFunction<Store,String> |
get(AnnotatedElement element)
direct values indexed for
AnnotatedElement |
default QueryFunction<Store,String> |
get(Collection<String> keys)
direct values indexed for
keys String collection |
default QueryFunction<Store,String> |
get(String key)
direct values indexed for
key String |
default QueryFunction<Store,String> |
getAll(Collection<String> keys)
transitive values indexed for
keys String collection, not including keys |
default QueryFunction<Store,String> |
getAllIncluding(Collection<String> keys)
transitive values indexed for
keys String collection, including keys |
default QueryFunction<Store,String> |
getAllIncluding(String key)
transitive values indexed for
key String, including key |
default String |
index() |
default QueryFunction<Store,String> |
of(AnnotatedElement... elements)
transitive values indexed for
AnnotatedElement varargs, not including |
default QueryFunction<Store,String> |
of(Collection<String> keys)
transitive values indexed for
keys String collection, not including keys |
default <T> QueryFunction<Store,T> |
of(QueryFunction queryFunction)
transitive
QueryFunction.getAll(java.util.function.Function) values by applying this get(String) on each queryFunction value, including |
default QueryFunction<Store,String> |
of(Set<? extends AnnotatedElement> elements)
transitive values indexed for
AnnotatedElement set, not including |
default QueryFunction<Store,String> |
of(String key)
transitive values indexed for
key String, not including key |
default QueryFunction<Store,String> |
with(AnnotatedElement... keys)
transitive values indexed for
AnnotatedElements varargs, not including. |
default QueryFunction<Store,String> |
with(Collection<String> keys)
transitive values indexed for
keys String collection, not including keys. |
default QueryFunction<Store,String> |
with(Set<? extends AnnotatedElement> keys)
transitive values indexed for
AnnotatedElements set, not including. |
default QueryFunction<Store,String> |
with(String key)
transitive values indexed for
key String, not including key. |
default String index()
default QueryFunction<Store,String> get(String key)
key String
safely returns an empty Set<String> if index/key not found
this is the only function accessing the Store multimap
default QueryFunction<Store,String> get(AnnotatedElement element)
AnnotatedElementdefault QueryFunction<Store,String> get(Collection<String> keys)
keys String collectiondefault QueryFunction<Store,String> getAll(Collection<String> keys)
keys String collection, not including keysdefault QueryFunction<Store,String> getAllIncluding(String key)
key String, including keydefault QueryFunction<Store,String> getAllIncluding(Collection<String> keys)
keys String collection, including keysdefault QueryFunction<Store,String> of(Collection<String> keys)
keys String collection, not including keysdefault QueryFunction<Store,String> of(String key)
key String, not including keydefault QueryFunction<Store,String> of(AnnotatedElement... elements)
AnnotatedElement varargs, not includingdefault QueryFunction<Store,String> of(Set<? extends AnnotatedElement> elements)
AnnotatedElement set, not includingdefault QueryFunction<Store,String> with(Collection<String> keys)
default QueryFunction<Store,String> with(String key)
default QueryFunction<Store,String> with(AnnotatedElement... keys)
AnnotatedElements varargs, not including. same as of(AnnotatedElement...)
default QueryFunction<Store,String> with(Set<? extends AnnotatedElement> keys)
AnnotatedElements set, not including. same as of(Set)
default <T> QueryFunction<Store,T> of(QueryFunction queryFunction)
QueryFunction.getAll(java.util.function.Function) values by applying this get(String) on each queryFunction value, includingCopyright © 2021. All rights reserved.