Uses of Class
com.databricks.jdbc.exception.DatabricksSQLException
Packages that use DatabricksSQLException
Package
Description
-
Uses of DatabricksSQLException in com.databricks.client.jdbc
Methods in com.databricks.client.jdbc that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionDriver.connect(String url, Properties info) DataSource.getConnection()DataSource.getConnection(String username, String password) DataSource.getPooledConnection()DataSource.getPooledConnection(String user, String password) Driver.getPropertyInfo(String url, Properties info) -
Uses of DatabricksSQLException in com.databricks.jdbc.api.impl
Methods in com.databricks.jdbc.api.impl that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionvoidDatabricksStatement.allowInputStreamForVolumeOperation(boolean allowInputStream) voidDatabricksPreparedStatement.clearBatch()voidDatabricksConnection.close()voidDatabricksResultSet.close()voidDatabricksSession.close()voidDatabricksStatement.close(boolean removeFromSession) static IDatabricksConnectionContextCreates an instance ofIDatabricksConnectionContextfrom the given URL, user and passwordstatic IDatabricksConnectionContextDatabricksConnectionContextFactory.create(String url, Properties properties) Creates an instance ofIDatabricksConnectionContextfrom the given URL and properties.DatabricksStatement.enquoteIdentifier(String identifier, boolean alwaysQuote) DatabricksSession.getCurrentCatalog()org.apache.http.entity.InputStreamEntityDatabricksStatement.getInputStreamForUCVolume()longDatabricksStatement.getLargeMaxRows()intDatabricksStatement.getMaxRows()IExecutionResult.getObject(int columnIndex) Get the object for given column index.InlineJsonResult.getObject(int columnIndex) LazyThriftResult.getObject(int columnIndex) Gets the value at the specified column index for the current row.ColumnarRowView.getValue(int rowIndex, int columnIndex) Gets the value at the specified row and column without materializing the entire row.voidDatabricksStatement.handleResultSetClose(IDatabricksResultSet resultSet) booleanDatabricksStatement.isAllowedInputStreamForVolumeOperation()Object[]ColumnarRowView.materializeRow(int rowIndex) Creates a materialized row only when explicitly requested (for backward compatibility).booleanIExecutionResult.next()Moves the cursor to next row and returns true if this can be donebooleanLazyThriftResult.next()Moves the cursor to the next row.voidDatabricksConnection.open()voidDatabricksSession.open()static IDatabricksConnectionContextDatabricksConnectionContext.parse(String url, Properties properties) Parses connection Url and properties into a Databricks specific connection contextvoidDatabricksStatement.setInputStreamForUCVolume(org.apache.http.entity.InputStreamEntity inputStream) Constructors in com.databricks.jdbc.api.impl that throw DatabricksSQLExceptionModifierConstructorDescriptionColumnarRowView(TRowSet rowSet) DatabricksConnection(IDatabricksConnectionContext connectionContext) Creates an instance of Databricks connection for given connection context.DatabricksConnection(IDatabricksConnectionContext connectionContext, IDatabricksClient testDatabricksClient) DatabricksResultSet(StatementStatus statementStatus, StatementId statementId, ResultData resultData, ResultManifest resultManifest, StatementType statementType, IDatabricksSession session, IDatabricksStatementInternal parentStatement) DatabricksSession(IDatabricksConnectionContext connectionContext) Creates an instance of Databricks session for given connection contextLazyThriftResult(TFetchResultsResp initialResponse, IDatabricksStatementInternal statement, IDatabricksSession session) Creates a new LazyThriftResult that lazily fetches data on demand. -
Uses of DatabricksSQLException in com.databricks.jdbc.api.impl.arrow
Methods in com.databricks.jdbc.api.impl.arrow that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionprotected abstract TAbstractRemoteChunkProvider.createChunk(StatementId statementId, long chunkIndex, TSparkArrowResultLink resultLink) Creates chunkAbstractRemoteChunkProviderbased on theTSparkArrowResultLink.protected abstract TAbstractRemoteChunkProvider.createChunk(StatementId statementId, long chunkIndex, com.databricks.sdk.service.sql.BaseChunkInfo chunkInfo) Creates chunkAbstractRemoteChunkProviderbased on theBaseChunkInfo.protected ArrowResultChunkRemoteChunkProvider.createChunk(StatementId statementId, long chunkIndex, TSparkArrowResultLink resultLink) Creates chunkAbstractRemoteChunkProviderbased on theTSparkArrowResultLink.protected ArrowResultChunkRemoteChunkProvider.createChunk(StatementId statementId, long chunkIndex, com.databricks.sdk.service.sql.BaseChunkInfo chunkInfo) Creates chunkAbstractRemoteChunkProviderbased on theBaseChunkInfo.ArrowStreamResult.getArrowMetadata()AbstractRemoteChunkProvider.getChunk()Retrieves the current chunk of data after a successful call toChunkProvider.next().ChunkProvider.getChunk()Retrieves the current chunk of data after a successful call toChunkProvider.next().ArrowStreamResult.getObject(int columnIndex) Get the object for given column index.protected voidAbstractArrowResultChunk.initializeData(InputStream inputStream) Decompresses the givenInputStreamand initializesAbstractArrowResultChunk.recordBatchListfrom decompressed stream.booleanAbstractRemoteChunkProvider.next()Advances to the next available chunk.booleanArrowStreamResult.next()Moves the cursor to next row and returns true if this can be donebooleanChunkProvider.next()Advances to the next available chunk.Constructors in com.databricks.jdbc.api.impl.arrow that throw DatabricksSQLExceptionModifierConstructorDescriptionprotectedAbstractRemoteChunkProvider(IDatabricksStatementInternal parentStatement, TFetchResultsResp resultsResp, IDatabricksSession session, IDatabricksHttpClient httpClient, int maxParallelChunkDownloadsPerQuery, CompressionCodec compressionCodec) protectedAbstractRemoteChunkProvider(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) -
Uses of DatabricksSQLException in com.databricks.jdbc.api.impl.arrow.incubator
Methods in com.databricks.jdbc.api.impl.arrow.incubator that throw DatabricksSQLExceptionConstructors in com.databricks.jdbc.api.impl.arrow.incubator that throw DatabricksSQLExceptionModifierConstructorDescriptionRemoteChunkProviderV2(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 DatabricksSQLException in com.databricks.jdbc.api.impl.converters
Methods in com.databricks.jdbc.api.impl.converters that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionstatic ObjectArrowToJavaObjectConverter.convert(org.apache.arrow.vector.ValueVector columnVector, int vectorIndex, ColumnInfoTypeName requiredType, String arrowMetadata, ColumnInfo columnInfo) static ObjectConverterHelper.convertSqlTypeToJavaType(int columnSqlType, Object object) Converts a SQL object to the appropriate Java object based on the SQL type.static ObjectConverterHelper.convertSqlTypeToSpecificJavaType(Class<?> javaType, int columnSqlType, Object obj) Converts an object to a specific Java type based on the provided SQL type and desired Java class.default InputStreamObjectConverter.toAsciiStream(Object object) BigDecimalConverter.toBigDecimal(Object object) BigDecimalConverter.toBigDecimal(Object object, int scale) BooleanConverter.toBigDecimal(Object object) ByteConverter.toBigDecimal(Object object) DoubleConverter.toBigDecimal(Object object) FloatConverter.toBigDecimal(Object object) IntConverter.toBigDecimal(Object object) LongConverter.toBigDecimal(Object object) default BigDecimalObjectConverter.toBigDecimal(Object object) default BigDecimalObjectConverter.toBigDecimal(Object object, int scale) ShortConverter.toBigDecimal(Object object) StringConverter.toBigDecimal(Object object) BigDecimalConverter.toBigInteger(Object object) BooleanConverter.toBigInteger(Object object) ByteConverter.toBigInteger(Object object) DateConverter.toBigInteger(Object object) DoubleConverter.toBigInteger(Object object) FloatConverter.toBigInteger(Object object) IntConverter.toBigInteger(Object object) LongConverter.toBigInteger(Object object) default BigIntegerObjectConverter.toBigInteger(Object object) ShortConverter.toBigInteger(Object object) StringConverter.toBigInteger(Object object) TimestampConverter.toBigInteger(Object object) default InputStreamObjectConverter.toBinaryStream(Object object) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleandefault booleanbooleanbooleanbytebytebytebytebytebytebytebytedefault bytebytebytebyte[]BigDecimalConverter.toByteArray(Object object) byte[]BooleanConverter.toByteArray(Object object) byte[]ByteArrayConverter.toByteArray(Object object) byte[]ByteConverter.toByteArray(Object object) byte[]DoubleConverter.toByteArray(Object object) byte[]FloatConverter.toByteArray(Object object) byte[]IntConverter.toByteArray(Object object) byte[]LongConverter.toByteArray(Object object) default byte[]ObjectConverter.toByteArray(Object object) byte[]ShortConverter.toByteArray(Object object) byte[]StringConverter.toByteArray(Object object) chardefault charchardefault ReaderObjectConverter.toCharacterStream(Object object) default DatabricksArrayObjectConverter.toDatabricksArray(Object object) default DatabricksMapObjectConverter.toDatabricksMap(Object object) default DatabricksStructObjectConverter.toDatabricksStruct(Object object) default Datedoubledoubledoubledoubledoubledoubledoubledefault doubledoubledoublefloatfloatfloatfloatfloatfloatfloatdefault floatfloatfloatintintintintintintintintdefault intintintDateConverter.toLocalDate(Object object) default LocalDateObjectConverter.toLocalDate(Object object) longlonglonglonglonglonglonglongdefault longlonglonglongshortshortshortshortshortshortshortshortdefault shortshortshortdefault Stringdefault TimeDateConverter.toTimestamp(Object object) IntConverter.toTimestamp(Object object) IntConverter.toTimestamp(Object object, int scale) LongConverter.toTimestamp(Object object) LongConverter.toTimestamp(Object object, int scale) default TimestampObjectConverter.toTimestamp(Object object) default TimestampObjectConverter.toTimestamp(Object object, int scale) StringConverter.toTimestamp(Object object) TimestampConverter.toTimestamp(Object object) Converts an object to aTimestamp.default InputStreamObjectConverter.toUnicodeStream(Object object) -
Uses of DatabricksSQLException in com.databricks.jdbc.api.impl.volume
Methods in com.databricks.jdbc.api.impl.volume that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionVolumeOperationResult.getObject(int columnIndex) booleanVolumeOperationResult.next()Constructors in com.databricks.jdbc.api.impl.volume that throw DatabricksSQLExceptionModifierConstructorDescriptionVolumeOperationResult(long totalRows, long totalColumns, IDatabricksSession session, IExecutionResult resultHandler, IDatabricksStatementInternal statement) -
Uses of DatabricksSQLException in com.databricks.jdbc.api.internal
Methods in com.databricks.jdbc.api.internal that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionvoidIDatabricksStatementInternal.allowInputStreamForVolumeOperation(boolean allowedInputStream) voidIDatabricksSession.close()Closes the session.voidIDatabricksStatementInternal.close(boolean removeFromSession) IDatabricksSession.getComputeResource()Get the warehouse associated with the session.IDatabricksSession.getCurrentCatalog()Gets the current catalog from the databaseorg.apache.http.entity.InputStreamEntityIDatabricksStatementInternal.getInputStreamForUCVolume()intIDatabricksStatementInternal.getMaxRows()voidIDatabricksStatementInternal.handleResultSetClose(IDatabricksResultSet resultSet) booleanIDatabricksStatementInternal.isAllowedInputStreamForVolumeOperation()voidIDatabricksConnectionInternal.open()Opens the connection and initiates the underlying sessionvoidIDatabricksSession.open()Opens a new session.voidIDatabricksStatementInternal.setInputStreamForUCVolume(org.apache.http.entity.InputStreamEntity inputStream) -
Uses of DatabricksSQLException in com.databricks.jdbc.common.util
Methods in com.databricks.jdbc.common.util that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionstatic <T extends Number>
voidValidationUtil.checkIfNonNegative(T number, String fieldName) DatabricksThriftUtil.convertColumnarToRowBased(TFetchResultsResp resultsResp, IDatabricksStatementInternal parentStatement, IDatabricksSession session) static ColumnarRowViewDatabricksThriftUtil.createColumnarView(TRowSet rowSet) Memory-efficient alternative that creates a columnar view instead of materializing all rows.static byte[]DecompressionUtil.decompress(byte[] compressedInput, CompressionCodec compressionCodec, String context) static InputStreamDecompressionUtil.decompress(InputStream compressedStream, CompressionCodec compressionCodec, String context) DatabricksThriftUtil.extractRowsFromColumnar(TRowSet rowSet) This functions extracts columnar data from a RowSet into rowsstatic longDatabricksThriftUtil.getRowCount(TRowSet resultData) static voidDriverUtil.setUpLogging(IDatabricksConnectionContext connectionContext) static voidValidationUtil.throwErrorIfNull(String field, Object value) static voidValidationUtil.throwErrorIfNull(Map<String, String> fields, String context) static voidValidationUtil.validateInputProperties(Map<String, String> parameters) Validates all input properties for JDBC connection parameters.static voidValidationUtil.validateUidParameter(Map<String, String> parameters) Validates the UID parameter in JDBC connection properties. -
Uses of DatabricksSQLException in com.databricks.jdbc.dbclient
Methods in com.databricks.jdbc.dbclient that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionvoidIDatabricksClient.cancelStatement(StatementId statementId) Cancels a statement in Databricks servervoidIDatabricksClient.closeStatement(StatementId statementId) Closes a statement in Databricks serverIDatabricksClient.createSession(IDatabricksComputeResource computeResource, String catalog, String schema, Map<String, String> sessionConf) Creates a new session for given warehouse-Id, catalog and session.voidIDatabricksClient.deleteSession(ImmutableSessionInfo sessionInfo) Deletes a session for given session-IdIDatabricksClient.getMoreResults(IDatabricksStatementInternal parentStatement) IDatabricksClient.getResultChunks(StatementId statementId, long chunkIndex) Fetches the chunk details for given chunk index and statement-Id. -
Uses of DatabricksSQLException in com.databricks.jdbc.dbclient.impl.sqlexec
Methods in com.databricks.jdbc.dbclient.impl.sqlexec that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionvoidDatabricksSdkClient.cancelStatement(StatementId typedStatementId) voidDatabricksSdkClient.closeStatement(StatementId typedStatementId) DatabricksSdkClient.createSession(IDatabricksComputeResource warehouse, String catalog, String schema, Map<String, String> sessionConf) voidDatabricksSdkClient.deleteSession(ImmutableSessionInfo sessionInfo) DatabricksSdkClient.getMoreResults(IDatabricksStatementInternal parentStatement) DatabricksSdkClient.getResultChunks(StatementId typedStatementId, long chunkIndex) CommandBuilder.getSQLString(CommandName command) DatabricksSdkClient.getStatementResult(StatementId typedStatementId, IDatabricksSession session, IDatabricksStatementInternal parentStatement) -
Uses of DatabricksSQLException in com.databricks.jdbc.dbclient.impl.thrift
Methods in com.databricks.jdbc.dbclient.impl.thrift that throw DatabricksSQLExceptionModifier and TypeMethodDescriptionvoidDatabricksThriftServiceClient.cancelStatement(StatementId statementId) voidDatabricksThriftServiceClient.closeStatement(StatementId statementId) DatabricksThriftServiceClient.createSession(IDatabricksComputeResource cluster, String catalog, String schema, Map<String, String> sessionConf) voidDatabricksThriftServiceClient.deleteSession(ImmutableSessionInfo sessionInfo) DatabricksThriftServiceClient.getMoreResults(IDatabricksStatementInternal parentStatement) DatabricksThriftServiceClient.getResultChunks(StatementId statementId, long chunkIndex) DatabricksThriftServiceClient.listColumns(IDatabricksSession session, String catalog, String schemaNamePattern, String tableNamePattern, String columnNamePattern) -
Uses of DatabricksSQLException in com.databricks.jdbc.exception
Subclasses of DatabricksSQLException in com.databricks.jdbc.exceptionModifier and TypeClassDescriptionclassException class to handle http errors while downloading chunk data from external links.classclassclassException class to handle SSL/TLS configuration and handshake errors.classclassTop level exception for Databricks driverclassException class to handle volume operation errors.