public static class RestoreMetaData.Factory extends MetaData.Custom.Factory<RestoreMetaData>
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
RestoreMetaData |
fromXContent(XContentParser parser) |
RestoreMetaData |
readFrom(StreamInput in) |
void |
toXContent(RestoreMetaData.Entry entry,
XContentBuilder builder,
ToXContent.Params params)
Serializes single restore operation
|
void |
toXContent(RestoreMetaData customIndexMetaData,
XContentBuilder builder,
ToXContent.Params params) |
String |
type() |
void |
writeTo(RestoreMetaData repositories,
StreamOutput out) |
context
public String type()
type
in class MetaData.Custom.Factory<RestoreMetaData>
public RestoreMetaData readFrom(StreamInput in) throws IOException
readFrom
in class MetaData.Custom.Factory<RestoreMetaData>
IOException
public void writeTo(RestoreMetaData repositories, StreamOutput out) throws IOException
writeTo
in class MetaData.Custom.Factory<RestoreMetaData>
IOException
public RestoreMetaData fromXContent(XContentParser parser) throws IOException
fromXContent
in class MetaData.Custom.Factory<RestoreMetaData>
IOException
public void toXContent(RestoreMetaData customIndexMetaData, XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in class MetaData.Custom.Factory<RestoreMetaData>
IOException
public void toXContent(RestoreMetaData.Entry entry, XContentBuilder builder, ToXContent.Params params) throws IOException
entry
- restore operation metadatabuilder
- XContent builderparams
- serialization parametersIOException
Copyright © 2009–2015. All rights reserved.