Writeable
, ToXContent
, ToXContentObject
public static class RecoverySource.SnapshotRecoverySource extends RecoverySource
RecoverySource.LocalShardsRecoverySource, RecoverySource.PeerRecoverySource, RecoverySource.SnapshotRecoverySource, RecoverySource.StoreRecoverySource, RecoverySource.Type
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
EMPTY_PARAMS
Constructor | Description |
---|---|
SnapshotRecoverySource(Snapshot snapshot,
Version version,
java.lang.String index) |
Modifier and Type | Method | 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
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
readFrom, toXContent, writeTo
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