# Uses of Interface
com.databricks.jdbc.api.internal.IDatabricksSession

Packages that use IDatabricksSession
Package
Description
com.databricks.jdbc.api.impl
com.databricks.jdbc.api.impl.arrow
com.databricks.jdbc.api.impl.arrow.incubator
com.databricks.jdbc.api.impl.volume
com.databricks.jdbc.api.internal
com.databricks.jdbc.common.util
com.databricks.jdbc.dbclient
com.databricks.jdbc.dbclient.impl.sqlexec
com.databricks.jdbc.dbclient.impl.thrift

## Uses of IDatabricksSession in com.databricks.jdbc.api.impl

Classes in com.databricks.jdbc.api.impl that implement IDatabricksSession
Modifier and Type
Class
Description
`class`
`DatabricksSession`
Implementation of `IDatabricksSession`, which maintains an underlying session in SQL Gateway.
Methods in com.databricks.jdbc.api.impl that return IDatabricksSession
Modifier and Type
Method
Description
`IDatabricksSession`
DatabricksConnection.`getSession()`
Constructors in com.databricks.jdbc.api.impl with parameters of type IDatabricksSession
Modifier
Constructor
Description
``
`DatabricksResultSet(StatementStatus statementStatus, StatementId statementId, TFetchResultsResp resultsResp, StatementType statementType, IDatabricksStatementInternal parentStatement, IDatabricksSession session)`
``
`DatabricksResultSet(StatementStatus statementStatus, StatementId statementId, ResultData resultData, ResultManifest resultManifest, StatementType statementType, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
``
`LazyThriftResult(TFetchResultsResp initialResponse, IDatabricksStatementInternal statement, IDatabricksSession session)`
Creates a new LazyThriftResult that lazily fetches data on demand.

## Uses of IDatabricksSession in com.databricks.jdbc.api.impl.arrow

Fields in com.databricks.jdbc.api.impl.arrow declared as IDatabricksSession
Modifier and Type
Field
Description
`protected final IDatabricksSession`
AbstractRemoteChunkProvider.`session`
Constructors in com.databricks.jdbc.api.impl.arrow with parameters of type IDatabricksSession
Modifier
Constructor
Description
`protected`
`AbstractRemoteChunkProvider(IDatabricksStatementInternal parentStatement, TFetchResultsResp resultsResp, IDatabricksSession session, IDatabricksHttpClient httpClient, int maxParallelChunkDownloadsPerQuery, CompressionCodec compressionCodec)`
`protected`
`AbstractRemoteChunkProvider(StatementId statementId, ResultManifest resultManifest, ResultData resultData, IDatabricksSession session, IDatabricksHttpClient httpClient, int maxParallelChunkDownloadsPerQuery, CompressionCodec compressionCodec)`
``
`ArrowStreamResult(TFetchResultsResp resultsResp, boolean isInlineArrow, IDatabricksStatementInternal parentStatementId, IDatabricksSession session)`
``
`ArrowStreamResult(ResultManifest resultManifest, ResultData resultData, StatementId statementId, IDatabricksSession session)`
``
`ChunkLinkDownloadService(IDatabricksSession session, StatementId statementId, long totalChunks, ConcurrentMap<Long,T> chunkIndexToChunksMap, long nextBatchStartIndex)`

## Uses of IDatabricksSession in com.databricks.jdbc.api.impl.arrow.incubator

Constructors in com.databricks.jdbc.api.impl.arrow.incubator with parameters of type IDatabricksSession
Modifier
Constructor
Description
``
`RemoteChunkProviderV2(IDatabricksStatementInternal parentStatement, TFetchResultsResp resultsResp, IDatabricksSession session, IDatabricksHttpClient httpClient, int maxParallelChunkDownloadsPerQuery, CompressionCodec compressionCodec)`
``
`RemoteChunkProviderV2(StatementId statementId, ResultManifest resultManifest, ResultData resultData, IDatabricksSession session, IDatabricksHttpClient httpClient, int maxParallelChunkDownloadsPerQuery)`

## Uses of IDatabricksSession in com.databricks.jdbc.api.impl.volume

Constructors in com.databricks.jdbc.api.impl.volume with parameters of type IDatabricksSession
Modifier
Constructor
Description
``
`VolumeOperationResult(long totalRows, long totalColumns, IDatabricksSession session, IExecutionResult resultHandler, IDatabricksStatementInternal statement)`

## Uses of IDatabricksSession in com.databricks.jdbc.api.internal

Methods in com.databricks.jdbc.api.internal that return IDatabricksSession
Modifier and Type
Method
Description
`IDatabricksSession`
IDatabricksConnectionInternal.`getSession()`
Returns the underlying session for the connection.

## Uses of IDatabricksSession in com.databricks.jdbc.common.util

Methods in com.databricks.jdbc.common.util with parameters of type IDatabricksSession
Modifier and Type
Method
Description
`static List<List<Object>>`
DatabricksThriftUtil.`convertColumnarToRowBased(TFetchResultsResp resultsResp, IDatabricksStatementInternal parentStatement, IDatabricksSession session)`

## Uses of IDatabricksSession in com.databricks.jdbc.dbclient

Methods in com.databricks.jdbc.dbclient with parameters of type IDatabricksSession
Modifier and Type
Method
Description
`DatabricksResultSet`
IDatabricksClient.`executeStatement(String sql, IDatabricksComputeResource computeResource, Map<Integer,ImmutableSqlParameter> parameters, StatementType statementType, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
Executes a statement in Databricks server
`DatabricksResultSet`
IDatabricksClient.`executeStatementAsync(String sql, IDatabricksComputeResource computeResource, Map<Integer,ImmutableSqlParameter> parameters, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
Executes a statement in Databricks server asynchronously
`DatabricksResultSet`
IDatabricksClient.`getStatementResult(StatementId statementId, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
Fetches result for underlying statement-Id
`DatabricksResultSet`
IDatabricksMetadataClient.`listCatalogs(IDatabricksSession session)`
Returns the list of catalogs
`DatabricksResultSet`
IDatabricksMetadataClient.`listColumns(IDatabricksSession session, String catalog, String schemaNamePattern, String tableNamePattern, String columnNamePattern)`
Returns the list of columns
`DatabricksResultSet`
IDatabricksMetadataClient.`listCrossReferences(IDatabricksSession session, String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable)`
Returns the list of cross references between a parent table and a foreign table
`DatabricksResultSet`
IDatabricksMetadataClient.`listExportedKeys(IDatabricksSession session, String catalog, String schema, String table)`
Returns the list of imported keys
`DatabricksResultSet`
IDatabricksMetadataClient.`listFunctions(IDatabricksSession session, String catalog, String schemaNamePattern, String functionNamePattern)`
Returns the list of functions
`DatabricksResultSet`
IDatabricksMetadataClient.`listImportedKeys(IDatabricksSession session, String catalog, String schema, String table)`
Returns the list of imported keys
`DatabricksResultSet`
IDatabricksMetadataClient.`listPrimaryKeys(IDatabricksSession session, String catalog, String schema, String table)`
Returns the list of primary keys
`DatabricksResultSet`
IDatabricksMetadataClient.`listSchemas(IDatabricksSession session, String catalog, String schemaNamePattern)`
Returns the list of schemas
`DatabricksResultSet`
IDatabricksMetadataClient.`listTables(IDatabricksSession session, String catalog, String schemaNamePattern, String tableNamePattern, String[] tableTypes)`
Returns the list of tables
`DatabricksResultSet`
IDatabricksMetadataClient.`listTableTypes(IDatabricksSession session)`
Returns list of table types
`DatabricksResultSet`
IDatabricksMetadataClient.`listTypeInfo(IDatabricksSession session)`
Returns information about types supported by Databricks server

## Uses of IDatabricksSession in com.databricks.jdbc.dbclient.impl.sqlexec

Methods in com.databricks.jdbc.dbclient.impl.sqlexec with parameters of type IDatabricksSession
Modifier and Type
Method
Description
`DatabricksResultSet`
DatabricksSdkClient.`executeStatement(String sql, IDatabricksComputeResource computeResource, Map<Integer,ImmutableSqlParameter> parameters, StatementType statementType, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
`DatabricksResultSet`
DatabricksSdkClient.`executeStatementAsync(String sql, IDatabricksComputeResource computeResource, Map<Integer,ImmutableSqlParameter> parameters, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
`DatabricksResultSet`
DatabricksSdkClient.`getStatementResult(StatementId typedStatementId, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listCatalogs(IDatabricksSession session)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listCatalogs(IDatabricksSession session)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listColumns(IDatabricksSession session, String catalog, String schemaNamePattern, String tableNamePattern, String columnNamePattern)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listColumns(IDatabricksSession session, String catalog, String schemaNamePattern, String tableNamePattern, String columnNamePattern)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listCrossReferences(IDatabricksSession session, String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listCrossReferences(IDatabricksSession session, String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listExportedKeys(IDatabricksSession session, String catalog, String schema, String table)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listExportedKeys(IDatabricksSession session, String catalog, String schema, String table)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listFunctions(IDatabricksSession session, String catalog, String schemaNamePattern, String functionNamePattern)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listFunctions(IDatabricksSession session, String catalog, String schemaNamePattern, String functionNamePattern)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listImportedKeys(IDatabricksSession session, String catalog, String schema, String table)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listImportedKeys(IDatabricksSession session, String catalog, String schema, String table)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listPrimaryKeys(IDatabricksSession session, String catalog, String schema, String table)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listPrimaryKeys(IDatabricksSession session, String catalog, String schema, String table)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listSchemas(IDatabricksSession session, String catalog, String schemaNamePattern)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listSchemas(IDatabricksSession session, String catalog, String schemaNamePattern)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listTables(IDatabricksSession session, String catalog, String schemaNamePattern, String tableNamePattern, String[] tableTypes)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listTables(IDatabricksSession session, String catalog, String schemaNamePattern, String tableNamePattern, String[] tableTypes)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listTableTypes(IDatabricksSession session)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listTableTypes(IDatabricksSession session)`
`DatabricksResultSet`
DatabricksEmptyMetadataClient.`listTypeInfo(IDatabricksSession session)`
`DatabricksResultSet`
DatabricksMetadataSdkClient.`listTypeInfo(IDatabricksSession session)`
Constructors in com.databricks.jdbc.dbclient.impl.sqlexec with parameters of type IDatabricksSession
Modifier
Constructor
Description
``
`CommandBuilder(IDatabricksSession session)`
``
`CommandBuilder(String catalogName, IDatabricksSession session)`

## Uses of IDatabricksSession in com.databricks.jdbc.dbclient.impl.thrift

Methods in com.databricks.jdbc.dbclient.impl.thrift with parameters of type IDatabricksSession
Modifier and Type
Method
Description
`DatabricksResultSet`
DatabricksThriftServiceClient.`executeStatement(String sql, IDatabricksComputeResource computeResource, Map<Integer,ImmutableSqlParameter> parameters, StatementType statementType, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`executeStatementAsync(String sql, IDatabricksComputeResource computeResource, Map<Integer,ImmutableSqlParameter> parameters, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`getStatementResult(StatementId statementId, IDatabricksSession session, IDatabricksStatementInternal parentStatement)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listCatalogs(IDatabricksSession session)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listColumns(IDatabricksSession session, String catalog, String schemaNamePattern, String tableNamePattern, String columnNamePattern)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listCrossReferences(IDatabricksSession session, String parentCatalog, String parentSchema, String parentTable, String foreignCatalog, String foreignSchema, String foreignTable)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listExportedKeys(IDatabricksSession session, String catalog, String schema, String table)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listFunctions(IDatabricksSession session, String catalog, String schemaNamePattern, String functionNamePattern)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listImportedKeys(IDatabricksSession session, String catalog, String schema, String table)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listPrimaryKeys(IDatabricksSession session, String catalog, String schema, String table)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listSchemas(IDatabricksSession session, String catalog, String schemaNamePattern)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listTables(IDatabricksSession session, String catalog, String schemaNamePattern, String tableNamePattern, String[] tableTypes)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listTableTypes(IDatabricksSession session)`
`DatabricksResultSet`
DatabricksThriftServiceClient.`listTypeInfo(IDatabricksSession session)`