Uses of Class
com.databricks.jdbc.exception.DatabricksSQLException
-
-
Uses of DatabricksSQLException in com.databricks.client.jdbc
Methods in com.databricks.client.jdbc that throw DatabricksSQLException Modifier and Type Method Description ConnectionDriver. connect(String url, Properties info)ConnectionDataSource. getConnection()ConnectionDataSource. getConnection(String username, String password)PooledConnectionDataSource. getPooledConnection()PooledConnectionDataSource. getPooledConnection(String user, String password)DriverPropertyInfo[]Driver. getPropertyInfo(String url, Properties info) -
Uses of DatabricksSQLException in com.databricks.jdbc.api.impl
Methods in com.databricks.jdbc.api.impl that throw DatabricksSQLException Modifier and Type Method Description voidDatabricksStatement. allowInputStreamForVolumeOperation(boolean allowInputStream)voidDatabricksPreparedStatement. clearBatch()voidDatabricksConnection. close()voidDatabricksResultSet. close()voidDatabricksSession. close()voidDatabricksStatement. close(boolean removeFromSession)static IDatabricksConnectionContextDatabricksConnectionContextFactory. create(String url, String user, String password)Creates an instance ofIDatabricksConnectionContextfrom the given URL, user and passwordstatic IDatabricksConnectionContextDatabricksConnectionContextFactory. create(String url, Properties properties)Creates an instance ofIDatabricksConnectionContextfrom the given URL and properties.StringDatabricksStatement. enquoteIdentifier(String identifier, boolean alwaysQuote)StringDatabricksSession. getCurrentCatalog()org.apache.http.entity.InputStreamEntityDatabricksStatement. getInputStreamForUCVolume()longDatabricksStatement. getLargeMaxRows()intDatabricksStatement. getMaxRows()ObjectIExecutionResult. getObject(int columnIndex)Get the object for given column index.ObjectInlineJsonResult. getObject(int columnIndex)ObjectLazyThriftResult. getObject(int columnIndex)Gets the value at the specified column index for the current row.ObjectColumnarRowView. 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 DatabricksSQLException Constructor Description ColumnarRowView(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 DatabricksSQLException Modifier and Type Method Description protected 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.List<String>ArrowStreamResult. getArrowMetadata()TAbstractRemoteChunkProvider. getChunk()Retrieves the current chunk of data after a successful call toChunkProvider.next().AbstractArrowResultChunkChunkProvider. getChunk()Retrieves the current chunk of data after a successful call toChunkProvider.next().ObjectArrowStreamResult. 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 DatabricksSQLException Constructor Description AbstractRemoteChunkProvider(IDatabricksStatementInternal parentStatement, TFetchResultsResp resultsResp, IDatabricksSession session, IDatabricksHttpClient httpClient, int maxParallelChunkDownloadsPerQuery, CompressionCodec compressionCodec)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) -
Uses of DatabricksSQLException in com.databricks.jdbc.api.impl.arrow.incubator
Methods in com.databricks.jdbc.api.impl.arrow.incubator that throw DatabricksSQLException Modifier and Type Method Description voidRemoteChunkProviderV2. downloadNextChunks()Constructors in com.databricks.jdbc.api.impl.arrow.incubator that throw DatabricksSQLException 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 DatabricksSQLException in com.databricks.jdbc.api.impl.converters
Methods in com.databricks.jdbc.api.impl.converters that throw DatabricksSQLException Modifier and Type Method Description static 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)BigDecimalBigDecimalConverter. toBigDecimal(Object object)BigDecimalBigDecimalConverter. toBigDecimal(Object object, int scale)BigDecimalBooleanConverter. toBigDecimal(Object object)BigDecimalByteConverter. toBigDecimal(Object object)BigDecimalDoubleConverter. toBigDecimal(Object object)BigDecimalFloatConverter. toBigDecimal(Object object)BigDecimalIntConverter. toBigDecimal(Object object)BigDecimalLongConverter. toBigDecimal(Object object)default BigDecimalObjectConverter. toBigDecimal(Object object)default BigDecimalObjectConverter. toBigDecimal(Object object, int scale)BigDecimalShortConverter. toBigDecimal(Object object)BigDecimalStringConverter. toBigDecimal(Object object)BigIntegerBigDecimalConverter. toBigInteger(Object object)BigIntegerBooleanConverter. toBigInteger(Object object)BigIntegerByteConverter. toBigInteger(Object object)BigIntegerDateConverter. toBigInteger(Object object)BigIntegerDoubleConverter. toBigInteger(Object object)BigIntegerFloatConverter. toBigInteger(Object object)BigIntegerIntConverter. toBigInteger(Object object)BigIntegerLongConverter. toBigInteger(Object object)default BigIntegerObjectConverter. toBigInteger(Object object)BigIntegerShortConverter. toBigInteger(Object object)BigIntegerStringConverter. toBigInteger(Object object)BigIntegerTimestampConverter. toBigInteger(Object object)default InputStreamObjectConverter. toBinaryStream(Object object)booleanBigDecimalConverter. toBoolean(Object object)booleanBitConverter. toBoolean(Object object)booleanBooleanConverter. toBoolean(Object object)booleanByteConverter. toBoolean(Object object)booleanDoubleConverter. toBoolean(Object object)booleanFloatConverter. toBoolean(Object object)booleanIntConverter. toBoolean(Object object)booleanLongConverter. toBoolean(Object object)default booleanObjectConverter. toBoolean(Object object)booleanShortConverter. toBoolean(Object object)booleanStringConverter. toBoolean(Object object)byteBigDecimalConverter. toByte(Object object)byteBooleanConverter. toByte(Object object)byteByteArrayConverter. toByte(Object object)byteByteConverter. toByte(Object object)byteDoubleConverter. toByte(Object object)byteFloatConverter. toByte(Object object)byteIntConverter. toByte(Object object)byteLongConverter. toByte(Object object)default byteObjectConverter. toByte(Object object)byteShortConverter. toByte(Object object)byteStringConverter. toByte(Object object)byte[]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)charBooleanConverter. toChar(Object object)default charObjectConverter. toChar(Object object)charStringConverter. toChar(Object object)default ReaderObjectConverter. toCharacterStream(Object object)default DatabricksArrayObjectConverter. toDatabricksArray(Object object)default DatabricksMapObjectConverter. toDatabricksMap(Object object)default DatabricksStructObjectConverter. toDatabricksStruct(Object object)DateDateConverter. toDate(Object object)DateIntConverter. toDate(Object object)DateLongConverter. toDate(Object object)default DateObjectConverter. toDate(Object object)DateStringConverter. toDate(Object object)DateTimestampConverter. toDate(Object object)doubleBigDecimalConverter. toDouble(Object object)doubleBooleanConverter. toDouble(Object object)doubleByteConverter. toDouble(Object object)doubleDoubleConverter. toDouble(Object object)doubleFloatConverter. toDouble(Object object)doubleIntConverter. toDouble(Object object)doubleLongConverter. toDouble(Object object)default doubleObjectConverter. toDouble(Object object)doubleShortConverter. toDouble(Object object)doubleStringConverter. toDouble(Object object)floatBigDecimalConverter. toFloat(Object object)floatBooleanConverter. toFloat(Object object)floatByteConverter. toFloat(Object object)floatDoubleConverter. toFloat(Object object)floatFloatConverter. toFloat(Object object)floatIntConverter. toFloat(Object object)floatLongConverter. toFloat(Object object)default floatObjectConverter. toFloat(Object object)floatShortConverter. toFloat(Object object)floatStringConverter. toFloat(Object object)intBigDecimalConverter. toInt(Object object)intBooleanConverter. toInt(Object object)intByteConverter. toInt(Object object)intDateConverter. toInt(Object object)intDoubleConverter. toInt(Object object)intFloatConverter. toInt(Object object)intIntConverter. toInt(Object object)intLongConverter. toInt(Object object)default intObjectConverter. toInt(Object object)intShortConverter. toInt(Object object)intStringConverter. toInt(Object object)LocalDateDateConverter. toLocalDate(Object object)default LocalDateObjectConverter. toLocalDate(Object object)longBigDecimalConverter. toLong(Object object)longBooleanConverter. toLong(Object object)longByteConverter. toLong(Object object)longDateConverter. toLong(Object object)longDoubleConverter. toLong(Object object)longFloatConverter. toLong(Object object)longIntConverter. toLong(Object object)longLongConverter. toLong(Object object)default longObjectConverter. toLong(Object object)longShortConverter. toLong(Object object)longStringConverter. toLong(Object object)longTimestampConverter. toLong(Object object)shortBigDecimalConverter. toShort(Object object)shortBooleanConverter. toShort(Object object)shortByteConverter. toShort(Object object)shortDateConverter. toShort(Object object)shortDoubleConverter. toShort(Object object)shortFloatConverter. toShort(Object object)shortIntConverter. toShort(Object object)shortLongConverter. toShort(Object object)default shortObjectConverter. toShort(Object object)shortShortConverter. toShort(Object object)shortStringConverter. toShort(Object object)StringBigDecimalConverter. toString(Object object)StringBitConverter. toString(Object object)StringBooleanConverter. toString(Object object)StringByteArrayConverter. toString(Object object)StringByteConverter. toString(Object object)StringDateConverter. toString(Object object)StringDoubleConverter. toString(Object object)StringFloatConverter. toString(Object object)StringIntConverter. toString(Object object)StringLongConverter. toString(Object object)default StringObjectConverter. toString(Object object)StringShortConverter. toString(Object object)StringStringConverter. toString(Object object)StringTimestampConverter. toString(Object object)default TimeObjectConverter. toTime(Object object)TimeTimestampConverter. toTime(Object object)TimestampDateConverter. toTimestamp(Object object)TimestampIntConverter. toTimestamp(Object object)TimestampIntConverter. toTimestamp(Object object, int scale)TimestampLongConverter. toTimestamp(Object object)TimestampLongConverter. toTimestamp(Object object, int scale)default TimestampObjectConverter. toTimestamp(Object object)default TimestampObjectConverter. toTimestamp(Object object, int scale)TimestampStringConverter. toTimestamp(Object object)TimestampTimestampConverter. 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 DatabricksSQLException Modifier and Type Method Description ObjectVolumeOperationResult. getObject(int columnIndex)booleanVolumeOperationResult. next()Constructors in com.databricks.jdbc.api.impl.volume that throw DatabricksSQLException Constructor Description VolumeOperationResult(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 DatabricksSQLException Modifier and Type Method Description voidIDatabricksStatementInternal. allowInputStreamForVolumeOperation(boolean allowedInputStream)voidIDatabricksSession. close()Closes the session.voidIDatabricksStatementInternal. close(boolean removeFromSession)IDatabricksComputeResourceIDatabricksSession. getComputeResource()Get the warehouse associated with the session.StringIDatabricksSession. 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 DatabricksSQLException Modifier and Type Method Description static <T extends Number>
voidValidationUtil. checkIfNonNegative(T number, String fieldName)static List<List<Object>>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)static List<List<Object>>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 DatabricksSQLException Modifier and Type Method Description voidIDatabricksClient. cancelStatement(StatementId statementId)Cancels a statement in Databricks servervoidIDatabricksClient. closeStatement(StatementId statementId)Closes a statement in Databricks serverImmutableSessionInfoIDatabricksClient. 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-IdTFetchResultsRespIDatabricksClient. getMoreResults(IDatabricksStatementInternal parentStatement)Collection<ExternalLink>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 DatabricksSQLException Modifier and Type Method Description voidDatabricksSdkClient. cancelStatement(StatementId typedStatementId)voidDatabricksSdkClient. closeStatement(StatementId typedStatementId)ImmutableSessionInfoDatabricksSdkClient. createSession(IDatabricksComputeResource warehouse, String catalog, String schema, Map<String,String> sessionConf)voidDatabricksSdkClient. deleteSession(ImmutableSessionInfo sessionInfo)TFetchResultsRespDatabricksSdkClient. getMoreResults(IDatabricksStatementInternal parentStatement)Collection<ExternalLink>DatabricksSdkClient. getResultChunks(StatementId typedStatementId, long chunkIndex)StringCommandBuilder. getSQLString(CommandName command)DatabricksResultSetDatabricksSdkClient. 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 DatabricksSQLException Modifier and Type Method Description voidDatabricksThriftServiceClient. cancelStatement(StatementId statementId)voidDatabricksThriftServiceClient. closeStatement(StatementId statementId)ImmutableSessionInfoDatabricksThriftServiceClient. createSession(IDatabricksComputeResource cluster, String catalog, String schema, Map<String,String> sessionConf)voidDatabricksThriftServiceClient. deleteSession(ImmutableSessionInfo sessionInfo)TFetchResultsRespDatabricksThriftServiceClient. getMoreResults(IDatabricksStatementInternal parentStatement)Collection<ExternalLink>DatabricksThriftServiceClient. getResultChunks(StatementId statementId, long chunkIndex)DatabricksResultSetDatabricksThriftServiceClient. 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.exception Modifier and Type Class Description classDatabricksHttpExceptionException class to handle http errors while downloading chunk data from external links.classDatabricksParsingExceptionclassDatabricksSQLFeatureNotImplementedExceptionclassDatabricksSSLExceptionException class to handle SSL/TLS configuration and handshake errors.classDatabricksTemporaryRedirectExceptionclassDatabricksValidationExceptionTop level exception for Databricks driverclassDatabricksVolumeOperationExceptionException class to handle volume operation errors.
-