
public class OParenthesisBlock extends OBooleanExpression
| Modifier and Type | Field and Description |
|---|---|
protected OBooleanExpression |
subElement |
FALSE, TRUEchildren, firstToken, id, lastToken, parent, parser, value| Constructor and Description |
|---|
OParenthesisBlock(int id) |
OParenthesisBlock(OrientSql p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
OParenthesisBlock |
copy() |
boolean |
equals(Object o) |
boolean |
evaluate(OIdentifiable currentRecord,
OCommandContext ctx) |
boolean |
evaluate(OResult currentRecord,
OCommandContext ctx) |
void |
extractSubQueries(SubQueryCollector collector) |
List<OAndBlock> |
flatten() |
protected List<Object> |
getExternalCalculationConditions() |
List<String> |
getMatchPatternInvolvedAliases() |
protected int |
getNumberOfExternalCalculations() |
int |
hashCode() |
boolean |
isAlwaysTrue()
returns true only if the expression does not need any further evaluation (eg.
|
boolean |
isCacheable() |
boolean |
needsAliases(Set<String> aliases) |
boolean |
refersToParent() |
boolean |
supportsBasicCalculation() |
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
void |
translateLuceneOperator() |
deserialize, deserializeFromOResult, encapsulateInAndBlock, getIndexedFunctionConditions, isEmpty, rewriteIndexChainsAsSubqueries, serialize, transformToUpdateItemchildrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toStringprotected OBooleanExpression subElement
public OParenthesisBlock(int id)
public OParenthesisBlock(OrientSql p, int id)
public boolean evaluate(OIdentifiable currentRecord, OCommandContext ctx)
evaluate in class OBooleanExpressionpublic boolean evaluate(OResult currentRecord, OCommandContext ctx)
evaluate in class OBooleanExpressionpublic void toString(Map<Object,Object> params, StringBuilder builder)
toString in class SimpleNodepublic boolean supportsBasicCalculation()
supportsBasicCalculation in class OBooleanExpressionprotected int getNumberOfExternalCalculations()
getNumberOfExternalCalculations in class OBooleanExpressionprotected List<Object> getExternalCalculationConditions()
getExternalCalculationConditions in class OBooleanExpressionpublic List<OAndBlock> flatten()
flatten in class OBooleanExpressionpublic boolean needsAliases(Set<String> aliases)
needsAliases in class OBooleanExpressionpublic OParenthesisBlock copy()
copy in class OBooleanExpressionpublic void extractSubQueries(SubQueryCollector collector)
extractSubQueries in class OBooleanExpressionpublic boolean refersToParent()
refersToParent in class OBooleanExpressionpublic List<String> getMatchPatternInvolvedAliases()
getMatchPatternInvolvedAliases in class OBooleanExpressionpublic void translateLuceneOperator()
translateLuceneOperator in class OBooleanExpressionpublic boolean isCacheable()
isCacheable in class OBooleanExpressionpublic boolean isAlwaysTrue()
OBooleanExpressionisAlwaysTrue in class OBooleanExpressionCopyright © 2009–2025 OrientDB. All rights reserved.