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 |
---|---|
java.lang.String |
getQueryExpression()
This operation returns the queryExpression associated with the
QueryCondition.
|
java.util.List<java.lang.String> |
getQueryParameters()
This operation returns the queryParameters associated with the
QueryCondition.
|
void |
setQueryParameters(java.util.List<java.lang.String> queryParameters)
This operation changes the queryParameters associated with the
QueryCondition.
|
close, getInstanceStates, getParent, getSampleStates, getViewStates
getTriggerValue
getEnvironment
java.lang.String getQueryExpression()
getQueryParameters()
java.util.List<java.lang.String> getQueryParameters()
setQueryParameters(List)
, or if
setQueryParameters(List)
was never called, the arguments
specified when the QueryCondition was created.setQueryParameters(List)
,
getQueryExpression()
void setQueryParameters(java.util.List<java.lang.String> queryParameters)
queryParameters
- a container, into which this method will
place its result.getQueryParameters()
Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.