public class PercolateShardResponse extends BroadcastShardOperationResponse
TransportResponse.Emptyheaders| Constructor and Description |
|---|
PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches,
List<Map<String,HighlightField>> hls,
long count,
float[] scores,
PercolateContext context,
ShardId shardId) |
PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches,
List<Map<String,HighlightField>> hls,
long count,
PercolateContext context,
ShardId shardId) |
PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches,
long count,
float[] scores,
PercolateContext context,
ShardId shardId) |
PercolateShardResponse(long count,
PercolateContext context,
ShardId shardId) |
PercolateShardResponse(PercolateContext context,
ShardId shardId) |
| Modifier and Type | Method and Description |
|---|---|
InternalAggregations |
aggregations() |
long |
count() |
InternalFacets |
facets() |
List<Map<String,HighlightField>> |
hls() |
boolean |
isEmpty() |
org.apache.lucene.util.BytesRef[] |
matches() |
byte |
percolatorTypeId() |
void |
readFrom(StreamInput in) |
int |
requestedSize() |
float[] |
scores() |
void |
writeTo(StreamOutput out) |
getIndex, getShardIdputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches,
List<Map<String,HighlightField>> hls,
long count,
float[] scores,
PercolateContext context,
ShardId shardId)
public PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches,
long count,
float[] scores,
PercolateContext context,
ShardId shardId)
public PercolateShardResponse(org.apache.lucene.util.BytesRef[] matches,
List<Map<String,HighlightField>> hls,
long count,
PercolateContext context,
ShardId shardId)
public PercolateShardResponse(long count,
PercolateContext context,
ShardId shardId)
public PercolateShardResponse(PercolateContext context, ShardId shardId)
public org.apache.lucene.util.BytesRef[] matches()
public float[] scores()
public long count()
public int requestedSize()
public List<Map<String,HighlightField>> hls()
public InternalFacets facets()
public InternalAggregations aggregations()
public byte percolatorTypeId()
public boolean isEmpty()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BroadcastShardOperationResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BroadcastShardOperationResponseIOExceptionCopyright © 2009–2016. All rights reserved.