V
- parameter typepublic final class Facet<V> extends java.lang.Object implements QueryFacet<V>, java.lang.Comparable<Facet<V>>
Facet.
Constructor and Description |
---|
Facet(java.lang.String name) |
Facet(java.lang.String name,
java.lang.String filterName,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Facet<V> o) |
java.lang.String |
getFilterName()
Get the filter name which must be used for filtering facet entries.
|
java.lang.String |
getName() |
int |
getSize()
The size of the facet.
|
V |
getValue() |
void |
setName(java.lang.String name) |
void |
setValue(V value) |
java.lang.String |
toCQL() |
java.lang.String |
toString() |
public Facet(java.lang.String name)
public Facet(java.lang.String name, java.lang.String filterName, int size)
public void setName(java.lang.String name)
setName
in interface QueryOption<V>
public java.lang.String getName()
getName
in interface QueryOption<V>
public void setValue(V value)
setValue
in interface QueryOption<V>
public V getValue()
getValue
in interface QueryOption<V>
public int getSize()
QueryFacet
The size of the facet.
getSize
in interface QueryFacet<V>
public java.lang.String getFilterName()
QueryFacet
Get the filter name which must be used for filtering facet entries.
getFilterName
in interface QueryFacet<V>
public java.lang.String toCQL()
public java.lang.String toString()
toString
in class java.lang.Object