public class PgqlSqlModifyTransImpl extends java.lang.Object implements PgqlSqlModifyTrans
PgqlSqlModifyTrans.ModificationType
PgqlSqlTrans.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()
PgqlSqlModifyTrans
getMatchBvList
in interface PgqlSqlModifyTrans
public java.lang.String[] getMatchTranslation()
PgqlSqlModifyTrans
getMatchTranslation
in interface PgqlSqlModifyTrans
public java.util.List<java.util.List<java.lang.Object>> getModifyBvLists()
PgqlSqlModifyTrans
getModifyBvLists
in interface PgqlSqlModifyTrans
public java.util.List<PgqlSqlModifyTrans.ModificationType> getModifyTypes()
PgqlSqlModifyTrans
getModifyTypes
in interface PgqlSqlModifyTrans
public java.util.List<java.lang.Object[]> getSqlModifyTranslations()
PgqlSqlModifyTrans
getSqlModifyTranslations
in interface PgqlSqlModifyTrans
public java.lang.String[] getTemporaryTableNames()
PgqlSqlModifyTrans
getTemporaryTableNames
in interface PgqlSqlModifyTrans
public PgqlSqlTrans.TranslationType getTranslationType()
getTranslationType
in interface PgqlSqlTrans
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.