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
IOException
public abstract void writeTo(T customIndexMetaData, StreamOutput out) throws IOException
IOException
public abstract T fromXContent(XContentParser parser) throws IOException
IOException
public abstract void toXContent(T customIndexMetaData, XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
public EnumSet<MetaData.XContentContext> context()
Copyright © 2009–2015. All rights reserved.