Class PgqlExecution
- java.lang.Object
 - 
- oracle.pg.rdbms.pgql.PgqlExecution
 
 
- 
- All Implemented Interfaces:
 java.lang.AutoCloseable,PgqlPreparedStatement,PgqlStatement,oracle.pgql.lang.PreparedStatement
public class PgqlExecution extends java.lang.Object implements PgqlPreparedStatement
This class implements thePgqlStatementandPgqlPreparedStatementinterfaces for executing PGQL queries against graphs stored in Oracle Database.Refer to the documentation of these interfaces for further explanation and sample code.
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringUSER_REQUESTED_CANCEL_ERROR 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()Allows to cancel currently running execute operation.voidclose()Releases this PgqlStatment's database and JDBC resources.static voiddeleteCache(PgqlConnection pgqlConn, java.lang.String schema, java.lang.String graphName)booleanexecute(int parallel, int dynamicSampling, java.lang.String matchOptions, java.lang.String options)Executes a PGQL Query, Modify or Create/Drop operation on this instance's property graph.booleanexecute(java.lang.String pgql, int parallel, int dynamicSampling, java.lang.String matchOptions, java.lang.String options)Executes a PGQL Query, Modify or Create/Drop operation on this instance's property graph.booleanexecute(java.lang.String matchOptions, java.lang.String options)Executes a PGQL Query, Modify or Create/Drop operation on this instance's property graph.booleanexecute(java.lang.String pgql, java.lang.String matchOptions, java.lang.String options)Executes a PGQL Query, Modify or Create/Drop operation on this instance's property graph.PgqlResultSetexecuteQuery()Translates this instance's PGQL statement into a SQL statement and executes the SQL against this instance's property graph.PgqlResultSetexecuteQuery(int timeout, int parallel, int dynamicSampling, int maxResults, java.lang.String options)Translates this instance's PGQL statement into a SQL statement and executes the SQL against this instance's property graph.PgqlResultSetexecuteQuery(java.lang.String pgql, int timeout, int parallel, int dynamicSampling, int maxResults, java.lang.String options)Translates this instance's PGQL statement into a SQL statement and executes the SQL against this instance's property graph.PgqlResultSetexecuteQuery(java.lang.String pgql, java.lang.String options)Translates this instance's PGQL statement into a SQL statement and executes the SQL against this instance's property graph.intgetBatchSize()Returns the number of commands that should be batched when executing updatesintgetFetchSize()Returns the the number of rows that should be fetched from the database when more rows are needed for a query result.longgetModifyCount()Returns the number of rows that were modified by last execute operationPgqlResultSetgetResultSet()Returns the current result as a PgqlResultSet object.voidsetArray(int parameterIndex, java.util.List<?> x)Sets the designated parameter to the given Java List value.voidsetBatchSize(int batchSize)Sets the number of commands that should be batched when executing updatesvoidsetBoolean(int parameterIndex, boolean x)Sets the designated parameter to the given Java boolean value.voidsetDate(int parameterIndex, java.time.LocalDate x)Sets the designated parameter to the given Java LocalDate value.voidsetDouble(int parameterIndex, double x)Sets the designated parameter to the given Java double value.voidsetFetchSize(int fetchSize)Sets the number of rows that should be fetched from the database when more rows are needed for a query result.voidsetFloat(int parameterIndex, float x)Sets the designated parameter to the given Java float value.voidsetInt(int parameterIndex, int x)Sets the designated parameter to the given Java int value.voidsetLong(int parameterIndex, long x)Sets the designated parameter to the given Java long value.voidsetString(int parameterIndex, java.lang.String x)Sets the designated parameter to the given Java String value.voidsetTime(int parameterIndex, java.time.LocalTime x)Sets the designated parameter to the given Java LocalTime value.voidsetTimestamp(int parameterIndex, java.sql.Timestamp x)Sets the designated parameter to the given Java Timestamp value.voidsetTimestamp(int parameterIndex, java.time.LocalDateTime x)Sets the designated parameter to the given Java LocalDateTime value.voidsetTimestampWithTimezone(int parameterIndex, java.time.OffsetDateTime x)Sets the designated parameter to the given Java OffsetDateTime value.voidsetTimeWithTimezone(int parameterIndex, java.time.OffsetTime x)Sets the designated parameter to the given Java OffsetTime value.PgqlSqlQueryTranstranslateQuery()Translates this instance's PGQL statement into a SQL statement.PgqlSqlQueryTranstranslateQuery(java.lang.String pgql, int parallel, int dynamicSampling, int maxResults, java.lang.String options)Translates this instance's PGQL statement into a SQL statement.PgqlSqlQueryTranstranslateQuery(java.lang.String pgql, java.lang.String options)Translates this instance's PGQL statement into a SQL statement.PgqlSqlTranstranslateStatement()Translates this instance's PGQL statement into a series of SQL statements.PgqlSqlTranstranslateStatement(int parallel, int dynamicSampling, int maxResults, java.lang.String matchOptions, java.lang.String options)Translates this instance's PGQL statement into a series of SQL statements.PgqlSqlTranstranslateStatement(java.lang.String pgql, int parallel, int dynamicSampling, int maxResults, java.lang.String matchOptions, java.lang.String options)Translates the given PGQL statement into a series of SQL statements.PgqlSqlTranstranslateStatement(java.lang.String matchOptions, java.lang.String options)Translates this instance's PGQL statement into a series of SQL statements.PgqlSqlTranstranslateStatement(java.lang.String pgql, java.lang.String matchOptions, java.lang.String options)Translates the given PGQL statement into a series of SQL statements.- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface oracle.pg.rdbms.pgql.PgqlPreparedStatement
execute, translateQuery 
- 
Methods inherited from interface oracle.pg.rdbms.pgql.PgqlStatement
execute, executeQuery, translateQuery, translateStatement 
 - 
 
 - 
 
