org.teiid.client
Interface DQP


public interface DQP


Method Summary
 ResultsFuture<?> begin()
           
 boolean cancelRequest(long requestID)
           
 ResultsFuture<?> closeLobChunkStream(int lobRequestId, long requestId, java.lang.String streamId)
           
 ResultsFuture<?> closeRequest(long requestID)
           
 ResultsFuture<?> commit()
           
 ResultsFuture<?> commit(XidImpl xid, boolean onePhase)
           
 ResultsFuture<?> end(XidImpl xid, int flags)
           
 ResultsFuture<ResultsMessage> executeRequest(long reqID, RequestMessage message)
           
 ResultsFuture<?> forget(XidImpl xid)
           
 MetadataResult getMetadata(long requestID)
           
 MetadataResult getMetadata(long requestID, java.lang.String preparedSql, boolean allowDoubleQuotedVariable)
           
 ResultsFuture<java.lang.Integer> prepare(XidImpl xid)
           
 ResultsFuture<ResultsMessage> processCursorRequest(long reqID, int batchFirst, int fetchSize)
           
 ResultsFuture<javax.transaction.xa.Xid[]> recover(int flag)
           
 ResultsFuture<LobChunk> requestNextLobChunk(int lobRequestId, long requestId, java.lang.String streamId)
           
 ResultsFuture<?> rollback()
           
 ResultsFuture<?> rollback(XidImpl xid)
           
 ResultsFuture<?> start(XidImpl xid, int flags, int timeout)
           
 

Method Detail

executeRequest

ResultsFuture<ResultsMessage> executeRequest(long reqID,
                                             RequestMessage message)
                                             throws TeiidProcessingException,
                                                    TeiidComponentException
Throws:
TeiidProcessingException
TeiidComponentException

processCursorRequest

ResultsFuture<ResultsMessage> processCursorRequest(long reqID,
                                                   int batchFirst,
                                                   int fetchSize)
                                                   throws TeiidProcessingException
Throws:
TeiidProcessingException

closeRequest

ResultsFuture<?> closeRequest(long requestID)
                              throws TeiidProcessingException,
                                     TeiidComponentException
Throws:
TeiidProcessingException
TeiidComponentException

cancelRequest

boolean cancelRequest(long requestID)
                      throws TeiidProcessingException,
                             TeiidComponentException
Throws:
TeiidProcessingException
TeiidComponentException

closeLobChunkStream

ResultsFuture<?> closeLobChunkStream(int lobRequestId,
                                     long requestId,
                                     java.lang.String streamId)
                                     throws TeiidProcessingException,
                                            TeiidComponentException
Throws:
TeiidProcessingException
TeiidComponentException

requestNextLobChunk

ResultsFuture<LobChunk> requestNextLobChunk(int lobRequestId,
                                            long requestId,
                                            java.lang.String streamId)
                                            throws TeiidProcessingException,
                                                   TeiidComponentException
Throws:
TeiidProcessingException
TeiidComponentException

getMetadata

MetadataResult getMetadata(long requestID)
                           throws TeiidComponentException,
                                  TeiidProcessingException
Throws:
TeiidComponentException
TeiidProcessingException

getMetadata

MetadataResult getMetadata(long requestID,
                           java.lang.String preparedSql,
                           boolean allowDoubleQuotedVariable)
                           throws TeiidComponentException,
                                  TeiidProcessingException
Throws:
TeiidComponentException
TeiidProcessingException

begin

ResultsFuture<?> begin()
                       throws XATransactionException
Throws:
XATransactionException

commit

ResultsFuture<?> commit()
                        throws XATransactionException
Throws:
XATransactionException

rollback

ResultsFuture<?> rollback()
                          throws XATransactionException
Throws:
XATransactionException

start

ResultsFuture<?> start(XidImpl xid,
                       int flags,
                       int timeout)
                       throws XATransactionException
Throws:
XATransactionException

end

ResultsFuture<?> end(XidImpl xid,
                     int flags)
                     throws XATransactionException
Throws:
XATransactionException

prepare

ResultsFuture<java.lang.Integer> prepare(XidImpl xid)
                                         throws XATransactionException
Throws:
XATransactionException

commit

ResultsFuture<?> commit(XidImpl xid,
                        boolean onePhase)
                        throws XATransactionException
Throws:
XATransactionException

rollback

ResultsFuture<?> rollback(XidImpl xid)
                          throws XATransactionException
Throws:
XATransactionException

forget

ResultsFuture<?> forget(XidImpl xid)
                        throws XATransactionException
Throws:
XATransactionException

recover

ResultsFuture<javax.transaction.xa.Xid[]> recover(int flag)
                                                  throws XATransactionException
Throws:
XATransactionException


Copyright © 2010. All Rights Reserved.