Modifier and Type | Class and Description |
---|---|
static class |
OrderObject.Dir
Enumeration representing the direction of an ordering clause
|
static class |
OrderObject.NullOrder
Enumeration representing the order of NULL
|
ALL_SYMBOL, NULL_VALUE, QUESTION_MARK
Constructor and Description |
---|
OrderObject(OrderObject.Dir dir,
Object obj) |
OrderObject(OrderObject.Dir dir,
SqlObject obj) |
Modifier and Type | Method and Description |
---|---|
void |
appendTo(AppendableExt app)
Appends this object to the given AppendableExt.
|
static OrderObject |
asc(Object obj)
Convenience method for generating an ascending OrderObject for the given
column.
|
protected void |
collectSchemaObjects(ValidationContext vContext)
Used during Query.validate() calls to collect the dbschema objects
referenced in a query.
|
static OrderObject |
desc(Object obj)
Convenience method for generating a descending OrderObject for the given
column.
|
OrderObject |
setNullOrder(OrderObject.NullOrder nullOrder)
Sets the null order for this order specification.
|
collectSchemaObjects, doValidate, toString
toString, toString
public OrderObject(OrderObject.Dir dir, Object obj)
public OrderObject(OrderObject.Dir dir, SqlObject obj)
public OrderObject setNullOrder(OrderObject.NullOrder nullOrder)
protected void collectSchemaObjects(ValidationContext vContext)
SqlObject
collectSchemaObjects
in class SqlObject
vContext
- handle to the current validation contextpublic void appendTo(AppendableExt app) throws IOException
Appendee
appendTo
in interface Appendee
appendTo
in class AppendeeObject
app
- the AppendableExt to which this class should append itselfIOException
- if the append failspublic static OrderObject asc(Object obj)
Object
-> SqlObject
conversions handled by
Converter.toCustomColumnSqlObject(Object)
.
public static OrderObject desc(Object obj)
Object
-> SqlObject
conversions handled by
Converter.toCustomColumnSqlObject(Object)
.
Copyright © 2006–2021 OpenHMS. All rights reserved.