public class NegationNode extends Object implements ExpressionNode
Constructor and Description |
---|
NegationNode(ExpressionNode node) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Perform visitation of this node.
|
Object |
evaluate(Context context)
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.
|
ExpressionNode |
getNode() |
OrderingSpecification |
getOrdering(int order)
If this document selection implies a specific ordering (using the orderdoc scheme),
return that specification.
|
NegationNode |
setNode(ExpressionNode node) |
String |
toString() |
public NegationNode(ExpressionNode node)
public ExpressionNode getNode()
public NegationNode setNode(ExpressionNode node)
public BucketSet getBucketSet(BucketIdFactory factory)
ExpressionNode
getBucketSet
in interface ExpressionNode
factory
- The factory used by the current application.public Object evaluate(Context context)
ExpressionNode
evaluate
in interface ExpressionNode
context
- The document to evaluate over.public void accept(Visitor visitor)
ExpressionNode
accept
in interface ExpressionNode
visitor
- The visitor that wishes to visit the node.public OrderingSpecification getOrdering(int order)
ExpressionNode
getOrdering
in interface ExpressionNode
order
- The order in which we are looking to traverse the ordering (ASCENDING or DESCENDING)Copyright © 2018. All rights reserved.