|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.cjdbc.scenario.standalone.sql.request.SelectRequestTest.ParsingResult
Stores the expected result of the call to
SelectRequest.parse(DatabaseSchema, int, boolean)
method.
| Field Summary | |
protected java.lang.String |
errorMessage
Error message if the request is invalid. |
protected java.util.ArrayList |
from
Columns concerned by the FROM clause:
ArrayList of AliasedDatabaseTable objects. |
protected boolean |
isValid
true if the request is valid. |
protected java.lang.String |
request
Request to test. |
protected int |
requestType
Request type: either CACHEABLE, UNCACHEABLE or UNIQUE_CACHEABLE. |
protected java.util.ArrayList |
select
Columns concerned by the SELECT clause:
ArrayList of TableColumn objects. |
protected java.util.ArrayList |
where
Columns concerned by the WHERE clause:
ArrayList of TableColumn objects. |
| Constructor Summary | |
protected |
SelectRequestTest.ParsingResult(java.lang.String request,
java.lang.String errorMessage)
Creates a new ParsingResult instance for invalid request. |
protected |
SelectRequestTest.ParsingResult(java.lang.String request,
java.lang.String selectColumns,
java.lang.String fromTables,
java.lang.String whereColumns,
int requestType)
Creates a new ParsingResult instance for valid request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String request
protected boolean isValid
true if the request is valid.
protected java.util.ArrayList select
SELECT clause:
ArrayList of TableColumn objects.
protected java.util.ArrayList from
FROM clause:
ArrayList of AliasedDatabaseTable objects.
protected java.util.ArrayList where
WHERE clause:
ArrayList of TableColumn objects.
protected int requestType
protected java.lang.String errorMessage
| Constructor Detail |
protected SelectRequestTest.ParsingResult(java.lang.String request,
java.lang.String selectColumns,
java.lang.String fromTables,
java.lang.String whereColumns,
int requestType)
ParsingResult instance for valid request.
request - request to test.selectColumns - columns concerned by the SELECT
clause.fromTables - columns concerned by the FROM clause.whereColumns - columns concerned by the WHERE clause.requestType - request type.
protected SelectRequestTest.ParsingResult(java.lang.String request,
java.lang.String errorMessage)
ParsingResult instance for invalid request.
request - invalid request to test.errorMessage - error message.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||