public class ShardSearchTransportRequest extends TransportRequest implements ShardSearchRequest, IndicesRequest
ShardSearchLocalRequest
but gets sent over the transport and holds also the indices coming from the original request that generated it, plus its headers and context.TransportRequest.EmptyIndicesRequest.Replaceableheaders| コンストラクタと説明 |
|---|
ShardSearchTransportRequest() |
ShardSearchTransportRequest(SearchRequest searchRequest,
ShardRouting shardRouting,
int numberOfShards,
String[] filteringAliases,
long nowInMillis) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
BytesReference |
cacheKey()
Returns the cache key for this shard search request, based on its content
|
BytesReference |
extraSource() |
String[] |
filteringAliases() |
String |
index() |
String[] |
indices()
Returns the array of indices that the action relates to
|
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
boolean |
isProfile()
Returns true if this shard search is being profiled or not
|
long |
nowInMillis() |
int |
numberOfShards() |
void |
readFrom(StreamInput in) |
Boolean |
requestCache() |
Scroll |
scroll() |
SearchType |
searchType() |
void |
setProfile(boolean profile)
Sets if this shard search needs to be profiled or not
|
int |
shardId() |
BytesReference |
source() |
void |
source(BytesReference source) |
Template |
template() |
BytesReference |
templateSource() |
String[] |
types() |
void |
writeTo(StreamOutput out) |
createTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyContextAndHeadersFromcontextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContextcopyHeadersFrom, getHeader, getHeaders, hasHeader, putHeaderpublic ShardSearchTransportRequest()
public ShardSearchTransportRequest(SearchRequest searchRequest, ShardRouting shardRouting, int numberOfShards, String[] filteringAliases, long nowInMillis)
public String[] indices()
IndicesRequestindices インタフェース内 IndicesRequestpublic IndicesOptions indicesOptions()
IndicesRequestindicesOptions インタフェース内 IndicesRequestpublic String index()
index インタフェース内 ShardSearchRequestpublic int shardId()
shardId インタフェース内 ShardSearchRequestpublic String[] types()
types インタフェース内 ShardSearchRequestpublic BytesReference source()
source インタフェース内 ShardSearchRequestpublic void source(BytesReference source)
source インタフェース内 ShardSearchRequestpublic BytesReference extraSource()
extraSource インタフェース内 ShardSearchRequestpublic int numberOfShards()
numberOfShards インタフェース内 ShardSearchRequestpublic SearchType searchType()
searchType インタフェース内 ShardSearchRequestpublic String[] filteringAliases()
filteringAliases インタフェース内 ShardSearchRequestpublic long nowInMillis()
nowInMillis インタフェース内 ShardSearchRequestpublic Template template()
template インタフェース内 ShardSearchRequestpublic BytesReference templateSource()
templateSource インタフェース内 ShardSearchRequestpublic Boolean requestCache()
requestCache インタフェース内 ShardSearchRequestpublic Scroll scroll()
scroll インタフェース内 ShardSearchRequestpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 TransportMessage<TransportRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 TransportMessage<TransportRequest>IOExceptionpublic BytesReference cacheKey() throws IOException
ShardSearchRequestcacheKey インタフェース内 ShardSearchRequestIOExceptionpublic void setProfile(boolean profile)
ShardSearchRequestsetProfile インタフェース内 ShardSearchRequestprofile - True if the shard should be profiledpublic boolean isProfile()
ShardSearchRequestisProfile インタフェース内 ShardSearchRequestCopyright © 2009–2016. All rights reserved.