Class SQLOrderBy
java.lang.Object
net.ontopia.persistence.query.sql.SQLOrderBy
INTERNAL: SQL order by statement. The order-by instance wraps a
SQLValueIF or SQLAggregateIF instance and specifies whether the
ordering should be ascending or descending.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SQLAggregateIFstatic final intstatic final intprotected intprotected SQLValueIF -
Constructor Summary
ConstructorsConstructorDescriptionSQLOrderBy(SQLAggregateIF aggregate, int order) SQLOrderBy(SQLValueIF value, int order) -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()getValue()booleanvoidsetAggregate(SQLAggregateIF aggregate) voidsetValue(SQLValueIF value) toString()
-
Field Details
-
ASCENDING
public static final int ASCENDING- See Also:
-
DESCENDING
public static final int DESCENDING- See Also:
-
aggregate
-
value
-
order
protected int order
-
-
Constructor Details
-
SQLOrderBy
-
SQLOrderBy
-
-
Method Details