public class

SortSpecification

extends NodeSupport
java.lang.Object
   ↳ CommonAST
     ↳ org.hibernate.sql.ordering.antlr.NodeSupport
       ↳ org.hibernate.sql.ordering.antlr.SortSpecification

Class Overview

Models each sorting exprersion.

Summary

Public Constructors
SortSpecification()
Public Methods
CollationSpecification getCollation()
Locate the specified collation specification, if one.
OrderingSpecification getOrdering()
Locate the specified ordering specification, if one.
SortKey getSortKey()
Locate the specified SortKey.
[Expand]
Inherited Methods
From class org.hibernate.sql.ordering.antlr.NodeSupport
From class java.lang.Object
From interface org.hibernate.sql.ordering.antlr.Node

Public Constructors

public SortSpecification ()

Public Methods

public CollationSpecification getCollation ()

Locate the specified collation specification, if one.

Returns
  • The collation specification, or null if none was specified.

public OrderingSpecification getOrdering ()

Locate the specified ordering specification, if one.

Returns
  • The ordering specification, or null if none was specified.

public SortKey getSortKey ()

Locate the specified SortKey.

Returns
  • The sort key.