public class ExprTransVisitor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ASC_DIR |
static int |
DESC_DIR |
static int |
FILTER_MODE |
static int |
GROUP_BY_MODE |
static int |
ORDER_BY_MODE |
static int |
PROJECT_MODE |
Modifier and Type | Method and Description |
---|---|
static ExprTransVisitor |
getExprTransVisitor(ExprContext eCtx)
Factory method
|
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrAvg n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrCount n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrMax n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrMin n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrSum n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Add n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Div n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Mod n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Mul n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Sub n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.UMin n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.BindVariable n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstBoolean n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstDate n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstDecimal n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstInteger n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstString n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTime n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimestamp n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimestampWithTimezone n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimeWithTimezone n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.ConstNull n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.AllDifferent n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.Cast n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.EdgeLabel n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.HasLabel n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.HasProp n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.Id n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.InDegree n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.OutDegree n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.Regex n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Function.VertexLabels n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.And n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.Not n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.Or n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.PropertyAccess n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Equal n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.GreaterEqual n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Greater n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.LessEqual n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Less n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.NotEqual n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.Star n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
java.lang.String[] |
visit(oracle.pgql.lang.ir.QueryExpression.VarRef n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) |
public static final int ASC_DIR
public static final int DESC_DIR
public static final int FILTER_MODE
public static final int GROUP_BY_MODE
public static final int ORDER_BY_MODE
public static final int PROJECT_MODE
public static ExprTransVisitor getExprTransVisitor(ExprContext eCtx)
eCtx
- context with settings for this translationpublic java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrAvg n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrCount n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrMax n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrMin n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrSum n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Add n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Div n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Mod n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Mul n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Sub n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.UMin n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.BindVariable n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstBoolean n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstDate n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstDecimal n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstInteger n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstString n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTime n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimestamp n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimestampWithTimezone n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimeWithTimezone n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.ConstNull n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated)
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorpublic java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.AllDifferent n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.Cast n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.EdgeLabel n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.HasLabel n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.HasProp n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.Id n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.InDegree n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.OutDegree n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.Regex n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Function.VertexLabels n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.And n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.Not n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.Or n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.PropertyAccess n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Equal n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.GreaterEqual n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Greater n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.LessEqual n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Less n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.NotEqual n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
public java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.Star n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated)
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorpublic java.lang.String[] visit(oracle.pgql.lang.ir.QueryExpression.VarRef n, oracle.pgql.lang.ir.QueryExpression.ExpressionType[] childTypes, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypes
- array of return types for n's childrenchildSQL
- SQL translations for n's childrenisRoot
- true if n is the root of this expressionnegated
- true if n has a NOT ancestorPgqlToSqlException
Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.