public class ElasticsearchInstantBridge extends ElasticsearchTemporalAccessorStringBridge<java.time.Instant>
Instant to a String in ISO-8601 extended format (9 digits for the year instead of 4).
The formatting is done using the UTC timezone.
Be aware that this format is not the same as DateTimeFormatter.ISO_INSTANT
(mainly because of the second fraction field, which is at least 3 characters long), nor as Elasticsearch's
"strict_date_optional_time" format (since years with more than 4 digits are allowed).
| Modifier and Type | Field and Description |
|---|---|
static ElasticsearchInstantBridge |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
protected IllegalArgumentException |
createInvalidIndexNullAsException(String indexNullAs,
java.time.DateTimeException e) |
getEncodingType, objectToString, parseIndexNullAs, stringToObjectcreateNullMarkerpublic static final ElasticsearchInstantBridge INSTANCE
protected IllegalArgumentException createInvalidIndexNullAsException(String indexNullAs, java.time.DateTimeException e)
createInvalidIndexNullAsException in class ElasticsearchTemporalAccessorStringBridge<java.time.Instant>Copyright © 2006–2016 Hibernate. All rights reserved.