org.hibernate.search.query.engine.impl

## Class SortConfigurations.Builder

- java.lang.Object
- - org.hibernate.search.query.engine.impl.SortConfigurations.Builder

- Enclosing class:
    SortConfigurations

      public static class SortConfigurations.Builder
      extends Object

  Collects the sortable fields configured for given entities.
  Author:
    Gunnar Morling

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Builder()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SortConfigurations.Builder` | `addSortableField(SortableFieldMetadata sortableFieldMetadata)`
    `SortConfigurations.Builder` | `addSortableFields(Collection<SortableFieldMetadata> sortableFieldMetadata)`
    `SortConfigurations` | `build()`
    `SortConfigurations.Builder` | `setEntityType(IndexedTypeIdentifier indexedTypeIdentifier)`
    `SortConfigurations.Builder` | `setIndex(String indexName)`

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

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

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### setIndex

          public SortConfigurations.Builder setIndex(String indexName)

    - #### setEntityType

          public SortConfigurations.Builder setEntityType(IndexedTypeIdentifier indexedTypeIdentifier)

    - #### addSortableField

          public SortConfigurations.Builder addSortableField(SortableFieldMetadata sortableFieldMetadata)

    - #### addSortableFields

          public SortConfigurations.Builder addSortableFields(Collection<SortableFieldMetadata> sortableFieldMetadata)

    - #### build

          public SortConfigurations build()

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