C# Class Lucene.Net.Facet.FacetResult

Counts or aggregates for a single dimension.
Datei anzeigen Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Equals ( object _other ) : bool
FacetResult ( string dim, string path, float value, LabelAndValue labelValues, int childCount ) : Lucene.Net.Support

Constructor for float value. Makes the ToString() method print the value as a float with at least 1 number after the decimal.

FacetResult ( string dim, string path, int value, LabelAndValue labelValues, int childCount ) : Lucene.Net.Support

Constructor for int value. Makes the ToString() method print the value as an int with no decimal.

GetHashCode ( ) : int
ToString ( ) : string

Private Methods

Method Description
FacetResult ( string dim, string path, LabelAndValue labelValues, int childCount ) : Lucene.Net.Support

Private constructor for shared parameters to be called by public constructors.

Method Details

Equals() public method

public Equals ( object _other ) : bool
_other object
return bool

FacetResult() public method

Constructor for float value. Makes the ToString() method print the value as a float with at least 1 number after the decimal.
public FacetResult ( string dim, string path, float value, LabelAndValue labelValues, int childCount ) : Lucene.Net.Support
dim string
path string
value float
labelValues LabelAndValue
childCount int
return Lucene.Net.Support

FacetResult() public method

Constructor for int value. Makes the ToString() method print the value as an int with no decimal.
public FacetResult ( string dim, string path, int value, LabelAndValue labelValues, int childCount ) : Lucene.Net.Support
dim string
path string
value int
labelValues LabelAndValue
childCount int
return Lucene.Net.Support

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string