TYPE
- The concrete type of the data that can be read using the
the DataReader
that created this QueryCondition.public interface QueryCondition<TYPE> extends ReadCondition<TYPE>
ReadCondition
objects that
allow the application to also specify a filter on the locally available
data.
The query (queryExpression) is similar to an SQL WHERE clause can be
parameterized by arguments that are dynamically changeable by the
setQueryParameters(List)
operation.
This feature is optional. In the cases where it is not supported, the
DataReader.createQueryCondition(String, List)
will return null.
The triggerValue of a QueryCondition is like that of a ReadCondition with
the additional condition that the data associated with at least one sample
must be such that the queryExpression evaluates to true.Modifier and Type | Method and Description |
---|---|
String |
getQueryExpression()
This operation returns the queryExpression associated with the
QueryCondition.
|
List<String> |
getQueryParameters()
This operation returns the queryParameters associated with the
QueryCondition.
|
void |
setQueryParameters(List<String> queryParameters)
This operation changes the queryParameters associated with the
QueryCondition.
|
close, getInstanceStates, getParent, getSampleStates, getViewStates
getTriggerValue
getEnvironment
String getQueryExpression()
getQueryParameters()
List<String> getQueryParameters()
setQueryParameters(List)
, or if
setQueryParameters(List)
was never called, the arguments
specified when the QueryCondition was created.setQueryParameters(List)
,
getQueryExpression()
void setQueryParameters(List<String> queryParameters)
queryParameters
- a container, into which this method will
place its result.getQueryParameters()
Copyright © 2014. All rights reserved.