Uses of Class
org.apache.arrow.adbc.core.AdbcException
Packages that use AdbcException
Package
Description
ADBC (Arrow Database Connectivity) is an API standard for Arrow-based database access.
-
Uses of AdbcException in org.apache.arrow.adbc.core
Methods in org.apache.arrow.adbc.core that return AdbcExceptionModifier and TypeMethodDescriptionstatic AdbcExceptionCreate a new exception with codeAdbcStatusCode.INTERNAL.static AdbcExceptionAdbcException.invalidArgument(String message) Create a new exception with codeAdbcStatusCode.INVALID_ARGUMENT.static AdbcExceptionAdbcException.invalidState(String message) Create a new exception with codeAdbcStatusCode.INVALID_STATE.static AdbcExceptionCreate a new exception with codeAdbcStatusCode.IO.static AdbcExceptionAdbcException.notImplemented(String message) Create a new exception with codeAdbcStatusCode.NOT_IMPLEMENTED.Copy this exception with a different cause (a convenience for use with the static factories).AdbcException.withDetails(Collection<ErrorDetail> details) Copy this exception with different details (a convenience for use with the static factories).Methods in org.apache.arrow.adbc.core that throw AdbcExceptionModifier and TypeMethodDescriptionBulkIngestBuilder.appendMode()Append to the target table; fail if not found.default voidAdbcStatement.bind(ArrowReader reader) Bind an ArrowReader to provide parameter values/bulk data ingestion.default voidAdbcStatement.bind(VectorSchemaRoot root) Bind a VectorSchemaRoot to provide parameter values/bulk data ingestion.BulkIngestBuilder.bind(ArrowReader stream) Ingest data from the given reader.BulkIngestBuilder.bind(VectorSchemaRoot root) Ingest data from the given root.default AdbcStatementAdbcConnection.bulkIngest(String targetTableName, BulkIngestMode mode) Create a new statement to bulk ingest Arrow data into a table.default AdbcStatementAdbcConnection.bulkIngest(String targetTableName, BulkIngestMode mode, IngestOption... options) Create a new statement to bulk ingest Arrow data into a table.default voidAdbcConnection.cancel()Cancel execution of a query.default voidAdbcStatement.cancel()Cancel execution of a query.voidAdbcConnection.close()voidAdbcDatabase.close()voidAdbcStatement.close()voidBulkIngestBuilder.close()Clean up any state in this bulk ingest.default voidAdbcConnection.commit()Commit the pending transaction.AdbcDatabase.connect()Create a new connection to the database.BulkIngestBuilder.createAppendMode()Create the target table if necessary, append if already exists.BulkIngestBuilder.createMode()Create the target table; fail if already exists.AdbcConnection.createStatement()Create a new statement that can be executed.default AdbcStatement.PartitionResultAdbcStatement.executePartitioned()Execute a result set-generating query and get a list of partitions of the result set.AdbcStatement.executeQuery()Execute a result set-generating query and get the result.default SchemaAdbcStatement.executeSchema()Get the schema of the result set without executing the query.AdbcStatement.executeUpdate()Execute a query.default booleanAdbcConnection.getAutoCommit()Get the autocommit state.default StringAdbcConnection.getCurrentCatalog()Get the current catalog.default StringAdbcConnection.getCurrentDbSchema()Get the current schema.default ArrowReaderAdbcConnection.getInfo()Get metadata about the driver/database.AdbcConnection.getInfo(int @Nullable [] infoCodes) Get metadata about the driver/database.default ArrowReaderAdbcConnection.getInfo(AdbcInfoCode[] infoCodes) Get metadata about the driver/database.default IsolationLevelAdbcConnection.getIsolationLevel()Get the isolation level used by transactions.default doubleAdbcStatement.getMaxProgress()Get the upper bound of the progress.default ArrowReaderAdbcConnection.getObjects(AdbcConnection.GetObjectsDepth depth, String catalogPattern, String dbSchemaPattern, String tableNamePattern, String[] tableTypes, String columnNamePattern) Get a hierarchical view of all catalogs, database schemas, tables, and columns.default <T> TGet a generic option.default SchemaAdbcStatement.getParameterSchema()Get the schema for bound parameters.default doubleAdbcStatement.getProgress()Get the progress of executing a query.default booleanAdbcConnection.getReadOnly()Get whether the connection is read-only.default ArrowReaderAdbcConnection.getStatisticNames()Get the names of additional statistics defined by this driver.default ArrowReaderAdbcConnection.getStatistics(String catalogPattern, String dbSchemaPattern, String tableNamePattern, boolean approximate) Get statistics about the data distribution of table(s).default SchemaAdbcConnection.getTableSchema(String catalog, String dbSchema, String tableName) Get the Arrow schema of a database table.default ArrowReaderAdbcConnection.getTableTypes()Get a list of table types supported by the database.default AdbcStatement.UpdateResultBulkIngestBuilder.ingest()Execute the bulk ingest.BulkIngestBuilder.mode(BulkIngestMode mode) How to handle an already-existing/non-existent target table.Open a database via this driver.BulkIngestBuilder.option(IngestOption option) Set an arbitrary ingest option.Set a statement option before ingest.default Iterator<AdbcStatement.PartitionResult>AdbcStatement.pollPartitioned()Execute a result set-generating query and get a list of partitions of the result set.voidAdbcStatement.prepare()Turn this statement into a prepared statement.default ArrowReaderAdbcConnection.readPartition(ByteBuffer descriptor) Create a result set from a serialized PartitionDescriptor.BulkIngestBuilder.replaceMode()Drop (if exists) and create the target table.default voidAdbcConnection.rollback()Rollback the pending transaction.default voidAdbcConnection.setAutoCommit(boolean enableAutoCommit) Toggle whether autocommit is enabled.default voidAdbcConnection.setCurrentCatalog(String catalog) Set the current catalog.default voidAdbcConnection.setCurrentDbSchema(String dbSchema) Set the current schema.default voidAdbcConnection.setIsolationLevel(IsolationLevel level) Change the isolation level used by transactions.default <T> voidSet a generic option.default voidDeprecated.default voidAdbcConnection.setReadOnly(boolean isReadOnly) Toggle whether the connection is read-only.default voidAdbcStatement.setSqlQuery(String query) Set a SQL query to be executed on this statement.default voidAdbcStatement.setSubstraitPlan(ByteBuffer plan) Set a Substrait plan to be executed on this statement.BulkIngestBuilder.targetCatalog(String catalog) Ingest into a table in the given catalog.BulkIngestBuilder.targetSchema(String schema) Ingest into a table in the given schema.BulkIngestBuilder.targetTable(String table) Ingest into a table with the given name (required).default BulkIngestBuilderBulkIngestBuilder.temporary()Ingest into a temporary table.BulkIngestBuilder.temporary(boolean isTemporary) Whether to ingest into a temporary table or not.BulkIngestBuilder.toStatement()Convert this builder to anAdbcStatement(low-level API for further control) without executing. -
Uses of AdbcException in org.apache.arrow.adbc.driver.flightsql
Methods in org.apache.arrow.adbc.driver.flightsql that throw AdbcExceptionModifier and TypeMethodDescriptionFlightSqlConnection.bulkIngest(String targetTableName, BulkIngestMode mode) voidFlightSqlConnection.close()voidFlightSqlDatabase.close()voidFlightSqlStatement.close()voidFlightSqlConnection.commit()FlightSqlDatabase.connect()FlightSqlConnection.createStatement()FlightSqlStatement.executePartitioned()FlightSqlStatement.executeQuery()FlightSqlStatement.executeSchema()FlightSqlStatement.executeUpdate()booleanFlightSqlConnection.getAutoCommit()FlightSqlConnection.getInfo(int @Nullable [] infoCodes) FlightSqlConnection.getObjects(AdbcConnection.GetObjectsDepth depth, String catalogPattern, String dbSchemaPattern, String tableNamePattern, String[] tableTypes, String columnNamePattern) FlightSqlStatement.getParameterSchema()voidFlightSqlStatement.prepare()FlightSqlConnection.readPartition(ByteBuffer descriptor) voidFlightSqlConnection.rollback()voidFlightSqlConnection.setAutoCommit(boolean enableAutoCommit) voidFlightSqlStatement.setSqlQuery(String query) -
Uses of AdbcException in org.apache.arrow.adbc.driver.jdbc
Methods in org.apache.arrow.adbc.driver.jdbc that throw AdbcExceptionModifier and TypeMethodDescriptionJdbcConnection.bulkIngest(String targetTableName, BulkIngestMode mode) voidJdbcConnection.close()voidJdbcDataSourceDatabase.close()voidJdbcStatement.close()voidJdbcConnection.commit()JdbcDataSourceDatabase.connect()JdbcConnection.createStatement()JdbcStatement.executeQuery()JdbcStatement.executeSchema()JdbcStatement.executeUpdate()booleanJdbcConnection.getAutoCommit()JdbcConnection.getCurrentCatalog()JdbcConnection.getCurrentDbSchema()JdbcConnection.getInfo(int @Nullable [] infoCodes) JdbcConnection.getIsolationLevel()JdbcConnection.getObjects(AdbcConnection.GetObjectsDepth depth, String catalogPattern, String dbSchemaPattern, String tableNamePattern, String[] tableTypes, String columnNamePattern) JdbcStatement.getParameterSchema()booleanJdbcConnection.getReadOnly()JdbcConnection.getStatisticNames()JdbcConnection.getStatistics(String catalogPattern, String dbSchemaPattern, String tableNamePattern, boolean approximate) JdbcConnection.getTableSchema(String catalog, String dbSchema, String tableName) JdbcConnection.getTableTypes()voidJdbcStatement.prepare()voidJdbcConnection.rollback()voidJdbcConnection.setAutoCommit(boolean enableAutoCommit) voidJdbcConnection.setCurrentCatalog(String catalog) voidJdbcConnection.setCurrentDbSchema(String dbSchema) voidJdbcConnection.setIsolationLevel(IsolationLevel level) voidJdbcConnection.setReadOnly(boolean isReadOnly) voidJdbcStatement.setSqlQuery(String query) -
Uses of AdbcException in org.apache.arrow.adbc.driver.jni
Methods in org.apache.arrow.adbc.driver.jni that throw AdbcExceptionModifier and TypeMethodDescriptionvoidJniStatement.bind(ArrowReader reader) voidJniStatement.bind(VectorSchemaRoot root) JniConnection.bulkIngest(String targetTableName, BulkIngestMode mode) JniConnection.bulkIngest(String targetTableName, BulkIngestMode mode, IngestOption... options) voidJniConnection.cancel()voidJniStatement.cancel()voidJniConnection.close()voidJniDatabase.close()voidJniStatement.close()voidJniConnection.commit()JniDatabase.connect()JniConnection.createStatement()JniStatement.executePartitioned()JniStatement.executeQuery()JniStatement.executeSchema()JniStatement.executeUpdate()booleanJniConnection.getAutoCommit()JniConnection.getCurrentCatalog()JniConnection.getCurrentDbSchema()JniConnection.getInfo(int @Nullable [] infoCodes) JniConnection.getIsolationLevel()doubleJniStatement.getMaxProgress()JniConnection.getObjects(AdbcConnection.GetObjectsDepth depth, String catalogPattern, String dbSchemaPattern, String tableNamePattern, String[] tableTypes, String columnNamePattern) <T> T<T> T<T> TJniStatement.getParameterSchema()doubleJniStatement.getProgress()booleanJniConnection.getReadOnly()JniConnection.getStatisticNames()JniConnection.getStatistics(String catalogPattern, String dbSchemaPattern, String tableNamePattern, boolean approximate) JniConnection.getTableSchema(String catalog, String dbSchema, String tableName) JniConnection.getTableTypes()JniDriver.Builder.open()Load the driver.JniStatement.pollPartitioned()voidJniStatement.prepare()JniConnection.readPartition(ByteBuffer descriptor) voidJniConnection.rollback()voidJniConnection.setAutoCommit(boolean enableAutoCommit) voidJniConnection.setCurrentCatalog(String catalog) voidJniConnection.setCurrentDbSchema(String dbSchema) voidJniConnection.setIsolationLevel(IsolationLevel level) <T> void<T> void<T> voidvoidJniConnection.setReadOnly(boolean isReadOnly) voidJniStatement.setSqlQuery(String query) voidJniStatement.setSubstraitPlan(ByteBuffer plan) -
Uses of AdbcException in org.apache.arrow.adbc.driver.jni.impl
Methods in org.apache.arrow.adbc.driver.jni.impl that throw AdbcExceptionModifier and TypeMethodDescriptionvoidJniLoader.connectionCancel(NativeConnectionHandle connection) voidJniLoader.connectionCommit(NativeConnectionHandle connection) JniLoader.connectionGetInfo(NativeConnectionHandle connection, int[] infoCodes) JniLoader.connectionGetObjects(NativeConnectionHandle connection, int depth, String catalog, String dbSchema, String tableName, String[] tableTypes, String columnName) byte[]JniLoader.connectionGetOptionBytes(NativeConnectionHandle handle, String key) doubleJniLoader.connectionGetOptionDouble(NativeConnectionHandle handle, String key) longJniLoader.connectionGetOptionLong(NativeConnectionHandle handle, String key) JniLoader.connectionGetOptionString(NativeConnectionHandle handle, String key) JniLoader.connectionGetStatisticNames(NativeConnectionHandle connection) JniLoader.connectionGetStatistics(NativeConnectionHandle connection, String catalogPattern, String dbSchemaPattern, String tableNamePattern, boolean approximate) JniLoader.connectionGetTableSchema(NativeConnectionHandle connection, String catalog, String dbSchema, String tableName) JniLoader.connectionGetTableTypes(NativeConnectionHandle connection) JniLoader.connectionReadPartition(NativeConnectionHandle connection, ByteBuffer partition) voidJniLoader.connectionRollback(NativeConnectionHandle connection) voidJniLoader.connectionSetOptionBytes(NativeConnectionHandle handle, String key, byte[] value) voidJniLoader.connectionSetOptionDouble(NativeConnectionHandle handle, String key, double value) voidJniLoader.connectionSetOptionLong(NativeConnectionHandle handle, String key, long value) voidJniLoader.connectionSetOptionString(NativeConnectionHandle connection, String key, String value) byte[]JniLoader.databaseGetOptionBytes(NativeDatabaseHandle handle, String key) doubleJniLoader.databaseGetOptionDouble(NativeDatabaseHandle handle, String key) longJniLoader.databaseGetOptionLong(NativeDatabaseHandle handle, String key) JniLoader.databaseGetOptionString(NativeDatabaseHandle handle, String key) voidJniLoader.databaseSetOptionBytes(NativeDatabaseHandle handle, String key, byte[] value) voidJniLoader.databaseSetOptionDouble(NativeDatabaseHandle handle, String key, double value) voidJniLoader.databaseSetOptionLong(NativeDatabaseHandle handle, String key, long value) voidJniLoader.databaseSetOptionString(NativeDatabaseHandle handle, String key, String value) JniLoader.openConnection(NativeDatabaseHandle database) JniLoader.openDatabase(Map<String, String> parameters) JniLoader.openStatement(NativeConnectionHandle connection) voidJniLoader.statementBind(NativeStatementHandle statement, ArrowArray batch, ArrowSchema schema) voidJniLoader.statementBindStream(NativeStatementHandle statement, ArrowArrayStream stream) voidJniLoader.statementCancel(NativeStatementHandle statement) JniLoader.statementExecutePartitions(NativeStatementHandle statement) JniLoader.statementExecuteQuery(NativeStatementHandle statement) JniLoader.statementExecuteSchema(NativeStatementHandle statement) longJniLoader.statementExecuteUpdate(NativeStatementHandle statement) byte[]JniLoader.statementGetOptionBytes(NativeStatementHandle handle, String key) doubleJniLoader.statementGetOptionDouble(NativeStatementHandle handle, String key) longJniLoader.statementGetOptionLong(NativeStatementHandle handle, String key) JniLoader.statementGetOptionString(NativeStatementHandle handle, String key) JniLoader.statementGetParameterSchema(NativeStatementHandle statement) voidJniLoader.statementPrepare(NativeStatementHandle statement) voidJniLoader.statementSetOptionBytes(NativeStatementHandle handle, String key, byte[] value) voidJniLoader.statementSetOptionDouble(NativeStatementHandle handle, String key, double value) voidJniLoader.statementSetOptionLong(NativeStatementHandle handle, String key, long value) voidJniLoader.statementSetOptionString(NativeStatementHandle statement, String key, String value) voidJniLoader.statementSetSqlQuery(NativeStatementHandle statement, String query) voidJniLoader.statementSetSubstraitPlan(NativeStatementHandle statement, ByteBuffer plan) -
Uses of AdbcException in org.apache.arrow.adbc.driver.testsuite
Methods in org.apache.arrow.adbc.driver.testsuite with parameters of type AdbcExceptionModifier and TypeMethodDescriptionArrowAssertions.assertAdbcException(AdbcException actual) Assert on aAdbcException.Methods in org.apache.arrow.adbc.driver.testsuite that throw AdbcExceptionModifier and TypeMethodDescriptionabstract AdbcDatabaseSqlValidationQuirks.initDatabase(BufferAllocator allocator) -
Uses of AdbcException in org.apache.arrow.adbc.drivermanager
Methods in org.apache.arrow.adbc.drivermanager that throw AdbcException
AdbcOptions.setOption(TypedKey, Object).