public interface ExpressionNode
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Perform visitation of this node.
|
Object |
evaluate(Context doc)
Evaluate the content of this node based on document object, and return that value.
|
BucketSet |
getBucketSet(BucketIdFactory factory)
Returns the set of bucket ids covered by this node.
|
OrderingSpecification |
getOrdering(int order)
If this document selection implies a specific ordering (using the orderdoc scheme),
return that specification.
|
Object evaluate(Context doc)
doc
- The document to evaluate over.BucketSet getBucketSet(BucketIdFactory factory)
factory
- The factory used by the current application.OrderingSpecification getOrdering(int order)
order
- The order in which we are looking to traverse the ordering (ASCENDING or DESCENDING)void accept(Visitor visitor)
visitor
- The visitor that wishes to visit the node.Copyright © 2018. All rights reserved.