public class ElasticsearchYearBridge extends ElasticsearchTemporalAccessorStringBridge<Year>
Year
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" format, since years with more than 4 digits are allowed.
Modifier and Type | Field and Description |
---|---|
static ElasticsearchYearBridge |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
protected IllegalArgumentException |
createInvalidIndexNullAsException(String indexNullAs,
DateTimeException e) |
getEncodingType, objectToString, parseIndexNullAs, stringToObject
createNullMarker
public static final ElasticsearchYearBridge INSTANCE
protected IllegalArgumentException createInvalidIndexNullAsException(String indexNullAs, DateTimeException e)
createInvalidIndexNullAsException
in class ElasticsearchTemporalAccessorStringBridge<Year>
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved