Writeable, ToXContent, ToXContentObjectpublic static class RecoverySource.SnapshotRecoverySource extends RecoverySource
RecoverySource.LocalShardsRecoverySource, RecoverySource.PeerRecoverySource, RecoverySource.SnapshotRecoverySource, RecoverySource.StoreRecoverySource, RecoverySource.TypeToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.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, waitreadFrom, toXContent, writeToisFragmentpublic Snapshot snapshot()
public java.lang.String index()
public Version version()
protected void writeAdditionalFields(StreamOutput out) throws java.io.IOException
RecoverySourcewriteAdditionalFields in class RecoverySourcejava.io.IOExceptionpublic RecoverySource.Type getType()
getType in class RecoverySourcepublic void addAdditionalFields(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
RecoverySourceaddAdditionalFields in class RecoverySourcejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class RecoverySourcepublic int hashCode()
hashCode in class RecoverySource