Package com.arcadedb.query.sql.parser
Class NearOperator
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.NearOperator
-
- All Implemented Interfaces:
BinaryCompareOperator
,Node
public class NearOperator extends SimpleNode implements BinaryCompareOperator
-
-
Field Summary
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
children, firstToken, id, lastToken, parent, parser, value
-
-
Constructor Summary
Constructors Constructor Description NearOperator(int id)
NearOperator(SqlParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NearOperator
copy()
boolean
equals(Object obj)
boolean
execute(DatabaseInternal database, Object left, Object right)
int
hashCode()
boolean
supportsBasicCalculation()
String
toString()
-
Methods inherited from class com.arcadedb.query.sql.parser.SimpleNode
childrenAccept, dump, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.arcadedb.query.sql.parser.BinaryCompareOperator
isRangeOperator
-
-
-
-
Constructor Detail
-
NearOperator
public NearOperator(int id)
-
NearOperator
public NearOperator(SqlParser p, int id)
-
-
Method Detail
-
execute
public boolean execute(DatabaseInternal database, Object left, Object right)
- Specified by:
execute
in interfaceBinaryCompareOperator
-
toString
public String toString()
- Overrides:
toString
in classSimpleNode
-
supportsBasicCalculation
public boolean supportsBasicCalculation()
- Specified by:
supportsBasicCalculation
in interfaceBinaryCompareOperator
-
copy
public NearOperator copy()
- Specified by:
copy
in interfaceBinaryCompareOperator
- Overrides:
copy
in classSimpleNode
-
-