Class FlightSqlConnection
java.lang.Object
org.apache.arrow.adbc.driver.flightsql.FlightSqlConnection
- All Implemented Interfaces:
AutoCloseable,AdbcConnection,AdbcOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.arrow.adbc.core.AdbcConnection
AdbcConnection.GetObjectsDepth -
Method Summary
Modifier and TypeMethodDescriptionbulkIngest(String targetTableName, BulkIngestMode mode) voidclose()voidcommit()booleanorg.apache.arrow.vector.ipc.ArrowReadergetInfo(int @Nullable [] infoCodes) org.apache.arrow.vector.ipc.ArrowReadergetObjects(AdbcConnection.GetObjectsDepth depth, String catalogPattern, String dbSchemaPattern, String tableNamePattern, String[] tableTypes, String columnNamePattern) org.apache.arrow.vector.ipc.ArrowReaderreadPartition(ByteBuffer descriptor) voidrollback()voidsetAutoCommit(boolean enableAutoCommit) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.arrow.adbc.core.AdbcConnection
cancel, getCurrentCatalog, getCurrentDbSchema, getInfo, getInfo, getIsolationLevel, getReadOnly, getStatisticNames, getStatistics, getTableSchema, getTableTypes, setCurrentCatalog, setCurrentDbSchema, setIsolationLevel, setReadOnlyMethods inherited from interface org.apache.arrow.adbc.core.AdbcOptions
getOption, setOption
-
Method Details
-
commit
- Specified by:
commitin interfaceAdbcConnection- Throws:
AdbcException
-
createStatement
- Specified by:
createStatementin interfaceAdbcConnection- Throws:
AdbcException
-
readPartition
public org.apache.arrow.vector.ipc.ArrowReader readPartition(ByteBuffer descriptor) throws AdbcException - Specified by:
readPartitionin interfaceAdbcConnection- Throws:
AdbcException
-
bulkIngest
- Specified by:
bulkIngestin interfaceAdbcConnection- Throws:
AdbcException
-
getObjects
public org.apache.arrow.vector.ipc.ArrowReader getObjects(AdbcConnection.GetObjectsDepth depth, String catalogPattern, String dbSchemaPattern, String tableNamePattern, String[] tableTypes, String columnNamePattern) throws AdbcException - Specified by:
getObjectsin interfaceAdbcConnection- Throws:
AdbcException
-
getInfo
public org.apache.arrow.vector.ipc.ArrowReader getInfo(int @Nullable [] infoCodes) throws AdbcException - Specified by:
getInfoin interfaceAdbcConnection- Throws:
AdbcException
-
rollback
- Specified by:
rollbackin interfaceAdbcConnection- Throws:
AdbcException
-
getAutoCommit
- Specified by:
getAutoCommitin interfaceAdbcConnection- Throws:
AdbcException
-
setAutoCommit
- Specified by:
setAutoCommitin interfaceAdbcConnection- Throws:
AdbcException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
toString
-