public class PgqlSqlModifyTransImpl extends java.lang.Object implements PgqlSqlModifyTrans
PgqlSqlModifyTrans.ModificationTypePgqlSqlTrans.TranslationType| Constructor and Description |
|---|
PgqlSqlModifyTransImpl(java.lang.String[] matchTranslation, java.util.List<java.lang.Object> matchBvList, java.util.List<PgqlSqlModifyTrans.ModificationType> modifyTypes, java.util.List<java.lang.Object[]> modifyTranslations, java.lang.String[] temporaryTableNames, java.util.List<java.util.List<java.lang.Object>> modifyBvLists)
Constructor
|
| Modifier and Type | Method and 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
|
PgqlSqlTrans.TranslationType |
getTranslationType() |
public PgqlSqlModifyTransImpl(java.lang.String[] matchTranslation,
java.util.List<java.lang.Object> matchBvList,
java.util.List<PgqlSqlModifyTrans.ModificationType> modifyTypes,
java.util.List<java.lang.Object[]> modifyTranslations,
java.lang.String[] temporaryTableNames,
java.util.List<java.util.List<java.lang.Object>> modifyBvLists)
matchTranslation - SQL translation of the match clausematchBvList - List of match bind valuesmodifyTypes - List of modify typesmodifyTranslations - List of translations of modify clausestemporaryTableNames - List of temporary tables that should be created to translate modify clausesmodifyBvLists - Lists of modify bind valuespublic java.util.List<java.lang.Object> getMatchBvList()
PgqlSqlModifyTransgetMatchBvList in interface PgqlSqlModifyTranspublic java.lang.String[] getMatchTranslation()
PgqlSqlModifyTransgetMatchTranslation in interface PgqlSqlModifyTranspublic java.util.List<java.util.List<java.lang.Object>> getModifyBvLists()
PgqlSqlModifyTransgetModifyBvLists in interface PgqlSqlModifyTranspublic java.util.List<PgqlSqlModifyTrans.ModificationType> getModifyTypes()
PgqlSqlModifyTransgetModifyTypes in interface PgqlSqlModifyTranspublic java.util.List<java.lang.Object[]> getSqlModifyTranslations()
PgqlSqlModifyTransgetSqlModifyTranslations in interface PgqlSqlModifyTranspublic java.lang.String[] getTemporaryTableNames()
PgqlSqlModifyTransgetTemporaryTableNames in interface PgqlSqlModifyTranspublic PgqlSqlTrans.TranslationType getTranslationType()
getTranslationType in interface PgqlSqlTrans