Interface PgqlSqlModifyTrans

  • All Superinterfaces:
    PgqlSqlTrans

    public interface PgqlSqlModifyTrans
    extends PgqlSqlTrans
    Holds the SQL translation of a PGQL modify.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Object> getMatchBvList()
      Returns a list of bind values that should be used with SQL translation of match clause
      java.lang.String[] getMatchTranslation()
      Returns an array of SQL strings that are used in the PGQL to SQL translation of Match clause: 1) A CREATE statement with the description of the match table 2) An INSERT statement that should be used to populate the table with MATCH results
      java.util.List<java.util.List<java.lang.Object>> getModifyBvLists()
      A list of lists of bind values that should be used with SQL translation of modify elements
      java.util.List<PgqlSqlModifyTrans.ModificationType> getModifyTypes()
      Returns the list of modify types for corresponding modify translations
      java.util.List<java.lang.Object[]> getSqlModifyTranslations()
      Returns a list of a series of SQL strings that are used in the translation of PGQL INSERT/UPDATE/DELETE operation: - For INSERT: 0) An array of translations to insert edges/vertices - For UPDATE: 0) An array of translations to update vertex table 1) An array of translations to update edges table - For DELETE: 0) An array of translations to delete vertices 1) An array of translations to delete edges 2) An array of translations to drop temporary tables
      java.lang.String[] getTemporaryTableNames()
      A list of temporary tables that should be created for each corresponding modify translation
    • Method Detail

      • getMatchTranslation

        java.lang.String[] getMatchTranslation()
        Returns an array of SQL strings that are used in the PGQL to SQL translation of Match clause: 1) A CREATE statement with the description of the match table 2) An INSERT statement that should be used to populate the table with MATCH results
        Returns:
        an array of SQL query strings
      • getMatchBvList

        java.util.List<java.lang.Object> getMatchBvList()
        Returns a list of bind values that should be used with SQL translation of match clause
        Returns:
        the list of bind values
      • getModifyTypes

        java.util.List<PgqlSqlModifyTrans.ModificationType> getModifyTypes()
        Returns the list of modify types for corresponding modify translations
        Returns:
        a list of modify types
      • getSqlModifyTranslations

        java.util.List<java.lang.Object[]> getSqlModifyTranslations()
        Returns a list of a series of SQL strings that are used in the translation of PGQL INSERT/UPDATE/DELETE operation: - For INSERT: 0) An array of translations to insert edges/vertices - For UPDATE: 0) An array of translations to update vertex table 1) An array of translations to update edges table - For DELETE: 0) An array of translations to delete vertices 1) An array of translations to delete edges 2) An array of translations to drop temporary tables
        Returns:
        a list of SQL queries.
      • getTemporaryTableNames

        java.lang.String[] getTemporaryTableNames()
        A list of temporary tables that should be created for each corresponding modify translation
        Returns:
        a list of temporary tables
      • getModifyBvLists

        java.util.List<java.util.List<java.lang.Object>> getModifyBvLists()
        A list of lists of bind values that should be used with SQL translation of modify elements
        Returns:
        the list of lists of bind values