org.hibernate.search.elasticsearch.bridge.builtin.time.impl

## Class ElasticsearchMonthDayBridge

- java.lang.Object
- - org.hibernate.search.bridge.util.impl.EncodingStringBridge<T>
  - - org.hibernate.search.elasticsearch.bridge.builtin.time.impl.ElasticsearchTemporalAccessorStringBridge<MonthDay>
    - - org.hibernate.search.elasticsearch.bridge.builtin.time.impl.ElasticsearchMonthDayBridge

- All Implemented Interfaces:
    EncodingBridge, IgnoreAnalyzerBridge, StringBridge, TwoWayStringBridge

      public class ElasticsearchMonthDayBridge
      extends ElasticsearchTemporalAccessorStringBridge<MonthDay>

  Converts a `MonthDay` to a `String` in Elasticsearch's "--MM-dd" format.
  Author:
    Yoann Rodiere

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ElasticsearchMonthDayBridge` | `INSTANCE`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected IllegalArgumentException` | `createInvalidIndexNullAsException(String indexNullAs, DateTimeException e)`

    - ### Methods inherited from class org.hibernate.search.elasticsearch.bridge.builtin.time.impl.ElasticsearchTemporalAccessorStringBridge

      `getEncodingType, objectToString, parseIndexNullAs, stringToObject`

    - ### Methods inherited from class org.hibernate.search.bridge.util.impl.EncodingStringBridge

      `createNullMarker`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INSTANCE

          public static final ElasticsearchMonthDayBridge INSTANCE

  - ### Method Detail

    - #### createInvalidIndexNullAsException

          protected IllegalArgumentException createInvalidIndexNullAsException(String indexNullAs,
                                                                               DateTimeException e)

      Specified by:
        `createInvalidIndexNullAsException` in class `ElasticsearchTemporalAccessorStringBridge<MonthDay>`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved