public class FilterOperatorDefinition extends Object
FilterOperator in a ContentFilterDefinition| Modifier and Type | Field and Description |
|---|---|
protected List<com.prosysopc.ua.server.FilterOperatorDefinition.OperandDefinition> |
operandList |
| Constructor and Description |
|---|
FilterOperatorDefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyNodeManager(NodeManagerRoot nodeManager) |
protected Boolean |
asBoolean(Variant value)
Check if a Variant is null or contains a null (isEmpty)
|
protected static int |
compareVariants(Variant left,
Variant right) |
Object |
evaluate(EventData eventData,
Boolean ignoreNull) |
protected Boolean |
eventTypeEquals(UaType filteredEventType,
NodeId filteredEventTypeId,
EventData eventData) |
DiagnosticInfo |
getElementDiagnosticInfo() |
ContentFilterElementResult |
getElementResult() |
protected NodeManagerRoot |
getNodeManager() |
protected boolean |
isNull(Variant value)
Check if a Variant is null or contains a null (isEmpty)
|
static FilterOperatorDefinition |
newOperator(FilterOperator filterOperator,
Structure[] filterOperands,
NodeManagerRoot nodeManagerRoot,
FilterOperatorDefinition[] operatorList)
Create a new filter operator, based on the filterOperator type and operands.
|
boolean |
parse(Structure[] filterOperands,
FilterOperatorDefinition[] operatorList,
NodeManagerRoot nodeManagerRoot) |
protected static boolean |
setTypeOfEventData(EventData eventData,
NodeManagerUaNode nodeManager) |
protected void |
validateOperand(com.prosysopc.ua.server.FilterOperatorDefinition.OperandDefinition operand,
int index) |
protected List<com.prosysopc.ua.server.FilterOperatorDefinition.OperandDefinition> operandList
public static FilterOperatorDefinition newOperator(FilterOperator filterOperator, Structure[] filterOperands, NodeManagerRoot nodeManagerRoot, FilterOperatorDefinition[] operatorList)
Validates and parses the operands into the operator. If operands are invalid, respective status codes are set.
filterOperator - filterOperands - nodeManagerRoot - a node manager reference to use for mapping nodeIds to nodesoperatorList - list of operators that have been already parsed: these can be referred to
from ElementOperandsprotected static boolean setTypeOfEventData(EventData eventData, NodeManagerUaNode nodeManager)
eventData - StatusExceptionpublic Object evaluate(EventData eventData, Boolean ignoreNull)
eventData - the eventData to evaluate the operator againstignoreNull - whether null values in eventData should be ignored, i.e. always return or use
null for thempublic DiagnosticInfo getElementDiagnosticInfo()
public ContentFilterElementResult getElementResult()
public final boolean parse(Structure[] filterOperands, FilterOperatorDefinition[] operatorList, NodeManagerRoot nodeManagerRoot)
filterOperator - the filter operatorfilterOperands - the encoded operands for the operatoroperatorList - protected void applyNodeManager(NodeManagerRoot nodeManager) throws StatusException
StatusExceptionprotected Boolean asBoolean(Variant value)
value - protected Boolean eventTypeEquals(UaType filteredEventType, NodeId filteredEventTypeId, EventData eventData)
filteredEventTypeId - filteredEventType - eventData - protected NodeManagerRoot getNodeManager()
protected boolean isNull(Variant value)
value - protected void validateOperand(com.prosysopc.ua.server.FilterOperatorDefinition.OperandDefinition operand,
int index)
throws StatusException
operand - index - StatusExceptionCopyright © 2026. All rights reserved.