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(org.teiid.query.sql.lang.Query query,
List<SQLParameter> parameters) |
void |
executeSQL(org.teiid.query.sql.lang.Query query,
List<SQLParameter> parameters,
boolean calculateTotalSize,
Integer skipOption,
Integer topOption,
String nextOption,
int pageSize,
QueryResponse response) |
UpdateResponse |
executeUpdate(org.teiid.query.sql.lang.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, org.teiid.core.TeiidProcessingException
open
in interface Client
SQLException
org.teiid.core.TeiidProcessingException
public void close() throws SQLException
close
in interface Client
SQLException
public ConnectionImpl getConnection()
public static ConnectionImpl buildConnection(TeiidDriver driver, String vdbName, String version, Properties props) throws SQLException
SQLException
public VDBMetaData getVDB()
public void executeCall(String sql, List<SQLParameter> parameters, ProcedureReturnType returnType, OperationResponse response) throws SQLException
executeCall
in interface Client
SQLException
public MetadataStore getMetadataStore()
getMetadataStore
in interface Client
public void executeSQL(org.teiid.query.sql.lang.Query query, List<SQLParameter> parameters, boolean calculateTotalSize, Integer skipOption, Integer topOption, String nextOption, int pageSize, QueryResponse response) throws SQLException
executeSQL
in interface Client
SQLException
public CountResponse executeCount(org.teiid.query.sql.lang.Query query, List<SQLParameter> parameters) throws SQLException
executeCount
in interface Client
SQLException
public UpdateResponse executeUpdate(org.teiid.query.sql.lang.Command query, List<SQLParameter> parameters) throws SQLException
executeUpdate
in interface Client
SQLException
public String getProperty(String key)
getProperty
in interface Client
public String startTransaction() throws SQLException
startTransaction
in interface Client
SQLException
public void commit(String txnId) throws SQLException
commit
in interface Client
SQLException
public void rollback(String txnId) throws SQLException
rollback
in interface Client
SQLException
Copyright © 2016 JBoss by Red Hat. All rights reserved.