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, waitupdateEventpublic SortOrder apply()
PendingUpdateThis does not result in a permanent update.
apply in interface PendingUpdate<SortOrder>PendingUpdate.commit()public void commit()
PendingUpdateChanges 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)
SortOrderBuilderasc in interface SortOrderBuilder<ReplaceSortOrder>term - an expression termnullOrder - a null order (first or last)public ReplaceSortOrder desc(Term term, NullOrder nullOrder)
SortOrderBuilderdesc in interface SortOrderBuilder<ReplaceSortOrder>term - an expression termnullOrder - a null order (first or last)public ReplaceSortOrder caseSensitive(boolean caseSensitive)
SortOrderBuildercaseSensitive in interface SortOrderBuilder<ReplaceSortOrder>caseSensitive - when true, column name resolution is case-sensitive