public class PercolateShardResponse extends BroadcastShardResponse
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() |
List<Map<String,HighlightField>> |
hls() |
boolean |
isEmpty() |
org.apache.lucene.util.BytesRef[] |
matches() |
byte |
percolatorTypeId() |
List<SiblingPipelineAggregator> |
pipelineAggregators() |
void |
readFrom(StreamInput in) |
int |
requestedSize() |
float[] |
scores() |
void |
writeTo(StreamOutput out) |
getIndex, getShardIdremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, 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 InternalAggregations aggregations()
public List<SiblingPipelineAggregator> pipelineAggregators()
public byte percolatorTypeId()
public boolean isEmpty()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BroadcastShardResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BroadcastShardResponseIOExceptionCopyright © 2009–2017. All rights reserved.