org.hibernate.search.engine.nulls.impl

## Interface MissingValueStrategy

- All Known Implementing Classes:
    ElasticsearchMissingValueStrategy, LuceneMissingValueStrategy

      public interface MissingValueStrategy

  Strategy for handling missing values.

  Currently only serves as a factory for `NullMarkerCodec`s, but could be extended in the future to also handle exists/missing queries (see HSEARCH-2389).

  Author:
    Yoann Rodiere

- - ### Method Summary

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

- - ### Method Detail

    - #### createNullMarkerCodec

          NullMarkerCodec createNullMarkerCodec(IndexedTypeIdentifier entityType,
                                                PartialDocumentFieldMetadata fieldMetadata,
                                                NullMarker marker)

      Parameters:
        `entityType` - The entity on which the null marker is being used.
        `fieldMetadata` - The field metadata we know about so far.
        `marker` - 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