Class AttributeValueFromXContent
- java.lang.Object
-
- com.floragunn.searchsupport.xcontent.AttributeValueFromXContent
-
- All Implemented Interfaces:
org.elasticsearch.xcontent.XContent
public class AttributeValueFromXContent extends Object implements org.elasticsearch.xcontent.XContent
-
-
Constructor Summary
Constructors Constructor Description AttributeValueFromXContent(String attributeName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.elasticsearch.xcontent.XContentGeneratorcreateGenerator(OutputStream os, Set<String> includes, Set<String> excludes)org.elasticsearch.xcontent.XContentParsercreateParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, byte[] data)org.elasticsearch.xcontent.XContentParsercreateParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, byte[] data, int offset, int length)org.elasticsearch.xcontent.XContentParsercreateParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, InputStream is)org.elasticsearch.xcontent.XContentParsercreateParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, InputStream is, org.elasticsearch.xcontent.support.filtering.FilterPath[] includes, org.elasticsearch.xcontent.support.filtering.FilterPath[] excludes)org.elasticsearch.xcontent.XContentParsercreateParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, Reader reader)org.elasticsearch.xcontent.XContentParsercreateParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, String content)static Objectget(org.elasticsearch.xcontent.ToXContent toXContent, String attributeName)ObjectgetAttributeValue()bytestreamSeparator()org.elasticsearch.xcontent.XContentTypetype()
-
-
-
Constructor Detail
-
AttributeValueFromXContent
public AttributeValueFromXContent(String attributeName)
-
-
Method Detail
-
get
public static Object get(org.elasticsearch.xcontent.ToXContent toXContent, String attributeName)
-
type
public org.elasticsearch.xcontent.XContentType type()
- Specified by:
typein interfaceorg.elasticsearch.xcontent.XContent
-
streamSeparator
public byte streamSeparator()
- Specified by:
streamSeparatorin interfaceorg.elasticsearch.xcontent.XContent
-
createGenerator
public org.elasticsearch.xcontent.XContentGenerator createGenerator(OutputStream os, Set<String> includes, Set<String> excludes) throws IOException
- Specified by:
createGeneratorin interfaceorg.elasticsearch.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.xcontent.XContentParser createParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, String content) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.xcontent.XContentParser createParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, InputStream is) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.xcontent.XContentParser createParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, byte[] data) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.xcontent.XContentParser createParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, byte[] data, int offset, int length) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.xcontent.XContentParser createParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, Reader reader) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.xcontent.XContent- Throws:
IOException
-
createParser
public org.elasticsearch.xcontent.XContentParser createParser(org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.xcontent.DeprecationHandler deprecationHandler, InputStream is, org.elasticsearch.xcontent.support.filtering.FilterPath[] includes, org.elasticsearch.xcontent.support.filtering.FilterPath[] excludes) throws IOException- Specified by:
createParserin interfaceorg.elasticsearch.xcontent.XContent- Throws:
IOException
-
getAttributeValue
public Object getAttributeValue()
-
-