Class XContentElasticsearchExtension
org.elasticsearch.common.xcontent.XContentElasticsearchExtension
- All Implemented Interfaces:
org.elasticsearch.common.xcontent.XContentBuilderExtension
public class XContentElasticsearchExtension
extends
implements org.elasticsearch.common.xcontent.XContentBuilderExtension
SPI extensions for Elasticsearch-specific classes (like the Lucene or Joda
dependency classes) that need to be encoded by
XContentBuilder
in a
specific way.-
Field Summary
Modifier and TypeFieldDescriptionstatic org.joda.time.format.DateTimeFormatter
static DateFormatter
static DateFormatter
static DateFormatter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<<?>,<,>>
<<?>,org.elasticsearch.common.xcontent.XContentBuilder.HumanReadableTransformer>
<<?>,org.elasticsearch.common.xcontent.XContentBuilder.Writer>
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Field Details
-
DEFAULT_DATE_PRINTER
public static final org.joda.time.format.DateTimeFormatter DEFAULT_DATE_PRINTER -
DEFAULT_FORMATTER
-
LOCAL_TIME_FORMATTER
-
OFFSET_TIME_FORMATTER
-
-
Constructor Details
-
XContentElasticsearchExtension
public XContentElasticsearchExtension()
-
-
Method Details
-
getXContentWriters
public <<?>,org.elasticsearch.common.xcontent.XContentBuilder.Writer> getXContentWriters()- Specified by:
getXContentWriters
in interfaceorg.elasticsearch.common.xcontent.XContentBuilderExtension
-
getXContentHumanReadableTransformers
public <<?>,org.elasticsearch.common.xcontent.XContentBuilder.HumanReadableTransformer> getXContentHumanReadableTransformers()- Specified by:
getXContentHumanReadableTransformers
in interfaceorg.elasticsearch.common.xcontent.XContentBuilderExtension
-
getDateTransformers
public <<?>,<,>> getDateTransformers()- Specified by:
getDateTransformers
in interfaceorg.elasticsearch.common.xcontent.XContentBuilderExtension
-