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) |
contextpublic String type()
type in class MetaData.Custom.Factory<RestoreMetaData>public RestoreMetaData readFrom(StreamInput in) throws IOException
readFrom in class MetaData.Custom.Factory<RestoreMetaData>IOExceptionpublic void writeTo(RestoreMetaData repositories, StreamOutput out) throws IOException
writeTo in class MetaData.Custom.Factory<RestoreMetaData>IOExceptionpublic RestoreMetaData fromXContent(XContentParser parser) throws IOException
fromXContent in class MetaData.Custom.Factory<RestoreMetaData>IOExceptionpublic void toXContent(RestoreMetaData customIndexMetaData, XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in class MetaData.Custom.Factory<RestoreMetaData>IOExceptionpublic void toXContent(RestoreMetaData.Entry entry, XContentBuilder builder, ToXContent.Params params) throws IOException
entry - restore operation metadatabuilder - XContent builderparams - serialization parametersIOExceptionCopyright © 2009–2016. All rights reserved.