Package org.teiid.odata.api
Interface Client
-
- All Known Implementing Classes:
LocalClient
public interface Client
-
-
Field Summary
Fields Modifier and Type Field Description static String
BATCH_SIZE
static String
CHARSET
static String
INVALID_CHARACTER_REPLACEMENT
static String
SKIPTOKEN_TIME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
void
commit(String txnId)
void
executeCall(String sql, List<SQLParameter> sqlParams, ProcedureReturnType returnType, OperationResponse response)
CountResponse
executeCount(Query query, List<SQLParameter> parameters)
void
executeSQL(Query query, List<SQLParameter> parameters, boolean calculateTotalSize, Integer skip, Integer top, String nextOption, int pageSize, QueryResponse response)
UpdateResponse
executeUpdate(Command command, List<SQLParameter> parameters)
MetadataStore
getMetadataStore()
String
getProperty(String name)
VDBMetaData
getVDB()
Connection
open()
void
rollback(String txnId)
String
startTransaction()
-
-
-
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:
SQLException
TeiidProcessingException
-
close
void close() throws SQLException
- Throws:
SQLException
-
-