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 |
---|---|
InsertQuery |
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, getExplainPlan, getExpTree, getIfExists, getMinEntriesToWaitFor, getOperationID, getPreparedValues, getProjectionTemplate, getQueryColumnByAlias, getQueryColumns, getQueryResultType, getReadModifier, getRouting, getRownum, getRownumLimit, getSecurityInterceptor, getSession, getTableByAlias, getTableData, getTableData, getTableName, getTablesData, getTablesNames, getTemplatePacketIfExists, getTimeout, getTypeInfo, isBuildOnly, isContainsQuery, isConvertResultToArray, isDirtyState, isForceUnderTransaction, isJoined, isPrepared, isReturnResult, isSelectQuery, prepare, readExternal, setBuildOnly, setContainsQuery, setContainsSubQueries, setConvertResultToArray, setExplainPlan, setExpTree, setIfExists, setMaxResults, setMinEntriesToWaitFor, setOperationID, setPrepared, setPreparedValues, setProjectionTemplate, setQueryResultType, setReadModifier, setReturnResult, setRouting, setRownum, setSecurityInterceptor, setSession, setTableName, setTemplatePreparedValues, setTimeout, validateBuiltTemplates, validateQuery, writeExternal
public void setQuery(AbstractDMLQuery query)
public ResponsePacket executeOnSpace(ISpaceProxy space, Transaction txn) throws SQLException
Query
SQLException
public void setValues(ArrayList<LiteralNode> values)
public InsertQuery 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.