Package com.yahoo.document.select.rule
Class NowNode
java.lang.Object
com.yahoo.document.select.rule.NowNode
- All Implemented Interfaces:
ExpressionNode
- Author:
- Ulf Lilleengen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPerform visitation of this node.Evaluate the content of this node based on document object, and return that value.getBucketSet(BucketIdFactory factory) Returns the set of bucket ids covered by this node.toString()
-
Constructor Details
-
NowNode
public NowNode()
-
-
Method Details
-
getBucketSet
Description copied from interface:ExpressionNodeReturns the set of bucket ids covered by this node.- Specified by:
getBucketSetin interfaceExpressionNode- Parameters:
factory- the factory used by the current application
-
evaluate
Description copied from interface:ExpressionNodeEvaluate the content of this node based on document object, and return that value.- Specified by:
evaluatein interfaceExpressionNode- Parameters:
context- the document to evaluate over- Returns:
- the value of this
-
toString
-
accept
Description copied from interface:ExpressionNodePerform visitation of this node.- Specified by:
acceptin interfaceExpressionNode- Parameters:
visitor- the visitor that wishes to visit the node
-