public class BaseReplaceSortOrder extends java.lang.Object implements ReplaceSortOrder
Modifier and Type | Method and Description |
---|---|
SortOrder |
apply()
Apply the pending changes and return the uncommitted changes for validation.
|
ReplaceSortOrder |
asc(Term term,
NullOrder nullOrder)
Add an expression term to the sort, ascending with the given null order.
|
ReplaceSortOrder |
caseSensitive(boolean caseSensitive)
Set case sensitivity of sort column name resolution.
|
void |
commit()
Apply the pending changes and commit.
|
ReplaceSortOrder |
desc(Term term,
NullOrder nullOrder)
Add an expression term to the sort, ascending with the given null order.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateEvent
public SortOrder apply()
PendingUpdate
This does not result in a permanent update.
apply
in interface PendingUpdate<SortOrder>
PendingUpdate.commit()
public void commit()
PendingUpdate
Changes are committed by calling the underlying table's commit method.
Once the commit is successful, the updated table will be refreshed.
commit
in interface PendingUpdate<SortOrder>
public ReplaceSortOrder asc(Term term, NullOrder nullOrder)
SortOrderBuilder
asc
in interface SortOrderBuilder<ReplaceSortOrder>
term
- an expression termnullOrder
- a null order (first or last)public ReplaceSortOrder desc(Term term, NullOrder nullOrder)
SortOrderBuilder
desc
in interface SortOrderBuilder<ReplaceSortOrder>
term
- an expression termnullOrder
- a null order (first or last)public ReplaceSortOrder caseSensitive(boolean caseSensitive)
SortOrderBuilder
caseSensitive
in interface SortOrderBuilder<ReplaceSortOrder>
caseSensitive
- when true, column name resolution is case-sensitive