Top Fields Constructors Methods
org.hibernate.query.procedure.internal

public Class ProcedureParameterMetadata

extends Object
implements ParameterMetadata
Class Inheritance
All Implemented Interfaces
org.hibernate.query.ParameterMetadata
Imports
java.util.ArrayList, .Collection, .Collections, .HashSet, .LinkedHashSet, .List, .Set, java.util.function.Consumer, java.util.stream.Collectors, javax.persistence.Parameter, org.hibernate.procedure.internal.ProcedureCallImpl, org.hibernate.procedure.spi.ParameterRegistrationImplementor, .ParameterStrategy, org.hibernate.query.ParameterMetadata, .QueryParameter, org.hibernate.query.procedure.ProcedureParameter, org.hibernate.query.procedure.spi.ProcedureParameterImplementor

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private List<ProcedureParameterImplementor<T>>
private ParameterStrategy
private final ProcedureCallImpl<R>
procedureCall

Deprecated as a consequence of ProcedureCallImpl being deprecated.

Constructor Summary

AccessConstructor and Description
public
ProcedureParameterMetadata(ProcedureCallImpl<R> procedureCall)

Deprecated as a consequence of ProcedureCallImpl being deprecated.

Method Summary

Modifier and TypeMethod and Description
public Set<QueryParameter<?>>
public Set<Parameter<?>>
public boolean
public Set<String>
getNamedParameterNames()

Implements org.hibernate.query.ParameterMetadata.getNamedParameterNames.

Return the names of all named parameters of the query.
public Collection<QueryParameter<T>>
public int
public ParameterStrategy
public int
public Collection<QueryParameter<T>>
public <T> ParameterRegistrationImplementor<T>
public <T> ParameterRegistrationImplementor<T>
public boolean
hasNamedParameters()

Implements org.hibernate.query.ParameterMetadata.hasNamedParameters.

Does this parameter set contain any named parameters?
public boolean
hasPositionalParameters()

Implements org.hibernate.query.ParameterMetadata.hasPositionalParameters.

Does this parameter set contain any positional parameters?
public void
public <T> ProcedureParameterImplementor<T>
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parametersback to summary
private List<ProcedureParameterImplementor<T>> parameters
parameterStrategyback to summary
private ParameterStrategy parameterStrategy
procedureCallback to summary
private final ProcedureCallImpl<R> procedureCall

Deprecated

as a consequence of ProcedureCallImpl being deprecated. See corresponding docs for further information.

Constructor Detail

ProcedureParameterMetadataback to summary
public ProcedureParameterMetadata(ProcedureCallImpl<R> procedureCall)

Deprecated

as a consequence of ProcedureCallImpl being deprecated. See corresponding docs for further information.

Method Detail

collectAllParametersback to summary
public Set<QueryParameter<?>> collectAllParameters()

Implements org.hibernate.query.ParameterMetadata.collectAllParameters.

Annotations
@Override
collectAllParametersJpaback to summary
public Set<Parameter<?>> collectAllParametersJpa()

Implements org.hibernate.query.ParameterMetadata.collectAllParametersJpa.

Annotations
@Override
containsReferenceback to summary
public boolean containsReference(QueryParameter<T> parameter)

Implements org.hibernate.query.ParameterMetadata.containsReference.

Annotations
@Override
@SuppressWarnings:SuspiciousMethodCalls
getNamedParameterNamesback to summary
public Set<String> getNamedParameterNames()

Implements org.hibernate.query.ParameterMetadata.getNamedParameterNames.

Doc from org.hibernate.query.ParameterMetadata.getNamedParameterNames.

Return the names of all named parameters of the query.

Returns:Set<String>

the parameter names, in no particular order

Annotations
@Override
getNamedParametersback to summary
public Collection<QueryParameter<T>> getNamedParameters()

Implements org.hibernate.query.ParameterMetadata.getNamedParameters.

Annotations
@Override
getParameterCountback to summary
public int getParameterCount()

Implements org.hibernate.query.ParameterMetadata.getParameterCount.

Annotations
@Override
getParameterStrategyback to summary
public ParameterStrategy getParameterStrategy()
getPositionalParameterCountback to summary
public int getPositionalParameterCount()

Implements org.hibernate.query.ParameterMetadata.getPositionalParameterCount.

Doc from org.hibernate.query.ParameterMetadata.getPositionalParameterCount.

Returns the number of positional parameters.

Returns:int

The number of positional parameters.

Annotations
@Override
getPositionalParametersback to summary
public Collection<QueryParameter<T>> getPositionalParameters()

Implements org.hibernate.query.ParameterMetadata.getPositionalParameters.

Annotations
@Override
getQueryParameterback to summary
public <T> ParameterRegistrationImplementor<T> getQueryParameter(String name)

Implements org.hibernate.query.ParameterMetadata.getQueryParameter.

Annotations
@Override
@SuppressWarnings:unchecked
getQueryParameterback to summary
public <T> ParameterRegistrationImplementor<T> getQueryParameter(Integer position)

Implements org.hibernate.query.ParameterMetadata.getQueryParameter.

Annotations
@Override
@SuppressWarnings:unchecked
hasNamedParametersback to summary
public boolean hasNamedParameters()

Implements org.hibernate.query.ParameterMetadata.hasNamedParameters.

Doc from org.hibernate.query.ParameterMetadata.hasNamedParameters.

Does this parameter set contain any named parameters?

Returns:boolean

true if there are named parameters; false otherwise.

Annotations
@Override
hasPositionalParametersback to summary
public boolean hasPositionalParameters()

Implements org.hibernate.query.ParameterMetadata.hasPositionalParameters.

Doc from org.hibernate.query.ParameterMetadata.hasPositionalParameters.

Does this parameter set contain any positional parameters?

Returns:boolean

true if there are positional parameters; false otherwise.

Annotations
@Override
registerParameterback to summary
public void registerParameter(ProcedureParameterImplementor<T> parameter)
resolveback to summary
public <T> ProcedureParameterImplementor<T> resolve(Parameter<T> param)

Implements org.hibernate.query.ParameterMetadata.resolve.

Annotations
@Override
@SuppressWarnings:unchecked
visitRegistrationsback to summary
public void visitRegistrations(Consumer<QueryParameter<T>> action)

Implements org.hibernate.query.ParameterMetadata.visitRegistrations.

Annotations
@Override