org.elasticsearch.cluster.metadata
Interface MetaData.Custom.Factory<T extends MetaData.Custom>

Enclosing interface:
MetaData.Custom

public static interface MetaData.Custom.Factory<T extends MetaData.Custom>


Method Summary
 T fromXContent(XContentParser parser)
           
 T readFrom(StreamInput in)
           
 void toXContent(T customIndexMetaData, XContentBuilder builder, ToXContent.Params params)
           
 String type()
           
 void writeTo(T customIndexMetaData, StreamOutput out)
           
 

Method Detail

type

String type()

readFrom

T readFrom(StreamInput in)
                                   throws IOException
Throws:
IOException

writeTo

void writeTo(T customIndexMetaData,
             StreamOutput out)
             throws IOException
Throws:
IOException

fromXContent

T fromXContent(XContentParser parser)
                                       throws IOException
Throws:
IOException

toXContent

void toXContent(T customIndexMetaData,
                XContentBuilder builder,
                ToXContent.Params params)


Copyright © 2009-2012. All Rights Reserved.