Package org.infinispan.query.dsl
Interface ParameterContext<Context extends ParameterContext>
-
- All Known Subinterfaces:
Query<T>
@Deprecated public interface ParameterContext<Context extends ParameterContext>
Deprecated.since 10.1. See deprecation note onQueryBuilder
.- Since:
- 9.0
- Author:
- anistor@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Map<String,Object>
getParameters()
Deprecated.Returns the named parameters Map.Context
setParameter(String paramName, Object paramValue)
Deprecated.Sets the value of a named parameter.Context
setParameters(Map<String,Object> paramValues)
Deprecated.Sets multiple named parameters at once.
-
-
-
Method Detail
-
getParameters
Map<String,Object> getParameters()
Deprecated.Returns the named parameters Map.- Returns:
- the named parameters (unmodifiable) or
null
if the query does not have parameters
-
setParameter
Context setParameter(String paramName, Object paramValue)
Deprecated.Sets the value of a named parameter.- Parameters:
paramName
- the parameters name (non-empty and not null)paramValue
- a non-null value- Returns:
- itself
-
-