public class PgqlCreatePgTranslator
extends java.lang.Object
Constructor and Description |
---|
PgqlCreatePgTranslator() |
Modifier and Type | Method and Description |
---|---|
static int |
getPGSchemaType(java.lang.String columnType)
Returns the PG schema type that corresponds to given column type
|
static java.lang.String |
getPGSchemaValueExpression(java.lang.String columnType)
Returns the PG schema expression that can be used to populate
v, vn or vt column according to the given column type
|
static java.lang.StringBuilder |
getValueColumnsTranslation(java.lang.String columnType)
Returns a SQL select expression to populate v, vn
and vt columns depending on the column type
|
static java.lang.String |
getVColumnTranslation(java.lang.String columnType)
Returns a SQL select expression to populate V column from
V, VN and VT columns depending on the column type
|
static PgqlSqlCreateTrans |
translateCreatePropertyGraph(oracle.pgql.lang.ddl.propertygraph.CreatePropertyGraph cpg,
QueryContext ctx)
Main translation method for PGQL CREATE PROPERTY GRAPH.
|
public static int getPGSchemaType(java.lang.String columnType)
columnType
- the column typepublic static java.lang.String getPGSchemaValueExpression(java.lang.String columnType)
columnType
- the column typepublic static java.lang.StringBuilder getValueColumnsTranslation(java.lang.String columnType)
columnType
- the column typepublic static java.lang.String getVColumnTranslation(java.lang.String columnType)
columnType
- the column typepublic static PgqlSqlCreateTrans translateCreatePropertyGraph(oracle.pgql.lang.ddl.propertygraph.CreatePropertyGraph cpg, QueryContext ctx)
cpg
- the create property graph that should be translatedctx
- the Query contextCopyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.