public class RestoreSource extends Objectimplements Streamable , ToXContent
ToXContent.DelegatingMapParams , ToXContent.MapParams , ToXContent.Params EMPTY_PARAMS| Constructor and Description |
|---|
RestoreSource(SnapshotId
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object
|
int |
hashCode()
|
String |
index()
|
void |
readFrom(StreamInput
|
static RestoreSource |
readOptionalRestoreSource(StreamInput
|
static RestoreSource |
readRestoreSource(StreamInput
|
SnapshotId |
snapshotId()
|
String |
toString()
|
XContentBuilder |
toXContent(XContentBuilder
|
void |
writeTo(StreamOutput
|
public RestoreSource(SnapshotIdsnapshotId, String index)
public SnapshotIdsnapshotId()
public Stringindex()
public static RestoreSourcereadRestoreSource(StreamInput in) throws IOException
IOException
public static RestoreSourcereadOptionalRestoreSource(StreamInput in) throws IOException
IOException
public void readFrom(StreamInputin) throws IOException
readFrom in interface
Streamable
IOException
public void writeTo(StreamOutputout) throws IOException
writeTo in interface
Streamable
IOException
public XContentBuildertoXContent(XContentBuilder builder, ToXContent .Params params) throws IOException
toXContent in interface
ToXContent
IOException
public StringtoString()
public boolean equals(Objecto)
public int hashCode()