| java.lang.Object org.continuent.sequoia.controller.requests.RequestFactory org.continuent.sequoia.controller.requests.SequoiaRequestFactory
SequoiaRequestFactory | public class SequoiaRequestFactory extends RequestFactory (Code) | | This class defines a factory to create Sequoia requests based on a given SQL
query.
It defines the regexp to use for request parsing and implements the
getXXXRequest() methods that create the corresponding request with custom
types
author: Emmanuel Cecchet author: Gilles Rayrat version: 2.0 |
Method Summary | |
public AlterRequest | getAlterRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) | public CreateRequest | getCreateRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) | public DeleteRequest | getDeleteRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) | public DropRequest | getDropRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) | public InsertRequest | getInsertRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) | public SelectRequest | getSelectRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) | public StoredProcedure | getStoredProcedure(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) | public UnknownReadRequest | getUnknownReadRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) | public UnknownWriteRequest | getUnknownWriteRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) | public UpdateRequest | getUpdateRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) |
SequoiaRequestFactory | public SequoiaRequestFactory()(Code) | | Creates a new SequoiaRequestFactory by specifying a SequoiaRequestRegExp as
regular expressions to be used
|
Methods inherited from org.continuent.sequoia.controller.requests.RequestFactory | protected AbstractRequest decodeReadRequestFromString(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) protected AbstractRequest decodeWriteRequestFromString(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected AlterRequest getAlterRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected CreateRequest getCreateRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected DeleteRequest getDeleteRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected DropRequest getDropRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected InsertRequest getInsertRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected SelectRequest getSelectRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected StoredProcedure getStoredProcedure(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected UnknownReadRequest getUnknownReadRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected UnknownWriteRequest getUnknownWriteRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) abstract protected UpdateRequest getUpdateRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) public boolean isAuthorizedRequest(String sql)(Code)(Java Doc) public boolean isBroadcastRequired(int transactionIsolationLevel)(Code)(Java Doc) public AbstractRequest requestFromString(String sqlQuery, boolean isProbablyAReadRequest, boolean escapeProcessing, int timeout, String lineSeparator)(Code)(Java Doc) public boolean requestNeedsExecute(AbstractRequest request)(Code)(Java Doc)
|
|
|