org.apache.solr.analytics.request

## Class AbstractFieldFacetRequest

- java.lang.Object
- - org.apache.solr.analytics.request.AbstractFieldFacetRequest

- All Implemented Interfaces:
    FacetRequest
  Direct Known Subclasses:
    FieldFacetRequest, RangeFacetRequest

      public abstract class AbstractFieldFacetRequest
      extends Object
      implements FacetRequest

  An abstract request for a facet over a single field, such as a field or range facet.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected SchemaField` | `field`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractFieldFacetRequest(SchemaField field)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SchemaField` | `getField()`
    `String` | `getName()` Get the name of this facet (commonly the field name)
    `void` | `setField(SchemaField field)`

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

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

- - ### Field Detail

    - #### field

          protected SchemaField field

  - ### Constructor Detail

    - #### AbstractFieldFacetRequest

          public AbstractFieldFacetRequest(SchemaField field)

  - ### Method Detail

    - #### getField

          public SchemaField getField()

    - #### setField

          public void setField(SchemaField field)

    - #### getName

          public String getName()

      Description copied from interface: `FacetRequest`
      Get the name of this facet (commonly the field name)
      Specified by:
        `getName` in interface `FacetRequest`
      Returns:
        the name

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.