public class OwSortSpecification extends Object
SQL AST node : <sort specification> syntax non-terminal as defined by the SQL grammar.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwSortSpecification(OwColumnReference columnReferences_p)
Constructor
|
OwSortSpecification(OwColumnReference columnReferences_p,
boolean ascending_p)
Constructor
|
Modifier and Type | Method and Description |
---|---|
StringBuilder |
createSortSpecificationSQLString() |
List<OwColumnQualifier> |
getColumnQualifiers() |
public static final String ASC
public static final String DESC
public OwSortSpecification(OwColumnReference columnReferences_p)
columnReferences_p
- public OwSortSpecification(OwColumnReference columnReferences_p, boolean ascending_p)
columnReferences_p
- ascending_p
- true
for an "ASC" sort specificationfalse
for a "DESC" sort specificationpublic StringBuilder createSortSpecificationSQLString()
StringBuilder
filled with the String representation of this sort specificationpublic List<OwColumnQualifier> getColumnQualifiers()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.