public class ElasticsearchYearMonthBridge extends ElasticsearchTemporalAccessorStringBridge<YearMonth>
YearMonth
to a String
in ISO-8601 extended format (9 digits for the year instead of 4).
Be aware that this format is not the same as Elasticsearch's "strict_year_month" format, since years with more than 4 digits are allowed.
Modifier and Type | Field and Description |
---|---|
static ElasticsearchYearMonthBridge |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
protected IllegalArgumentException |
createInvalidIndexNullAsException(String indexNullAs,
DateTimeException e) |
getEncodingType, objectToString, parseIndexNullAs, stringToObject
createNullMarker
public static final ElasticsearchYearMonthBridge INSTANCE
protected IllegalArgumentException createInvalidIndexNullAsException(String indexNullAs, DateTimeException e)
createInvalidIndexNullAsException
in class ElasticsearchTemporalAccessorStringBridge<YearMonth>
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved