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(Query query, List<SQLParameter> parameters)voidexecuteSQL(Query query, List<SQLParameter> parameters, boolean calculateTotalSize, Integer skip, Integer top, String nextOption, int pageSize, QueryResponse response)UpdateResponseexecuteUpdate(Command command, List<SQLParameter> parameters)MetadataStoregetMetadataStore()StringgetProperty(String name)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
VDBMetaData getVDB()
-
getMetadataStore
MetadataStore getMetadataStore()
-
executeCall
void executeCall(String sql, List<SQLParameter> sqlParams, ProcedureReturnType returnType, OperationResponse response) throws SQLException
- Throws:
SQLException
-
executeSQL
void executeSQL(Query query, List<SQLParameter> parameters, boolean calculateTotalSize, Integer skip, Integer top, String nextOption, int pageSize, QueryResponse response) throws SQLException
- Throws:
SQLException
-
executeCount
CountResponse executeCount(Query query, List<SQLParameter> parameters) throws SQLException
- Throws:
SQLException
-
executeUpdate
UpdateResponse executeUpdate(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, TeiidProcessingException
- Throws:
SQLExceptionTeiidProcessingException
-
close
void close() throws SQLException- Throws:
SQLException
-
-