Class SearchChunk<K extends io.vertigo.datamodel.data.model.KeyConcept>
java.lang.Object
io.vertigo.datafactory.search.definitions.SearchChunk<K>
- Type Parameters:
K- the type of the KeyConceptP- the type of the version field value
Chunk of keyConcept uris.
- Author:
- npiedeloup, pchretien
-
Constructor Summary
ConstructorsConstructorDescriptionSearchChunk(List<io.vertigo.core.lang.Tuple<io.vertigo.datamodel.data.model.UID<K>, Serializable>> uids, Serializable lastValue) -
Method Summary
Modifier and TypeMethodDescriptionio.vertigo.core.lang.Tuple<SearchChunk<K>, Set<io.vertigo.datamodel.data.model.UID<K>>> compare(Map<io.vertigo.datamodel.data.model.UID<K>, Serializable> indexedVersions)
-
Constructor Details
-
SearchChunk
public SearchChunk(List<io.vertigo.core.lang.Tuple<io.vertigo.datamodel.data.model.UID<K>, Serializable>> uids, Serializable lastValue) - Parameters:
uids- the list of keyConcept uids with versionlastValue- the list of keyConcept uids
-
-
Method Details
-
getAllUIDs
- Returns:
- All KeyConcept's uids of this chunk
-
getLastValue
- Returns:
- Last iterator value
-
compare
public io.vertigo.core.lang.Tuple<SearchChunk<K>,Set<io.vertigo.datamodel.data.model.UID<K>>> compare(Map<io.vertigo.datamodel.data.model.UID<K>, Serializable> indexedVersions) - Returns:
- Tuple of modified elements based on version value, and set of removed uid
-