public class Collection
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
changeCollectionViewMode(CollectionViewType view,
CollectionSplitType split)
SetCollectionView sets view mode value to the Collection.
|
void |
delete() |
CollectionSchema |
getSchema()
GetSchema allows to obtain Schema object for current Collection.
|
java.util.List<CollectionSortItem> |
getSort()
GetSort gets sort parameters for the Collection.
|
void |
setSort(java.util.List<CollectionSortItem> sort)
SetSort allows to set field/fields to sort by as well as sort order (ascending or descending).
|
public void delete()
public CollectionSchema getSchema()
public void changeCollectionViewMode(CollectionViewType view, CollectionSplitType split)
view - one of the members of CollectionViewMode enum.split - enum of split mode (selector)public java.util.List<CollectionSortItem> getSort()
public void setSort(java.util.List<CollectionSortItem> sort)
sort - the list of CollectionSortItem.