@InterfaceStability.Experimental @InterfaceAudience.Private public abstract class AbstractFacetResult extends Object implements FacetResult
| Modifier and Type | Field and Description |
|---|---|
protected String |
field |
protected long |
missing |
protected String |
name |
protected long |
other |
protected long |
total |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFacetResult(String name,
String field,
long total,
long missing,
long other) |
| Modifier and Type | Method and Description |
|---|---|
String |
field() |
long |
missing() |
String |
name() |
long |
other() |
long |
total() |
protected final String name
protected final String field
protected final long total
protected final long missing
protected final long other
public String name()
name in interface FacetResultSearchFacet this result corresponds to.public String field()
field in interface FacetResultSearchFacet was targeting.public long missing()
missing in interface FacetResultpublic long other()
other in interface FacetResultpublic long total()
total in interface FacetResultFacetResult.other() + terms (but doesn’t include FacetResult.missing()).Copyright © 2015 Couchbase, Inc.