public interface ESPagedUpdateVersionSpec extends ESVersionSpec
Represents a version specifier that enables the pagination of an update.
Pagination is recommended in case of large incoming ESChangePackages
that possibly may not fit into memory on the client side.
BASE, BRANCH_DEFAULT_NAME, FACTORY, GLOBAL, HEAD| Modifier and Type | Method and Description |
|---|---|
ESPrimaryVersionSpec |
getBaseVersion()
The base version from which on counting of changes should occur.
|
int |
getMaxChanges()
Returns the maximum of allowed changes that make up a page.
|
getBranchESPrimaryVersionSpec getBaseVersion()
ESPrimaryVersionSpec that contains exactly the number
of maximally allowed changes or lessint getMaxChanges()
Copyright © 2017. All rights reserved.