- 
- 
Field Detail
- 
USER_REQUESTED_CANCEL_ERROR
public static final java.lang.String USER_REQUESTED_CANCEL_ERROR
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getResultSet
public PgqlResultSet getResultSet()
Returns the current result as a PgqlResultSet object.- Specified by:
 getResultSetin interfacePgqlStatement- Specified by:
 getResultSetin interfaceoracle.pgql.lang.PreparedStatement- Returns:
 - a 
PgqlResultSetobject with the result of the last executed PGQL query, or null if the query last executed PGQL was not a Select statement 
 
- 
getModifyCount
public long getModifyCount()
Description copied from interface:PgqlStatementReturns the number of rows that were modified by last execute operation- Specified by:
 getModifyCountin interfacePgqlStatement- Returns:
 - The number of rows modified
 
 
- 
setBoolean
public void setBoolean(int parameterIndex, boolean x)Sets the designated parameter to the given Java boolean value.- Specified by:
 setBooleanin interfacePgqlPreparedStatement- Specified by:
 setBooleanin interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setDouble
public void setDouble(int parameterIndex, double x)Sets the designated parameter to the given Java double value.- Specified by:
 setDoublein interfacePgqlPreparedStatement- Specified by:
 setDoublein interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setFloat
public void setFloat(int parameterIndex, float x)Sets the designated parameter to the given Java float value.- Specified by:
 setFloatin interfacePgqlPreparedStatement- Specified by:
 setFloatin interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setInt
public void setInt(int parameterIndex, int x)Sets the designated parameter to the given Java int value.- Specified by:
 setIntin interfacePgqlPreparedStatement- Specified by:
 setIntin interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setLong
public void setLong(int parameterIndex, long x)Sets the designated parameter to the given Java long value.- Specified by:
 setLongin interfacePgqlPreparedStatement- Specified by:
 setLongin interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setString
