public class PgqlSqlCreateTransImpl extends java.lang.Object implements PgqlSqlCreateTrans
PgqlSqlTrans.TranslationType| Constructor and Description |
|---|
PgqlSqlCreateTransImpl(java.lang.String graphSchema, java.lang.String graphName, java.lang.Object[] createTranslation)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
getCreateTranslation()
Returns a series of SQL strings that are used in the translation of a PGQL CREATE PROPERTY GRAPH: 0) A call to opg_apis.create_pg to create PG tables 1) An array of translations to populate Vertex table 2) An array of translations to populate Edge table 3) A couple of translations to populate distinct tables 4) A call to opg_apis.create_pg to create PG indices and triggers
|
java.lang.String |
getGraphName()
Returns the graph name for the PGQL to SQL translation.
|
java.lang.String |
getGraphSchema()
Returns the graph schema for the PGQL to SQL translation.
|
PgqlSqlTrans.TranslationType |
getTranslationType() |
public PgqlSqlCreateTransImpl(java.lang.String graphSchema,
java.lang.String graphName,
java.lang.Object[] createTranslation)
graphSchema - the graph schemagraphName - the graph namecreateTranslation - a couple of insert SQL statements that can be used to populate vertex and edge tablespublic java.lang.Object[] getCreateTranslation()
PgqlSqlCreateTransgetCreateTranslation in interface PgqlSqlCreateTranspublic java.lang.String getGraphName()
PgqlSqlCreateTransgetGraphName in interface PgqlSqlCreateTranspublic java.lang.String getGraphSchema()
PgqlSqlCreateTransgetGraphSchema in interface PgqlSqlCreateTranspublic PgqlSqlTrans.TranslationType getTranslationType()
getTranslationType in interface PgqlSqlTransCopyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.