org.hibernate.search.elasticsearch.nulls.impl

## Class ElasticsearchMissingValueStrategy

- java.lang.Object
- - org.hibernate.search.elasticsearch.nulls.impl.ElasticsearchMissingValueStrategy

- All Implemented Interfaces:
    MissingValueStrategy

      public final class ElasticsearchMissingValueStrategy
      extends Object
      implements MissingValueStrategy

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ElasticsearchMissingValueStrategy(ElasticsearchSchemaTranslator schemaTranslator)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `NullMarkerCodec` | `createNullMarkerCodec(IndexedTypeIdentifier entityType, PartialDocumentFieldMetadata fieldMetadata, NullMarker nullMarker)`

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

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

- - ### Constructor Detail

    - #### ElasticsearchMissingValueStrategy

          public ElasticsearchMissingValueStrategy(ElasticsearchSchemaTranslator schemaTranslator)

  - ### Method Detail

    - #### createNullMarkerCodec

          public NullMarkerCodec createNullMarkerCodec(IndexedTypeIdentifier entityType,
                                                       PartialDocumentFieldMetadata fieldMetadata,
                                                       NullMarker nullMarker)

      Specified by:
        `createNullMarkerCodec` in interface `MissingValueStrategy`
      Parameters:
        `entityType` - The entity on which the null marker is being used.
        `fieldMetadata` - The field metadata we know about so far.
        `nullMarker` - The null marker to use when indexing/querying null values.
      Returns:
        A codec that will index and query the given marker.

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