public class InsertQuery extends AbstractDMLQuery
_buildOnly, _containsQuery, _convertResultToArray, _executor, _operationID, _projectionTemplate, _queryResultType, _tablesData, expTree, isPrepared, preparedValues, queryColumns, rownum, securityInterceptor, tables, valueMap
Constructor and Description |
---|
InsertQuery() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
ResponsePacket |
executeOnSpace(ISpaceProxy space,
Transaction txn)
Will execute this query on the space and return a ResponsePacket
|
BatchResponsePacket |
executePreparedValuesBatch(ISpaceProxy space,
Transaction transaction,
GPreparedStatement.PreparedValuesCollection preparedValuesCollection)
Executes a query with batched prepared values.
|
void |
setQuery(AbstractDMLQuery query) |
void |
setValues(ArrayList<LiteralNode> values)
The values to insert.
|
void |
validateQuery(ISpaceProxy space)
Each query should have its own specific validations.
|
addColumn, addTableWithAlias, assignParameters, build, buildTemplates, containsSubQueries, executeSubQueries, filterByRownum, getBuilder, getExpTree, getIfExists, getMinEntriesToWaitFor, getOperationID, getPreparedValues, getProjectionTemplate, getQueryColumns, getQueryResultType, getReadModifier, getRouting, getRownum, getRownumLimit, getSecurityInterceptor, getSession, getTableByAlias, getTableData, getTableData, getTableName, getTablesData, getTimeout, getTypeInfo, isBuildOnly, isContainsQuery, isConvertResultToArray, isDirtyState, isForceUnderTransaction, isJoined, isPrepared, isReturnResult, isSelectQuery, prepare, setBuildOnly, setContainsQuery, setContainsSubQueries, setConvertResultToArray, setExpTree, setIfExists, setMaxResults, setMinEntriesToWaitFor, setOperationID, setPrepared, setPreparedValues, setProjectionTemplate, setQueryResultType, setReadModifier, setReturnResult, setRouting, setRownum, setSecurityInterceptor, setSession, setTableName, setTemplatePreparedValues, setTimeout, validateBuiltTemplates
public void setQuery(AbstractDMLQuery query)
public ResponsePacket executeOnSpace(ISpaceProxy space, Transaction txn) throws SQLException
Query
SQLException
public void setValues(ArrayList<LiteralNode> values)
public Object clone()
clone
in class AbstractDMLQuery
public void validateQuery(ISpaceProxy space) throws SQLException
Query
validateQuery
in interface Query
validateQuery
in class AbstractDMLQuery
SQLException
public BatchResponsePacket executePreparedValuesBatch(ISpaceProxy space, Transaction transaction, GPreparedStatement.PreparedValuesCollection preparedValuesCollection) throws SQLException
AbstractDMLQuery
executePreparedValuesBatch
in class AbstractDMLQuery
SQLException
Copyright © GigaSpaces.