Spring Data Solr

org.springframework.data.solr.core.query.result
Class SimpleFacetPivotEntry

java.lang.Object
  extended by org.springframework.data.solr.core.query.result.ValueCountEntry
      extended by org.springframework.data.solr.core.query.result.FieldValueCountEntry
          extended by org.springframework.data.solr.core.query.result.SimpleFacetPivotEntry
All Implemented Interfaces:
CountEntry, FacetEntry, FacetFieldEntry, FacetPivotFieldEntry

public class SimpleFacetPivotEntry
extends FieldValueCountEntry
implements FacetPivotFieldEntry

The most trivial implementation of FacetPivotFieldEntry.

Author:
Francisco Spaeth, Christoph Strobl

Constructor Summary
SimpleFacetPivotEntry(Field field, String value, long count)
           
 
Method Summary
 List<FacetPivotFieldEntry> getPivot()
          Get the associated pivot to this FacetFieldEntry.
 void setPivot(List<FacetPivotFieldEntry> pivot)
           
 String toString()
           
 
Methods inherited from class org.springframework.data.solr.core.query.result.FieldValueCountEntry
getField, getKey, setField, setField
 
Methods inherited from class org.springframework.data.solr.core.query.result.ValueCountEntry
getValue, getValueCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.data.solr.core.query.result.FacetFieldEntry
getField, getKey
 
Methods inherited from interface org.springframework.data.solr.core.query.result.CountEntry
getValue, getValueCount
 

Constructor Detail

SimpleFacetPivotEntry

public SimpleFacetPivotEntry(Field field,
                             String value,
                             long count)
Method Detail

getPivot

public List<FacetPivotFieldEntry> getPivot()
Description copied from interface: FacetPivotFieldEntry
Get the associated pivot to this FacetFieldEntry.

Specified by:
getPivot in interface FacetPivotFieldEntry
Returns:

setPivot

public void setPivot(List<FacetPivotFieldEntry> pivot)

toString

public String toString()
Overrides:
toString in class Object

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.