public interface TableManager
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BATCH_SIZE |
static int |
DEFAULT_FETCH_SIZE |
| Modifier and Type | Method and Description |
|---|---|
void |
createTable(Connection conn) |
void |
dropTable(Connection conn) |
String |
encodeString(String stringToEncode) |
int |
getBatchSize() |
String |
getCountRowsSql() |
String |
getDeleteAllRowsSql() |
String |
getDeleteExpiredRowsSql() |
String |
getDeleteRowSql() |
int |
getFetchSize() |
String |
getIdentifierQuoteString() |
String |
getInsertRowSql() |
String |
getLoadAllRowsSql() |
String |
getLoadNonExpiredAllRowsSql() |
String |
getSelectExpiredRowsSql() |
String |
getSelectIdRowSql() |
String |
getSelectRowSql() |
TableName |
getTableName() |
String |
getUpdateRowSql() |
boolean |
isStringEncodingRequired() |
void |
setCacheName(String cacheName) |
void |
start() |
void |
stop() |
boolean |
tableExists(Connection connection) |
boolean |
tableExists(Connection connection,
TableName tableName) |
static final int DEFAULT_FETCH_SIZE
static final int DEFAULT_BATCH_SIZE
void start()
throws PersistenceException
PersistenceExceptionvoid stop() throws PersistenceException
PersistenceExceptionboolean tableExists(Connection connection) throws PersistenceException
PersistenceExceptionboolean tableExists(Connection connection, TableName tableName) throws PersistenceException
PersistenceExceptionvoid createTable(Connection conn) throws PersistenceException
PersistenceExceptionvoid dropTable(Connection conn) throws PersistenceException
PersistenceExceptionvoid setCacheName(String cacheName)
int getFetchSize()
int getBatchSize()
TableName getTableName()
String getIdentifierQuoteString()
String getInsertRowSql()
String getUpdateRowSql()
String getSelectRowSql()
String getSelectIdRowSql()
String getCountRowsSql()
String getDeleteRowSql()
String getLoadNonExpiredAllRowsSql()
String getLoadAllRowsSql()
String getDeleteAllRowsSql()
String getSelectExpiredRowsSql()
String getDeleteExpiredRowsSql()
boolean isStringEncodingRequired()
Copyright © 2021 JBoss, a division of Red Hat. All rights reserved.