|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.oda.spec.result.ResultSetSpecification
public class ResultSetSpecification
Specification of the characteristics of an IResultSet
to be retrieved by the associated IQuery.
Its application would impact the shape of data retrieved in a result set,
in addition to any specification expressed in a query text.
| Method Summary | |
|---|---|
FilterExpression |
getFilterSpecification()
Gets the current filtering specification of a query result set. |
ResultProjection |
getResultProjection()
Gets the current projection of a query result set. |
SortSpecification |
getSortSpecification()
Gets the current sorting specification of a query result set. |
boolean |
isEmpty()
Indicates whether this has an empty content. |
void |
setFilterSpecification(FilterExpression filterExpr)
Specifies the filtering characteristics of a query result set. |
void |
setResultProjection(ResultProjection projectionSpec)
Specifies the projection of a query result set. |
void |
setSortSpecification(SortSpecification sortSpec)
Specifies the sorting characteristics of a query result set. |
void |
validate(ValidationContext context)
Validates this in the specified context. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setFilterSpecification(FilterExpression filterExpr)
filterExpr - a composite or atomic FilterExpression
with corresponding variable and argument valuespublic FilterExpression getFilterSpecification()
FilterExpression,
or null if not explicitly specifiedpublic void setResultProjection(ResultProjection projectionSpec)
projectionSpec - a ResultProjectionpublic ResultProjection getResultProjection()
ResultProjection,
or null if not explicitly specifiedpublic void setSortSpecification(SortSpecification sortSpec)
This will replace
IQuery.setSortSpec(org.eclipse.datatools.connectivity.oda.SortSpec)
when it becomes API.
sortBy - a SortSpecificationpublic SortSpecification getSortSpecification()
This will replace IQuery.getSortSpec()
when it becomes API.
SortSpecification,
or null if not explicitly specifiedpublic boolean isEmpty()
public void validate(ValidationContext context)
throws OdaException
context - context for validation; may be null which would limit the scope of validation
OdaException - if validation failed. The exception thrown may be a chained OdaException,
which identifies each of those specification component(s) that has caused
the validation exception.org.eclipse.datatools.connectivity.oda.spec.util.ValidatorUtil}
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||