Class CrossReferenceKeysDatabricksResultSetAdapter
java.lang.Object
com.databricks.jdbc.dbclient.impl.common.ImportedKeysDatabricksResultSetAdapter
com.databricks.jdbc.dbclient.impl.common.CrossReferenceKeysDatabricksResultSetAdapter
public class CrossReferenceKeysDatabricksResultSetAdapter
extends ImportedKeysDatabricksResultSetAdapter
Implementation of
IDatabricksResultSetAdapter for processing the result set of the DatabaseMetaData.getCrossReference(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String).-
Field Summary
Fields inherited from class com.databricks.jdbc.dbclient.impl.common.ImportedKeysDatabricksResultSetAdapter
FOREIGN_KEY_NAME_COLUMN, PARENT_CATALOG_NAME, PARENT_NAMESPACE_NAME, PARENT_TABLE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionCrossReferenceKeysDatabricksResultSetAdapter(String targetParentCatalogName, String targetParentNamespaceName, String targetParentTableName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanincludeRow(ResultSet resultSet, List<ResultColumn> columns) default ObjecttransformValue(ResultColumn column, Object value) Optional method to transform a value after it's retrieved from the result set.Methods inherited from class com.databricks.jdbc.dbclient.impl.common.ImportedKeysDatabricksResultSetAdapter
mapColumn
-
Constructor Details
-
CrossReferenceKeysDatabricksResultSetAdapter
-
-
Method Details
-
includeRow
Returns true if the row's parent catalog, schema, and table name matches the expected parent values.
- Overrides:
includeRowin classImportedKeysDatabricksResultSetAdapter- Throws:
SQLException
-
transformValue
Optional method to transform a value after it's retrieved from the result set.- Parameters:
column- The column definitionvalue- The value retrieved from the result set- Returns:
- The potentially transformed value
-