public class ConverterUtils extends Object
| Constructor and Description |
|---|
ConverterUtils() |
| Modifier and Type | Method and Description |
|---|---|
int |
calculateActualBatchSize(int numberOfCols,
Connection destination,
String catalog,
String schema,
String table) |
List<String> |
getColumnNames(Connection destination,
String catalog,
String schema,
String table) |
int |
getEstimatedRowSizeInCloudSpanner(Connection connection,
String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern) |
int |
getNumberOfIndices(Connection destination,
String catalog,
String schema,
String table) |
int |
getRowSize(Connection destination,
String catalog,
String schema,
String table) |
public int calculateActualBatchSize(int numberOfCols,
Connection destination,
String catalog,
String schema,
String table)
throws SQLException
SQLExceptionpublic int getRowSize(Connection destination, String catalog, String schema, String table) throws SQLException
SQLExceptionpublic int getNumberOfIndices(Connection destination, String catalog, String schema, String table) throws SQLException
SQLExceptionpublic List<String> getColumnNames(Connection destination, String catalog, String schema, String table) throws SQLException
SQLExceptionpublic int getEstimatedRowSizeInCloudSpanner(Connection connection, String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException
SQLExceptionCopyright © 2017. All rights reserved.