Package oracle.pg.rdbms.pgql
Interface PgqlSqlModifyTrans
-
- All Superinterfaces:
PgqlSqlTrans
public interface PgqlSqlModifyTrans extends PgqlSqlTrans
Holds the SQL translation of a PGQL modify.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PgqlSqlModifyTrans.ModificationType
-
Nested classes/interfaces inherited from interface oracle.pg.rdbms.pgql.PgqlSqlTrans
PgqlSqlTrans.TranslationType
-
-
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 clausejava.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 resultsjava.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 elementsjava.util.List<PgqlSqlModifyTrans.ModificationType>
getModifyTypes()
Returns the list of modify types for corresponding modify translationsjava.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 tablesjava.lang.String[]
getTemporaryTableNames()
A list of temporary tables that should be created for each corresponding modify translation-
Methods inherited from interface oracle.pg.rdbms.pgql.PgqlSqlTrans
getTranslationType
-
-
-
-
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
-
-