Interface PgqlSqlCreateTrans

  • All Superinterfaces:
    PgqlSqlTrans

    public interface PgqlSqlCreateTrans
    extends PgqlSqlTrans
    Holds the SQL translation of a PGQL create.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • getGraphSchema

        java.lang.String getGraphSchema()
        Returns the graph schema for the PGQL to SQL translation.
        Returns:
        the graph schema
      • getGraphName

        java.lang.String getGraphName()
        Returns the graph name for the PGQL to SQL translation.
        Returns:
        the graph name
      • getCreateTranslation

        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
        Returns:
        the SQL query strings to translate CREATE PROPERTY GRAPH