public interface ParameterMetadata
Modifier and Type | Method and Description |
---|---|
Set<QueryParameter<?>> |
collectAllParameters() |
Set<Parameter<?>> |
collectAllParametersJpa() |
boolean |
containsReference(QueryParameter parameter) |
Set<String> |
getNamedParameterNames()
Return the names of all named parameters of the query.
|
Collection<QueryParameter> |
getNamedParameters() |
int |
getParameterCount() |
int |
getPositionalParameterCount()
Returns the number of positional parameters.
|
Collection<QueryParameter> |
getPositionalParameters() |
<T> QueryParameter<T> |
getQueryParameter(Integer position) |
<T> QueryParameter<T> |
getQueryParameter(String name) |
boolean |
hasNamedParameters()
Does this parameter set contain any named parameters?
|
boolean |
hasPositionalParameters()
Does this parameter set contain any positional parameters?
|
<T> QueryParameter<T> |
resolve(Parameter<T> param) |
void |
visitRegistrations(Consumer<QueryParameter> action) |
boolean hasNamedParameters()
true
if there are named parameters; false
otherwise.boolean hasPositionalParameters()
true
if there are positional parameters; false
otherwise.Set<QueryParameter<?>> collectAllParameters()
Set<String> getNamedParameterNames()
int getPositionalParameterCount()
<T> QueryParameter<T> getQueryParameter(String name)
<T> QueryParameter<T> getQueryParameter(Integer position)
<T> QueryParameter<T> resolve(Parameter<T> param)
Collection<QueryParameter> getPositionalParameters()
Collection<QueryParameter> getNamedParameters()
int getParameterCount()
boolean containsReference(QueryParameter parameter)
void visitRegistrations(Consumer<QueryParameter> action)
Copyright © 2019 JBoss by Red Hat. All rights reserved.