Spring Data Solr

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

java.lang.Object
  extended by org.springframework.data.solr.core.query.result.ValueCountEntry
All Implemented Interfaces:
CountEntry
Direct Known Subclasses:
FieldValueCountEntry, SimpleFacetQueryEntry

public class ValueCountEntry
extends Object
implements CountEntry

Implementation of CountEntry

Author:
Christoph Strobl

Constructor Summary
ValueCountEntry(String value, long valueCount)
           
 
Method Summary
 String getValue()
          The value within the field
 long getValueCount()
          The nr of hits for the value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueCountEntry

public ValueCountEntry(String value,
                       long valueCount)
Method Detail

getValueCount

public long getValueCount()
Description copied from interface: CountEntry
The nr of hits for the value

Specified by:
getValueCount in interface CountEntry
Returns:

getValue

public String getValue()
Description copied from interface: CountEntry
The value within the field

Specified by:
getValue in interface CountEntry
Returns:

Spring Data Solr

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