org.sql.generation.api.grammar.builders.query
Interface OrderByBuilder

All Superinterfaces:
AbstractBuilder<OrderByClause>

public interface OrderByBuilder
extends AbstractBuilder<OrderByClause>

The builder that builds the ORDER BY clause in SQL SELECT query.

Author:
Stanislav Muhametsin
See Also:
OrderByClause, SortSpecification

Method Summary
 OrderByBuilder addSortSpecs(SortSpecification... specs)
          Adds sort specifications to this ORDER BY clause.
 java.util.List<SortSpecification> getSortSpecs()
          Returns the list of added sort specifications.
 
Methods inherited from interface org.sql.generation.api.grammar.builders.AbstractBuilder
createExpression
 

Method Detail

addSortSpecs

OrderByBuilder addSortSpecs(SortSpecification... specs)
Adds sort specifications to this ORDER BY clause.

Parameters:
specs - The sort specifications for this ORDER BY clause.
Returns:
This builder.

getSortSpecs

java.util.List<SortSpecification> getSortSpecs()
Returns the list of added sort specifications.

Returns:
The added sort specifications.


Copyright © 2010. All Rights Reserved.