Package org.apache.iceberg
Class BaseReplaceSortOrder
java.lang.Object
org.apache.iceberg.BaseReplaceSortOrder
- All Implemented Interfaces:
- PendingUpdate<SortOrder>,- ReplaceSortOrder,- SortOrderBuilder<ReplaceSortOrder>
- 
Method SummaryModifier and TypeMethodDescriptionapply()Apply the pending changes and return the uncommitted changes for validation.Add an expression term to the sort, ascending with the given null order.caseSensitive(boolean caseSensitive) Set case sensitivity of sort column name resolution.voidcommit()Apply the pending changes and commit.Add an expression term to the sort, descending with the given null order.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.PendingUpdateupdateEvent
- 
Method Details- 
applyDescription copied from interface:PendingUpdateApply the pending changes and return the uncommitted changes for validation.This does not result in a permanent update. - Specified by:
- applyin interface- PendingUpdate<SortOrder>
- Returns:
- the uncommitted changes that would be committed by calling PendingUpdate.commit()
 
- 
commitpublic void commit()Description copied from interface:PendingUpdateApply the pending changes and commit.Changes are committed by calling the underlying table's commit method. Once the commit is successful, the updated table will be refreshed. - Specified by:
- commitin interface- PendingUpdate<SortOrder>
 
- 
ascDescription copied from interface:SortOrderBuilderAdd an expression term to the sort, ascending with the given null order.- Specified by:
- ascin interface- SortOrderBuilder<ReplaceSortOrder>
- Parameters:
- term- an expression term
- nullOrder- a null order (first or last)
- Returns:
- this for method chaining
 
- 
descDescription copied from interface:SortOrderBuilderAdd an expression term to the sort, descending with the given null order.- Specified by:
- descin interface- SortOrderBuilder<ReplaceSortOrder>
- Parameters:
- term- an expression term
- nullOrder- a null order (first or last)
- Returns:
- this for method chaining
 
- 
caseSensitiveDescription copied from interface:SortOrderBuilderSet case sensitivity of sort column name resolution.- Specified by:
- caseSensitivein interface- SortOrderBuilder<ReplaceSortOrder>
- Parameters:
- caseSensitive- when true, column name resolution is case-sensitive
- Returns:
- this for method chaining
 
 
-