@ThingworxExtensionApiClass(since={6,6}) public interface IFilter
Query
.Modifier and Type | Method and Description |
---|---|
boolean |
evaluateFilter(ValueCollection row) |
boolean |
evaluateValue(IPrimitiveType value) |
java.lang.String |
getFieldName() |
java.lang.String |
getFilterExpression()
Deprecated.
no replacement
|
void |
resolveFields(DataShapeDefinition fields) |
void |
setFieldName(java.lang.String value) |
void |
setFilterExpression(java.lang.String value)
Deprecated.
no replacement
|
org.json.JSONObject |
toJSON()
Produces JSON representation of this filter. |
@ThingworxExtensionApiMethod(since={6,6}) java.lang.String getFieldName()
@ThingworxExtensionApiMethod(since={6,6}) void setFieldName(java.lang.String value)
@ThingworxExtensionApiMethod(since={6,6}) boolean evaluateFilter(ValueCollection row)
@ThingworxExtensionApiMethod(since={6,6}) boolean evaluateValue(IPrimitiveType value)
@Deprecated @ThingworxExtensionApiMethod(since={6,6}, deprecatedSince={7,1}) java.lang.String getFilterExpression()
setFilterExpression(String)
@Deprecated @ThingworxExtensionApiMethod(since={6,6}, deprecatedSince={7,1}) void setFilterExpression(java.lang.String value)
value
- the filter expressiongetFilterExpression()
@ThingworxExtensionApiMethod(since={6,6}) void resolveFields(DataShapeDefinition fields)
@ThingworxExtensionApiMethod(since={6,6}) org.json.JSONObject toJSON() throws org.json.JSONException
org.json.JSONException
- Upon internal errors