public void setString(int parameterIndex, java.lang.String x)Sets the designated parameter to the given Java String value.- Specified by:
 setStringin interfacePgqlPreparedStatement- Specified by:
 setStringin interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setTimestamp
public void setTimestamp(int parameterIndex, java.sql.Timestamp x)Sets the designated parameter to the given Java Timestamp value.Timestamp values are assumed to be in Coordinated Universal Time (UTC).
- Specified by:
 setTimestampin interfacePgqlPreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setDate
public void setDate(int parameterIndex, java.time.LocalDate x)Sets the designated parameter to the given Java LocalDate value.- Specified by:
 setDatein interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setTime
public void setTime(int parameterIndex, java.time.LocalTime x)Sets the designated parameter to the given Java LocalTime value.- Specified by:
 setTimein interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setTimestamp
public void setTimestamp(int parameterIndex, java.time.LocalDateTime x)Sets the designated parameter to the given Java LocalDateTime value.- Specified by:
 setTimestampin interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setTimeWithTimezone
public void setTimeWithTimezone(int parameterIndex, java.time.OffsetTime x)Sets the designated parameter to the given Java OffsetTime value.- Specified by:
 setTimeWithTimezonein interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setTimestampWithTimezone
public void setTimestampWithTimezone(int parameterIndex, java.time.OffsetDateTime x)Sets the designated parameter to the given Java OffsetDateTime value.- Specified by:
 setTimestampWithTimezonein interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
setArray
public void setArray(int parameterIndex, java.util.List<?> x)Sets the designated parameter to the given Java List value.- Specified by:
 setArrayin interfaceoracle.pgql.lang.PreparedStatement- Parameters:
 parameterIndex- the first parameter is 1, the second is 2, ...x- the parameter value
 
- 
translateQuery
public PgqlSqlQueryTrans translateQuery() throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Translates this instance's PGQL statement into a SQL statement.- Specified by:
 translateQueryin interfacePgqlPreparedStatement- Returns:
 - a 
PgqlSqlQueryTransobject with the SQL translation and column metadata for the provided PGQL query - Throws:
 PgqlToSqlException- if a server-side error occurs during translationoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
