FacetResult Class

public class FacetResult extends Facet

Successfully executed facet containing additional statistics on the response of a query.

Constructors

FacetResult()

Methods

count()

Get number of records returned in the facet response.

data()

Get a table containing the desired facets.

totalRecords()

Get number of total records in the facet results.

withCount(int count)

Set number of records returned in the facet response.

withData(Object data)

Set a table containing the desired facets.

withTotalRecords(long totalRecords)

Set number of total records in the facet results.

Inherited Members

Facet.expression() Facet.withExpression(String expression) java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Applies to