Interface IParameterMap
public interface IParameterMap
A ParameterMap can be used to define the values for parameters of a query.
Call ITextGetRequest.createParameterMap() to create an empty ParameterMap. To add a ParameterMap
to a request, call ITextGetRequest.setParameters(..).
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method can be used to add a single value parameter.voidputCollection(String name, List<?> values) This method can be used to add a collection of values or ranges.voidThis method can be used to add a range parameter.
-
Method Details
-
put
This method can be used to add a single value parameter.- Parameters:
name- The name of the parameter, without the @ signvalue- The value of the parameter
-
putRange
This method can be used to add a range parameter.- Parameters:
name- The name of the parameter, without the @ signstart- The start value of the parameterend- The end value of the parameter
-
putCollection
This method can be used to add a collection of values or ranges. A range can be defined by an array of two items.- Parameters:
name- The name of the parameter, without the @ signvalues- The collection of values or ranges for this parameter
-