public abstract static class MetaData.Custom.Factory<T extends MetaData.Custom> extends Object
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
EnumSet<MetaData.XContentContext> |
context() |
abstract T |
fromXContent(XContentParser parser) |
abstract T |
readFrom(StreamInput in) |
abstract void |
toXContent(T customIndexMetaData,
XContentBuilder builder,
ToXContent.Params params) |
abstract String |
type() |
abstract void |
writeTo(T customIndexMetaData,
StreamOutput out) |
public abstract String type()
public abstract T readFrom(StreamInput in) throws IOException
IOExceptionpublic abstract void writeTo(T customIndexMetaData, StreamOutput out) throws IOException
IOExceptionpublic abstract T fromXContent(XContentParser parser) throws IOException
IOExceptionpublic abstract void toXContent(T customIndexMetaData, XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionpublic EnumSet<MetaData.XContentContext> context()
Copyright © 2009–2016. All rights reserved.