public class CatalogUtils extends Object
| 构造器和说明 |
|---|
CatalogUtils() |
public static String quoteIdentifier(String identifier, String fieldIde, String quote)
public static Optional<PrimaryKey> getPrimaryKey(DatabaseMetaData metaData, TablePath tablePath) throws SQLException
SQLExceptionpublic static List<ConstraintKey> getConstraintKeys(DatabaseMetaData metadata, TablePath tablePath) throws SQLException
SQLExceptionpublic static TableSchema getTableSchema(DatabaseMetaData metadata, TablePath tablePath) throws SQLException
SQLExceptionpublic static CatalogTable getCatalogTable(Connection connection, TablePath tablePath) throws SQLException
SQLExceptionpublic static CatalogTable getCatalogTable(ResultSetMetaData resultSetMetaData, String sqlQuery) throws SQLException
SQLExceptionpublic static CatalogTable getCatalogTable(ResultSetMetaData metadata, JdbcDialectTypeMapper typeMapper, String sqlQuery) throws SQLException
SQLExceptionpublic static CatalogTable getCatalogTable(ResultSetMetaData metadata, java.util.function.BiFunction<ResultSetMetaData,Integer,Column> columnConverter, String sqlQuery) throws SQLException
SQLExceptionpublic static CatalogTable getCatalogTable(Connection connection, String sqlQuery, JdbcDialectTypeMapper typeMapper) throws SQLException
SQLExceptionpublic static CatalogTable getCatalogTable(Connection connection, String sqlQuery) throws SQLException
SQLExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.