public class HollowUpdatePlan extends java.lang.Object implements java.lang.Iterable<HollowConsumer.Blob>
HollowConsumer.Blob
s, which will be used to update the current data state to a desired data state.Modifier and Type | Field and Description |
---|---|
static HollowUpdatePlan |
DO_NOTHING |
Constructor and Description |
---|
HollowUpdatePlan() |
Modifier and Type | Method and Description |
---|---|
void |
add(HollowConsumer.Blob transition) |
void |
appendPlan(HollowUpdatePlan plan) |
long |
destinationVersion() |
long |
destinationVersion(long currentVersion) |
java.util.List<HollowConsumer.Blob> |
getDeltaTransitions() |
HollowConsumer.Blob |
getSnapshotTransition() |
HollowConsumer.Blob |
getTransition(int index) |
java.util.List<HollowConsumer.Blob> |
getTransitions() |
java.util.List<HollowConsumer.Blob.BlobType> |
getTransitionSequence() |
boolean |
isSnapshotPlan() |
java.util.Iterator<HollowConsumer.Blob> |
iterator() |
int |
numTransitions() |
public static HollowUpdatePlan DO_NOTHING
public boolean isSnapshotPlan()
public HollowConsumer.Blob getSnapshotTransition()
public java.util.List<HollowConsumer.Blob> getDeltaTransitions()
public HollowConsumer.Blob getTransition(int index)
public java.util.List<HollowConsumer.Blob> getTransitions()
public java.util.List<HollowConsumer.Blob.BlobType> getTransitionSequence()
public long destinationVersion(long currentVersion)
public long destinationVersion()
public int numTransitions()
public void add(HollowConsumer.Blob transition)
public void appendPlan(HollowUpdatePlan plan)
public java.util.Iterator<HollowConsumer.Blob> iterator()
iterator
in interface java.lang.Iterable<HollowConsumer.Blob>