| |
|
| java.lang.Object org.continuent.sequoia.controller.requests.AbstractRequest org.continuent.sequoia.controller.requests.AbstractWriteRequest org.continuent.sequoia.controller.requests.InsertRequest
InsertRequest | public class InsertRequest extends AbstractWriteRequest implements Serializable(Code) | | An InsertRequest is an SQL request of the following syntax:
INSERT INTO table-name [(column-name[,column-name]*)] {VALUES (constant|null[,constant|null]*)}|{SELECT query}
VALUES are ignored.
author: Emmanuel Cecchet version: 1.0 |
Constructor Summary | |
public | InsertRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) Creates a new InsertRequest instance. |
InsertRequest | public InsertRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code) | | Creates a new InsertRequest instance. The caller must give
an SQL request, without any leading or trailing spaces and beginning with
'create table ' (it will not be checked).
The request is not parsed but it can be done later by a call to
InsertRequest.parse(DatabaseSchema,int,boolean) .
Parameters: sqlQuery - the SQL request Parameters: escapeProcessing - should the driver to escape processing beforesending to the database ? Parameters: timeout - an int value Parameters: lineSeparator - the line separator used in the query See Also: InsertRequest.parse(DatabaseSchema,int,boolean) |
debug | public void debug()(Code) | | Displays some debugging information about this request.
|
|
|
|