public interface Query extends Serializable
Parameters, where is each parameter is indexed by its
name.| Modifier and Type | Method and Description |
|---|---|
Parameter |
getParameter(String paramName)
Returns the parameter with the specified name, or
null if this
query contains no parameter with that name. |
boolean |
hasParameter(String paramName)
Returns
true if this query contains a parameter with the
specified name. |
boolean |
isEmpty()
Returns
true if this query contains no parameters. |
Set<String> |
parameterNames()
Return the names of the parameters in this query.
|
int |
size()
Returns the number of parameters in this query.
|
boolean isEmpty()
true if this query contains no parameters.true if this query contains no parametersint size()
Integer.MAX_VALUE parameters, returns
Integer.MAX_VALUE.boolean hasParameter(String paramName)
true if this query contains a parameter with the
specified name.paramName - the name of the parametertrue if this query contains a parameter with the
specified name.Parameter getParameter(String paramName)
null if this
query contains no parameter with that name.paramName - the name of the parameter that is to be returnednull if this
query does not contain a parameter with the specified nameNullPointerException - if the specified key is nullSet<String> parameterNames()
Copyright (C) 2014, Center for Open Middleware