Class FlightSqlStatement
- java.lang.Object
-
- org.apache.arrow.adbc.driver.flightsql.FlightSqlStatement
-
- All Implemented Interfaces:
AutoCloseable,AdbcOptions,AdbcStatement
public class FlightSqlStatement extends Object implements AdbcStatement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.arrow.adbc.core.AdbcStatement
AdbcStatement.PartitionResult, AdbcStatement.QueryResult, AdbcStatement.UpdateResult
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(org.apache.arrow.vector.VectorSchemaRoot root)voidclose()AdbcStatement.PartitionResultexecutePartitioned()AdbcStatement.QueryResultexecuteQuery()org.apache.arrow.vector.types.pojo.SchemaexecuteSchema()AdbcStatement.UpdateResultexecuteUpdate()org.apache.arrow.vector.types.pojo.SchemagetParameterSchema()voidprepare()voidsetSqlQuery(String query)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.arrow.adbc.core.AdbcOptions
getOption, setOption
-
Methods inherited from interface org.apache.arrow.adbc.core.AdbcStatement
cancel, getMaxProgress, getProgress, pollPartitioned, setOption, setSubstraitPlan
-
-
-
-
Method Detail
-
setSqlQuery
public void setSqlQuery(String query) throws AdbcException
- Specified by:
setSqlQueryin interfaceAdbcStatement- Throws:
AdbcException
-
bind
public void bind(org.apache.arrow.vector.VectorSchemaRoot root)
- Specified by:
bindin interfaceAdbcStatement
-
executePartitioned
public AdbcStatement.PartitionResult executePartitioned() throws AdbcException
- Specified by:
executePartitionedin interfaceAdbcStatement- Throws:
AdbcException
-
executeQuery
public AdbcStatement.QueryResult executeQuery() throws AdbcException
- Specified by:
executeQueryin interfaceAdbcStatement- Throws:
AdbcException
-
executeSchema
public org.apache.arrow.vector.types.pojo.Schema executeSchema() throws AdbcException- Specified by:
executeSchemain interfaceAdbcStatement- Throws:
AdbcException
-
executeUpdate
public AdbcStatement.UpdateResult executeUpdate() throws AdbcException
- Specified by:
executeUpdatein interfaceAdbcStatement- Throws:
AdbcException
-
getParameterSchema
public org.apache.arrow.vector.types.pojo.Schema getParameterSchema() throws AdbcException- Specified by:
getParameterSchemain interfaceAdbcStatement- Throws:
AdbcException
-
prepare
public void prepare() throws AdbcException- Specified by:
preparein interfaceAdbcStatement- Throws:
AdbcException
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-