Class ExistsNode
java.lang.Object
org.eclipse.ditto.rql.model.predicates.ast.ExistsNode
- All Implemented Interfaces:
Node
Implements an exists node. Such a node only has one parameter that is the field name to check for existence.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(PredicateVisitor predicateVisitor) PredicateVisitor Pattern.booleanRetrieve the property of this exists node.inthashCode()toString()
-
Constructor Details
-
ExistsNode
Constructor. Creates a new node with the given property.- Parameters:
property- property of this exists node.
-
-
Method Details
-
getProperty
Retrieve the property of this exists node.- Returns:
- the property of the exists node.
-
accept
Description copied from interface:NodePredicateVisitor Pattern. Takes a visitor as parameter and calls the corresponding visit method with itself as parameter. -
equals
-
hashCode
public int hashCode() -
toString
-