public class DmlStatementsProcessor extends Object
| Constructor and Description |
|---|
DmlStatementsProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected static <any> |
getRemoveClosure(ClusterNode node,
Object key)
Returns the remove closure based on the version of the primary node.
|
void |
onCacheStop(String cacheName)
Handle cache stop.
|
<any> |
prepareDistributedUpdate(String schema,
Connection conn,
PreparedStatement stmt,
SqlFieldsQuery qry,
IndexingQueryFilter filter,
GridQueryCancel cancel,
boolean local,
AffinityTopologyVersion topVer,
MvccSnapshot mvccSnapshot) |
<any> |
processBulkLoadCommand(SqlBulkLoadCommand cmd)
Process bulk load COPY command.
|
<any> |
runNativeDmlStatement(String sql,
SqlCommand cmd)
Runs a DML statement for which we have internal command executor.
|
void |
start(GridKernalContext ctx,
IgniteH2Indexing idx)
Constructor.
|
public void start(GridKernalContext ctx,
IgniteH2Indexing idx)
ctx - Kernal context.idx - indexing.public void onCacheStop(String cacheName)
cacheName - Cache name.protected static <any> getRemoveClosure(ClusterNode node,
Object key)
node - Primary node.key - Key.public <any> prepareDistributedUpdate(String schema, Connection conn, PreparedStatement stmt, SqlFieldsQuery qry, IndexingQueryFilter filter, GridQueryCancel cancel, boolean local, AffinityTopologyVersion topVer, MvccSnapshot mvccSnapshot) throws IgniteCheckedException
schema - Schema name.conn - Connection.stmt - Prepared statement.qry - Sql fields queryfilter - Backup filter.cancel - Query cancel object.local - true if should be executed locally.topVer - Topology version.mvccSnapshot - MVCC snapshot.IgniteCheckedException - If failed.public <any> runNativeDmlStatement(String sql, SqlCommand cmd)
sql - The SQL command text to execute.cmd - The command to execute.IgniteSQLException - If failed.public <any> processBulkLoadCommand(SqlBulkLoadCommand cmd)
throws IgniteCheckedException
cmd - The command.IgniteCheckedException - If something failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2-p3 Release Date : April 25 2019