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.
|
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)