public class ConnectionManager extends Object
| Constructor and Description |
|---|
ConnectionManager(GridKernalContext ctx)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
H2PooledConnection |
connection() |
H2PooledConnection |
connection(String schema) |
org.gridgain.internal.h2.store.DataHandler |
dataHandler() |
void |
executeStatement(String schema,
String sql)
Execute SQL statement on specific schema.
|
void |
executeSystemStatement(String sql)
Execute statement on H2 INFORMATION_SCHEMA.
|
void |
onCacheDestroyed()
Clear statement cache when cache is unregistered..
|
void |
onKernalStop()
Cancel all queries.
|
void |
stop()
Close executor.
|
public ConnectionManager(GridKernalContext ctx)
ctx - Context.public void executeStatement(String schema, String sql) throws IgniteCheckedException
schema - Schemasql - SQL statement.IgniteCheckedException - If failed.public void executeSystemStatement(String sql) throws IgniteCheckedException
sql - SQL statement.IgniteCheckedException - On error.public void onCacheDestroyed()
public void onKernalStop()
public void stop()
public H2PooledConnection connection(String schema)
schema - Schema name.public H2PooledConnection connection()
public org.gridgain.internal.h2.store.DataHandler dataHandler()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025