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 SummaryModifier and TypeMethodDescriptiondefault RAdd a field to the sort by field name, ascending with nulls first.default RAdd a field to the sort by field name, ascending with the given null order.default RAdd an expression term to the sort, ascending with nulls first.Add an expression term to the sort, ascending with the given null order.default RcaseSensitive(boolean caseSensitive) Set case sensitivity of sort column name resolution.default RAdd a field to the sort by field name, descending with nulls first.default RAdd a field to the sort by field name, descending with the given null order.default RAdd an expression term to the sort, descending with nulls first.Add an expression term to the sort, descending with the given null order.
- 
Method Details- 
ascAdd a field to the sort by field name, ascending with nulls first.- Parameters:
- name- a field name
- Returns:
- this for method chaining
 
- 
ascAdd 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
 
- 
ascAdd an expression term to the sort, ascending with nulls first.- Parameters:
- term- an expression term
- Returns:
- this for method chaining
 
- 
ascAdd 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
 
- 
descAdd a field to the sort by field name, descending with nulls first.- Parameters:
- name- a field name
- Returns:
- this for method chaining
 
- 
descAdd a field to the sort by field name, descending with the given null order.- Parameters:
- name- a field name
- nullOrder- a null order (first or last)
- Returns:
- this for method chaining
 
- 
descAdd an expression term to the sort, descending with nulls first.- Parameters:
- term- an expression term
- Returns:
- this for method chaining
 
- 
descAdd an expression term to the sort, descending with the given null order.- Parameters:
- term- an expression term
- nullOrder- a null order (first or last)
- Returns:
- this for method chaining
 
- 
caseSensitiveSet case sensitivity of sort column name resolution.- Parameters:
- caseSensitive- when true, column name resolution is case-sensitive
- Returns:
- this for method chaining
 
 
-