org.hibernate.search.engine.metadata.impl

## Class FacetMetadata.Builder

- java.lang.Object
- - org.hibernate.search.engine.metadata.impl.FacetMetadata.Builder

- Enclosing class:
    FacetMetadata

      public static class FacetMetadata.Builder
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Builder(BackReference<DocumentFieldMetadata> sourceField, DocumentFieldPath path)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FacetMetadata` | `build()`
    `void` | `setFacetEncoding(FacetEncodingType encoding)`
    `void` | `setFacetEncodingAuto(boolean encodingAuto)`

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

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

- - ### Constructor Detail

    - #### Builder

          public Builder(BackReference<DocumentFieldMetadata> sourceField,
                         DocumentFieldPath path)

  - ### Method Detail

    - #### setFacetEncoding

          public void setFacetEncoding(FacetEncodingType encoding)

    - #### setFacetEncodingAuto

          public void setFacetEncodingAuto(boolean encodingAuto)

    - #### build

          public FacetMetadata build()

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