Class SubscriptExpression
java.lang.Object
com.inductiveautomation.ignition.common.expressions.AbstractExpression
com.inductiveautomation.ignition.common.expressions.SubscriptExpression
- All Implemented Interfaces:
Expression
This expression takes a reference to an array, dataset, collection, or map and subscripts inside it to
pull out a value, like:
{dataset}[0,5]
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
children, context, updateListener
-
Constructor Summary
ConstructorsConstructorDescriptionSubscriptExpression
(Expression e, Expression sub1) SubscriptExpression
(Expression e, Expression sub1, Expression sub2) -
Method Summary
Modifier and TypeMethodDescriptionexecute()
Compute and return the value of this expressionReturn a human-readable name for the operation that this expression performsMethods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
connect, disconnect, getChildren, setChildren, shutdown, startup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.common.expressions.Expression
getType
-
Constructor Details
-
SubscriptExpression
-
SubscriptExpression
-
SubscriptExpression
public SubscriptExpression()
-
-
Method Details
-
execute
Description copied from interface:Expression
Compute and return the value of this expression- Throws:
ExpressionException
-
getOpName
Description copied from interface:Expression
Return a human-readable name for the operation that this expression performs
-