public abstract class ShardingMetaDataHandler extends Object
| Constructor and Description |
|---|
ShardingMetaDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ColumnMetaData> |
getColumnMetaDataList()
Get column meta data list.
|
Collection<ColumnMetaData> |
getColumnMetaDataList(Connection connection)
Get column metadata by Sharding Connection.
|
abstract List<ColumnMetaData> |
getExistColumnMeta(Connection connection)
Get exit table's column metadata list.
|
abstract boolean |
isTableExist(Connection connection)
Judge whether table exist or not.
|
public Collection<ColumnMetaData> getColumnMetaDataList() throws SQLException
SQLException - SQL exceptionpublic Collection<ColumnMetaData> getColumnMetaDataList(Connection connection) throws SQLException
connection - connectionSQLException - SQL exceptionpublic abstract boolean isTableExist(Connection connection) throws SQLException
connection - jdbc connectionSQLException - SQL exceptionpublic abstract List<ColumnMetaData> getExistColumnMeta(Connection connection) throws SQLException
connection - jdbc connectionSQLException - SQL exceptionCopyright © 2018. All rights reserved.