public abstract class InternalFacet extends Object implements Facet, Streamable, ToXContent
| Modifier and Type | Class and Description |
|---|---|
static class |
InternalFacet.ReduceContext |
static interface |
InternalFacet.Stream |
static class |
InternalFacet.Streams |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Modifier | Constructor and Description |
|---|---|
protected |
InternalFacet()
Here just for streams...
|
protected |
InternalFacet(String facetName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
The "logical" name of the search facet.
|
void |
readFrom(StreamInput in) |
abstract Facet |
reduce(InternalFacet.ReduceContext context) |
abstract BytesReference |
streamType() |
void |
writeTo(StreamOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoXContentprotected InternalFacet()
protected InternalFacet(String facetName)
public abstract BytesReference streamType()
public abstract Facet reduce(InternalFacet.ReduceContext context)
public final String getName()
Facetpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2016. All rights reserved.