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.Params
EMPTY_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, wait
toXContent
protected InternalFacet()
protected InternalFacet(String facetName)
public abstract BytesReference streamType()
public abstract Facet reduce(InternalFacet.ReduceContext context)
public final String getName()
Facet
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2015. All rights reserved.