Package org.apache.iceberg
Interface SortOrderBuilder<R>
- 
- All Known Subinterfaces:
- ReplaceSortOrder
 - All Known Implementing Classes:
- BaseReplaceSortOrder,- SortOrder.Builder
 
 public interface SortOrderBuilder<R>Methods for building a sort order.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Rasc(java.lang.String name)Add a field to the sort by field name, ascending with nulls first.default Rasc(java.lang.String name, NullOrder nullOrder)Add a field to the sort by field name, ascending with the given null order.default Rasc(Term term)Add an expression term to the sort, ascending with nulls first.Rasc(Term term, NullOrder nullOrder)Add an expression term to the sort, ascending with the given null order.default Rdesc(java.lang.String name)Add a field to the sort by field name, ascending with nulls first.default Rdesc(java.lang.String name, NullOrder nullOrder)Add a field to the sort by field name, ascending with the given null order.default Rdesc(Term term)Add an expression term to the sort, ascending with nulls first.Rdesc(Term term, NullOrder nullOrder)Add an expression term to the sort, ascending with the given null order.
 
- 
- 
- 
Method Detail- 
ascdefault R asc(java.lang.String name) Add a field to the sort by field name, ascending with nulls first.- Parameters:
- name- a field name
- Returns:
- this for method chaining
 
 - 
ascdefault R asc(java.lang.String name, NullOrder nullOrder) Add a field to the sort by field name, ascending with the given null order.- Parameters:
- name- a field name
- nullOrder- a null order (first or last)
- Returns:
- this for method chaining
 
 - 
ascdefault R asc(Term term) Add an expression term to the sort, ascending with nulls first.- Parameters:
- term- an expression term
- Returns:
- this for method chaining
 
 - 
ascR asc(Term term, NullOrder nullOrder) Add an expression term to the sort, ascending with the given null order.- Parameters:
- term- an expression term
- nullOrder- a null order (first or last)
- Returns:
- this for method chaining
 
 - 
descdefault R desc(java.lang.String name) Add a field to the sort by field name, ascending with nulls first.- Parameters:
- name- a field name
- Returns:
- this for method chaining
 
 - 
descdefault R desc(java.lang.String name, NullOrder nullOrder) Add a field to the sort by field name, ascending with the given null order.- Parameters:
- name- a field name
- nullOrder- a null order (first or last)
- Returns:
- this for method chaining
 
 - 
descdefault R desc(Term term) Add an expression term to the sort, ascending with nulls first.- Parameters:
- term- an expression term
- Returns:
- this for method chaining
 
 
- 
 
-