BATCH_SIZE, CHARSET, INVALID_CHARACTER_REPLACEMENT, SKIPTOKEN_TIME| Constructor and Description |
|---|
LocalClient(String vdbName,
String vdbVersion,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionImpl |
buildConnection(TeiidDriver driver,
String vdbName,
String version,
Properties props) |
void |
close() |
void |
commit(String txnId) |
void |
executeCall(String sql,
List<SQLParameter> parameters,
ProcedureReturnType returnType,
OperationResponse response) |
CountResponse |
executeCount(Query query,
List<SQLParameter> parameters) |
void |
executeSQL(Query query,
List<SQLParameter> parameters,
boolean calculateTotalSize,
Integer skipOption,
Integer topOption,
String nextOption,
int pageSize,
QueryResponse response) |
UpdateResponse |
executeUpdate(Command query,
List<SQLParameter> parameters) |
ConnectionImpl |
getConnection() |
MetadataStore |
getMetadataStore() |
String |
getProperty(String key) |
VDBMetaData |
getVDB() |
Connection |
open() |
void |
rollback(String txnId) |
String |
startTransaction() |
public LocalClient(String vdbName, String vdbVersion, Properties properties)
public Connection open() throws SQLException, TeiidProcessingException
open in interface ClientSQLExceptionTeiidProcessingExceptionpublic void close()
throws SQLException
close in interface ClientSQLExceptionpublic ConnectionImpl getConnection()
public static ConnectionImpl buildConnection(TeiidDriver driver, String vdbName, String version, Properties props) throws SQLException
SQLExceptionpublic VDBMetaData getVDB()
public void executeCall(String sql, List<SQLParameter> parameters, ProcedureReturnType returnType, OperationResponse response) throws SQLException
executeCall in interface ClientSQLExceptionpublic MetadataStore getMetadataStore()
getMetadataStore in interface Clientpublic void executeSQL(Query query, List<SQLParameter> parameters, boolean calculateTotalSize, Integer skipOption, Integer topOption, String nextOption, int pageSize, QueryResponse response) throws SQLException
executeSQL in interface ClientSQLExceptionpublic CountResponse executeCount(Query query, List<SQLParameter> parameters) throws SQLException
executeCount in interface ClientSQLExceptionpublic UpdateResponse executeUpdate(Command query, List<SQLParameter> parameters) throws SQLException
executeUpdate in interface ClientSQLExceptionpublic String getProperty(String key)
getProperty in interface Clientpublic String startTransaction() throws SQLException
startTransaction in interface ClientSQLExceptionpublic void commit(String txnId) throws SQLException
commit in interface ClientSQLExceptionpublic void rollback(String txnId) throws SQLException
rollback in interface ClientSQLExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.