Class MetadataResultSetBuilder
java.lang.Object
com.databricks.jdbc.dbclient.impl.common.MetadataResultSetBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCatalogsResult(DatabricksResultSet resultSet) getCatalogsResult(List<List<Object>> rows) getColumnsResult(DatabricksResultSet resultSet) getColumnsResult(List<List<Object>> rows) getCrossReferenceKeysResult(DatabricksResultSet resultSet, String targetParentCatalogName, String targetParentNamespaceName, String targetParentTableName) getCrossRefsResult(List<List<Object>> rows) getExportedKeys(List<List<Object>> rows) getFunctionsResult(DatabricksResultSet resultSet, String catalog) getFunctionsResult(String catalog, List<List<Object>> rows) getImportedKeys(List<List<Object>> rows) getImportedKeysResult(DatabricksResultSet resultSet) getPrimaryKeysResult(DatabricksResultSet resultSet) getPrimaryKeysResult(List<List<Object>> rows) getResultSetWithGivenRowsAndColumns(List<ResultColumn> columns, List<List<Object>> rows, String statementId, CommandName commandName) getSchemasResult(DatabricksResultSet resultSet, String catalog) getSchemasResult(List<List<Object>> rows) getTablesResult(DatabricksResultSet resultSet, String[] tableTypes) stripBaseTypeName(String typeName) stripTypeName(String typeName)
-
Constructor Details
-
MetadataResultSetBuilder
-
-
Method Details
-
getFunctionsResult
public DatabricksResultSet getFunctionsResult(DatabricksResultSet resultSet, String catalog) throws SQLException - Throws:
SQLException
-
getColumnsResult
- Throws:
SQLException
-
getCatalogsResult
- Throws:
SQLException
-
getSchemasResult
public DatabricksResultSet getSchemasResult(DatabricksResultSet resultSet, String catalog) throws SQLException - Throws:
SQLException
-
getTablesResult
public DatabricksResultSet getTablesResult(DatabricksResultSet resultSet, String[] tableTypes) throws SQLException - Throws:
SQLException
-
getTableTypesResult
-
getPrimaryKeysResult
- Throws:
SQLException
-
getImportedKeysResult
- Throws:
SQLException
-
getCrossReferenceKeysResult
public DatabricksResultSet getCrossReferenceKeysResult(DatabricksResultSet resultSet, String targetParentCatalogName, String targetParentNamespaceName, String targetParentTableName) throws SQLException - Throws:
SQLException
-
stripTypeName
-
stripBaseTypeName
-
getCatalogsResult
-
getSchemasResult
-
getCrossRefsResult
-
getImportedKeys
-
getExportedKeys
-
getResultSetWithGivenRowsAndColumns
public DatabricksResultSet getResultSetWithGivenRowsAndColumns(List<ResultColumn> columns, List<List<Object>> rows, String statementId, CommandName commandName) -
getTablesResult
-
getColumnsResult
-
getPrimaryKeysResult
-
getFunctionsResult
-