public static class RecoverySource.SnapshotRecoverySource extends RecoverySource
RecoverySource.LocalShardsRecoverySource, RecoverySource.PeerRecoverySource, RecoverySource.SnapshotRecoverySource, RecoverySource.StoreRecoverySource, RecoverySource.Type
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
SnapshotRecoverySource(Snapshot snapshot,
Version version,
java.lang.String index) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalFields(XContentBuilder builder,
ToXContent.Params params)
to be overridden by subclasses
|
boolean |
equals(java.lang.Object o) |
RecoverySource.Type |
getType() |
int |
hashCode() |
java.lang.String |
index() |
Snapshot |
snapshot() |
java.lang.String |
toString() |
Version |
version() |
protected void |
writeAdditionalFields(StreamOutput out)
to be overridden by subclasses
|
readFrom, toXContent, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isFragment
public Snapshot snapshot()
public java.lang.String index()
public Version version()
protected void writeAdditionalFields(StreamOutput out) throws java.io.IOException
RecoverySource
writeAdditionalFields
in class RecoverySource
java.io.IOException
public RecoverySource.Type getType()
getType
in class RecoverySource
public void addAdditionalFields(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
RecoverySource
addAdditionalFields
in class RecoverySource
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class RecoverySource
public int hashCode()
hashCode
in class RecoverySource