Package org.teiid.odata.api
Interface Client
-
- All Known Implementing Classes:
LocalClient
public interface Client
-
-
Field Summary
Fields Modifier and Type Field Description static StringBATCH_SIZEstatic StringCHARSETstatic StringINVALID_CHARACTER_REPLACEMENTstatic StringSKIPTOKEN_TIME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidcommit(String txnId)voidexecuteCall(String sql, List<SQLParameter> sqlParams, ProcedureReturnType returnType, OperationResponse response)CountResponseexecuteCount(org.teiid.query.sql.lang.Query query, List<SQLParameter> parameters)voidexecuteSQL(org.teiid.query.sql.lang.Query query, List<SQLParameter> parameters, boolean calculateTotalSize, Integer skip, Integer top, String nextOption, int pageSize, QueryResponse response)UpdateResponseexecuteUpdate(org.teiid.query.sql.lang.Command command, List<SQLParameter> parameters)org.teiid.metadata.MetadataStoregetMetadataStore()StringgetProperty(String name)org.teiid.adminapi.impl.VDBMetaDatagetVDB()Connectionopen()voidrollback(String txnId)StringstartTransaction()
-
-
-
Field Detail
-
INVALID_CHARACTER_REPLACEMENT
static final String INVALID_CHARACTER_REPLACEMENT
- See Also:
- Constant Field Values
-
BATCH_SIZE
static final String BATCH_SIZE
- See Also:
- Constant Field Values
-
SKIPTOKEN_TIME
static final String SKIPTOKEN_TIME
- See Also:
- Constant Field Values
-
CHARSET
static final String CHARSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVDB
org.teiid.adminapi.impl.VDBMetaData getVDB()
-
getMetadataStore
org.teiid.metadata.MetadataStore getMetadataStore()
-
executeCall
void executeCall(String sql, List<SQLParameter> sqlParams, ProcedureReturnType returnType, OperationResponse response) throws SQLException
- Throws:
SQLException
-
executeSQL
void executeSQL(org.teiid.query.sql.lang.Query query, List<SQLParameter> parameters, boolean calculateTotalSize, Integer skip, Integer top, String nextOption, int pageSize, QueryResponse response) throws SQLException- Throws:
SQLException
-
executeCount
CountResponse executeCount(org.teiid.query.sql.lang.Query query, List<SQLParameter> parameters) throws SQLException
- Throws:
SQLException
-
executeUpdate
UpdateResponse executeUpdate(org.teiid.query.sql.lang.Command command, List<SQLParameter> parameters) throws SQLException
- Throws:
SQLException
-
startTransaction
String startTransaction() throws SQLException
- Throws:
SQLException
-
commit
void commit(String txnId) throws SQLException
- Throws:
SQLException
-
rollback
void rollback(String txnId) throws SQLException
- Throws:
SQLException
-
open
Connection open() throws SQLException, org.teiid.core.TeiidProcessingException
- Throws:
SQLExceptionorg.teiid.core.TeiidProcessingException
-
close
void close() throws SQLException- Throws:
SQLException
-
-