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
|
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrAvg n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrCount n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrMax n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrMin n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrSum n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Add n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Div n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Mod n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Mul n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Sub n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.UMin n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.BindVariable n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstBoolean n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstDate n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstDecimal n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstInteger n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstString n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTime n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimestamp n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimestampWithTimezone n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimeWithTimezone n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.ExtractExpression n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Function.Cast n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Function.Exists n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.IfElse n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.IsNull n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.And n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.Not n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.Or n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.PropertyAccess n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Equal n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.GreaterEqual n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Greater n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.LessEqual n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Less n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.NotEqual n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.ScalarSubquery n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.Star n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visit(oracle.pgql.lang.ir.QueryExpression.VarRef n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visitAllDifferent(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visitContains(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visitHasLabel(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visitHasProp(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visitId(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visitInDegree(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visitLabel(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visitLabels(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
java.lang.String[][] childSQL,
boolean isRoot,
boolean negated) |
ExprTranslation |
visitOutDegree(oracle.pgql.lang.ir.QueryExpression.FunctionCall n,
int[] childTypeFams,
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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrAvg n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrCount n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrMax n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrMin n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Aggregation.AggrSum n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Add n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Div n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Mod n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Mul n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.Sub n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.ArithmeticExpression.UMin n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.BindVariable n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstBoolean n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstDate n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstDecimal n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstInteger n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstString n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTime n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimestamp n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimestampWithTimezone n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Constant.ConstTimeWithTimezone n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.ExtractExpression n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Function.Cast n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Function.Exists n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.IfElse n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.IsNull n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.And n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.Not n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.LogicalExpression.Or n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.PropertyAccess n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Equal n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.GreaterEqual n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Greater n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.LessEqual n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.Less n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.RelationalExpression.NotEqual n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.ScalarSubquery n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.Star n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated)
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visit(oracle.pgql.lang.ir.QueryExpression.VarRef n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visitAllDifferent(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visitContains(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visitHasLabel(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visitHasProp(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visitId(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visitInDegree(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visitLabel(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visitLabels(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 ExprTranslation visitOutDegree(oracle.pgql.lang.ir.QueryExpression.FunctionCall n, int[] childTypeFams, java.lang.String[][] childSQL, boolean isRoot, boolean negated) throws PgqlToSqlException
n
- the QueryExpression node to visitchildTypeFams
- array of return type families 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 © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.