translateQuery
public PgqlSqlQueryTrans translateQuery(java.lang.String pgql, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Translates this instance's PGQL statement into a SQL statement.Supported query options are:
USE_RW=F Use CONNECT BY instead of recursive WITH for unbounded path traversals.
MAX_PATH_LEN=n Traverse at most n hops when evaluating unbounded path traversals.
- Specified by:
 translateQueryin interfacePgqlStatement- Parameters:
 pgql- the PGQL query to translateoptions- additional options used to influence query translation- Returns:
 - a 
PgqlSqlQueryTransobject with the SQL translation and column metadata for the provided PGQL query - Throws:
 PgqlToSqlException- if a server-side error occurs during translationoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
translateQuery
public PgqlSqlQueryTrans translateQuery(java.lang.String pgql, int parallel, int dynamicSampling, int maxResults, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Translates this instance's PGQL statement into a SQL statement.Supported query options are:
USE_RW=F Use CONNECT BY instead of recursive WITH for unbounded path traversals.
MAX_PATH_LEN=n Traverse at most n hops when evaluating unbounded path traversals.
- Specified by:
 translateQueryin interfacePgqlStatement- Parameters:
 pgql- the PGQL query to translateparallel- the degree of parallelism to use for query executiondynamicSampling- the value for dynamic samplingmaxResults- the maximum number of rows returnedoptions- additional options used to influence query translation- Returns:
 - a 
PgqlSqlQueryTransobject with the SQL translation and column metadata for the provided PGQL query - Throws:
 PgqlToSqlException- if a server-side error occurs during translationoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
translateStatement
public PgqlSqlTrans translateStatement() throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Description copied from interface:PgqlPreparedStatementTranslates this instance's PGQL statement into a series of SQL statements.- Specified by:
 translateStatementin interfacePgqlPreparedStatement- Returns:
 - the SQL statements and metadata necessary to execute the provided SQL statement
 - Throws:
 PgqlToSqlException- if a server-side error occurs during translationoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
translateStatement
public PgqlSqlTrans translateStatement(java.lang.String matchOptions, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Description copied from interface:PgqlPreparedStatementTranslates this instance's PGQL statement into a series of SQL statements.- Specified by:
 translateStatementin interfacePgqlPreparedStatement- Parameters:
 matchOptions- additional options used to influence query translation and executionoptions- additional options used to influence DDL/DML translation and execution- Returns:
 - the SQL statements and metadata necessary to execute the provided SQL statement
 - Throws:
 PgqlToSqlException- if a server-side error occurs during translationoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
translateStatement
public PgqlSqlTrans translateStatement(java.lang.String pgql, java.lang.String matchOptions, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Description copied from interface:PgqlStatementTranslates the given PGQL statement into a series of SQL statements.- Specified by:
 translateStatementin interfacePgqlStatement- Parameters:
 pgql- the PGQL statement to translatematchOptions- additional options used to influence query translation and executionoptions- additional options used to influence DDL/DML translation and execution- Returns:
 - the SQL statements and metadata necessary to execute the provided SQL statement
 - Throws:
 PgqlToSqlException- if a server-side error occurs during translationoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
translateStatement
public PgqlSqlTrans translateStatement(int parallel, int dynamicSampling, int maxResults, java.lang.String matchOptions, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Description copied from interface:PgqlPreparedStatementTranslates this instance's PGQL statement into a series of SQL statements.- Specified by:
 translateStatementin interfacePgqlPreparedStatement- Parameters:
 parallel- the degree of parallelism to use for query executiondynamicSampling- the value for dynamic samplingmaxResults- the maximum number of rows returnedmatchOptions- additional options used to influence query translation and executionoptions- additional options used to influence DDL/DML translation and execution- Returns:
 - the SQL statements and metadata necessary to execute the provided SQL statement
 - Throws:
 PgqlToSqlException- if a server-side error occurs during translationoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
translateStatement
public PgqlSqlTrans translateStatement(java.lang.String pgql, int parallel, int dynamicSampling, int maxResults, java.lang.String matchOptions, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Description copied from interface:PgqlStatementTranslates the given PGQL statement into a series of SQL statements.- Specified by:
 translateStatementin interfacePgqlStatement- Parameters:
 pgql- the PGQL statement to translateparallel- the degree of parallelism to use for query executiondynamicSampling- the value for dynamic samplingmaxResults- the maximum number of rows returnedmatchOptions- additional options used to influence query translation and executionoptions- additional options used to influence DDL/DML translation and execution- Returns:
 - the SQL statements and metadata necessary to execute the provided SQL statement
 - Throws:
 PgqlToSqlException- if a server-side error occurs during translationoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
executeQuery
public PgqlResultSet executeQuery() throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Translates this instance's PGQL statement into a SQL statement and executes the SQL against this instance's property graph.- Specified by:
 executeQueryin interfacePgqlPreparedStatement- Specified by:
 executeQueryin interfaceoracle.pgql.lang.PreparedStatement- Returns:
 - a 
PgqlResultSetobject with the result of the provided PGQL query - Throws:
 PgqlToSqlException- if a server-side error occurs during translation or SQL executionoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
executeQuery
public PgqlResultSet executeQuery(java.lang.String pgql, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Translates this instance's PGQL statement into a SQL statement and executes the SQL against this instance's property graph.Supported query options are:
USE_RW=F Use CONNECT BY instead of recursive WITH for unbounded path traversals.
MAX_PATH_LEN=n Traverse at most n hops when evaluating unbounded path traversals.
- Specified by:
 executeQueryin interfacePgqlStatement- Parameters:
 pgql- the PGQL query to executeoptions- additional options used to influence query translation and execution- Returns:
 - a 
PgqlResultSetobject with the result of the provided PGQL query - Throws:
 PgqlToSqlException- if a server-side error occurs during translation or SQL executionoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
executeQuery
public PgqlResultSet executeQuery(int timeout, int parallel, int dynamicSampling, int maxResults, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Translates this instance's PGQL statement into a SQL statement and executes the SQL against this instance's property graph.Supported query options are:
USE_RW=F Use CONNECT BY instead of recursive WITH for unbounded path traversals.
MAX_PATH_LEN=n Traverse at most n hops when evaluating unbounded path traversals.
- Specified by:
 executeQueryin interfacePgqlPreparedStatement- Parameters:
 timeout- the number of seconds for query execution to finishparallel- the degree of parallelism to use for query executiondynamicSampling- the value for dynamic samplingmaxResults- the maximum number of rows returnedoptions- additional options used to influence query translation and execution- Returns:
 - a 
PgqlResultSetobject with the result of the provided PGQL query - Throws:
 PgqlToSqlException- if a server-side error occurs during translation or SQL executionoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
executeQuery
public PgqlResultSet executeQuery(java.lang.String pgql, int timeout, int parallel, int dynamicSampling, int maxResults, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlException
Translates this instance's PGQL statement into a SQL statement and executes the SQL against this instance's property graph.Supported query options are:
USE_RW=F Use CONNECT BY instead of recursive WITH for unbounded path traversals.
MAX_PATH_LEN=n Traverse at most n hops when evaluating unbounded path traversals.
- Specified by:
 executeQueryin interfacePgqlStatement- Parameters:
 pgql- the PGQL query to executetimeout- the number of seconds for query execution to finishparallel- the degree of parallelism to use for query executiondynamicSampling- the value for dynamic samplingmaxResults- the maximum number of rows returnedoptions- additional options used to influence query translation and execution- Returns:
 - a 
PgqlResultSetobject with the result of the provided PGQL query - Throws:
 PgqlToSqlException- if a server-side error occurs during translation or SQL executionoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
execute
public boolean execute(java.lang.String matchOptions, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlExceptionExecutes a PGQL Query, Modify or Create/Drop operation on this instance's property graph.Supported query options (matchOptions) are the same as those for executeQuery.
Supported modify options are:
STREAMING=T Use result sets instead of temporary tables to perform update.
AUTO_COMMIT=F Do not commit after performing the modify operation.
DELETE_CASCADE=F Do not delete incoming/outgoing edges when deleting a vertex.
- Specified by:
 executein interfacePgqlPreparedStatement- Parameters:
 matchOptions- additional options used to influence query translation and executionoptions- additional options used to influence modify translation and execution- Returns:
 - true if the provided PGQL query is a select, false for other statements
 - Throws:
 PgqlToSqlException- if a server-side error occurs during translation or SQL executionoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
execute
public boolean execute(java.lang.String pgql, java.lang.String matchOptions, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlExceptionExecutes a PGQL Query, Modify or Create/Drop operation on this instance's property graph.Supported query options (matchOptions) are the same as those for executeQuery.
Supported modify options are:
STREAMING=T Use result sets instead of temporary tables to perform the update.
AUTO_COMMIT=F Do not commit after performing the modify operation.
DELETE_CASCADE=F Do not delete incoming/outgoing edges when deleting a vertex.
- Specified by:
 executein interfacePgqlStatement- Parameters:
 pgql- the PGQL to executematchOptions- additional options used to influence query translation and executionoptions- additional options used to influence modify translation and execution- Returns:
 - true if the provided PGQL query is a select, false for other statements
 - Throws:
 PgqlToSqlException- if a server-side error occurs during translation or SQL executionoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
execute
public boolean execute(int parallel, int dynamicSampling, java.lang.String matchOptions, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlExceptionExecutes a PGQL Query, Modify or Create/Drop operation on this instance's property graph.Supported query options (matchOptions) are the same as those for executeQuery.
Supported modify options are:
STREAMING=T Use result sets instead of temporary tables to perform the update.
AUTO_COMMIT=F Do not commit after performing the modify operation.
DELETE_CASCADE=F Do not delete incoming/outgoing edges when deleting a vertex.
- Specified by:
 executein interfacePgqlPreparedStatement- Parameters:
 parallel- the degree of parallelism to use for query and modify executiondynamicSampling- the value for dynamic samplingmatchOptions- additional options used to influence query translation and executionoptions- additional options used to influence modify translation and execution- Returns:
 - true if the provided PGQL query is a select, false for other statements
 - Throws:
 PgqlToSqlException- if a server-side error occurs during translation or SQL executionoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
execute
public boolean execute(java.lang.String pgql, int parallel, int dynamicSampling, java.lang.String matchOptions, java.lang.String options) throws PgqlToSqlException, oracle.pgql.lang.PgqlExceptionExecutes a PGQL Query, Modify or Create/Drop operation on this instance's property graph.Supported query options (matchOptions) are the same as those for executeQuery.
Supported modify options are:
STREAMING=T Use result sets instead of temporary tables to perform the update.
AUTO_COMMIT=F Do not commit after performing the modify operation.
DELETE_CASCADE=F Do not delete incoming/outgoing edges when deleting a vertex.
- Specified by:
 executein interfacePgqlStatement- Parameters:
 pgql- the PGQL modify to executeparallel- the degree of parallelism to use for query and update executiondynamicSampling- the value for dynamic samplingmatchOptions- additional options used to influence query translation and executionoptions- additional options used to influence modify translation and execution- Returns:
 - true if the provided PGQL query is a select, false for other statements
 - Throws:
 PgqlToSqlException- if a server-side error occurs during translation or SQL executionoracle.pgql.lang.PgqlException- if a server-side error occurs or this method is called on a closed Statement
 
- 
setBatchSize
public void setBatchSize(int batchSize)
Sets the number of commands that should be batched when executing updates- Specified by:
 setBatchSizein interfacePgqlStatement- Parameters:
 batchSize- the update batch size
 
- 
setFetchSize
public void setFetchSize(int fetchSize)
Sets the number of rows that should be fetched from the database when more rows are needed for a query result.- Specified by:
 setFetchSizein interfacePgqlStatement- Parameters:
 fetchSize- the query fetch size
 
- 
getBatchSize
public int getBatchSize()
Returns the number of commands that should be batched when executing updates- Specified by:
 getBatchSizein interfacePgqlStatement- Returns:
 - the update batch size
 
 
- 
getFetchSize
public int getFetchSize()
Returns the the number of rows that should be fetched from the database when more rows are needed for a query result.- Specified by:
 getFetchSizein interfacePgqlStatement- Returns:
 - the query fetch size
 
 
- 
close
public void close() throws oracle.pgql.lang.PgqlExceptionReleases this PgqlStatment's database and JDBC resources. Closing this PgqlStatement will close all PgqlResultSets that were created from it.- Specified by:
 closein interfacejava.lang.AutoCloseable- Specified by:
 closein interfacePgqlStatement- Specified by:
 closein interfaceoracle.pgql.lang.PreparedStatement- Throws:
 oracle.pgql.lang.PgqlException
 
- 
cancel
public void cancel() throws oracle.pgql.lang.PgqlExceptionDescription copied from interface:PgqlStatementAllows to cancel currently running execute operation. Note that cancel does not rollback already executed modifications.- Specified by:
 cancelin interfacePgqlStatement- Throws:
 oracle.pgql.lang.PgqlException- When an error occurs while canceling current operation.
 
- 
deleteCache
public static void deleteCache(PgqlConnection pgqlConn, java.lang.String schema, java.lang.String graphName)
 
 - 
 
 -