public class TermVectorsResponse extends ActionResponse implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| コンストラクタと説明 |
|---|
TermVectorsResponse(String index,
String type,
String id) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
org.apache.lucene.index.Fields |
getFields() |
String |
getId() |
String |
getIndex() |
TimeValue |
getTook() |
long |
getTookInMillis() |
String |
getType() |
Long |
getVersion() |
boolean |
isArtificial() |
boolean |
isExists() |
void |
readFrom(StreamInput in) |
void |
setArtificial(boolean artificial) |
void |
setDocVersion(long version) |
void |
setExists(boolean exists) |
void |
setFields(org.apache.lucene.index.Fields termVectorsByField,
Set<String> selectedFields,
EnumSet<TermVectorsRequest.Flag> flags,
org.apache.lucene.index.Fields topLevelFields) |
void |
setFields(org.apache.lucene.index.Fields termVectorsByField,
Set<String> selectedFields,
EnumSet<TermVectorsRequest.Flag> flags,
org.apache.lucene.index.Fields topLevelFields,
AggregatedDfs dfs,
TermVectorsFilter termVectorsFilter) |
void |
setHeader(BytesReference header) |
void |
setTermVectorsField(BytesStreamOutput output) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
updateTookInMillis(long startTime) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 ActionResponseIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 ActionResponseIOExceptionpublic org.apache.lucene.index.Fields getFields()
throws IOException
IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void updateTookInMillis(long startTime)
public TimeValue getTook()
public long getTookInMillis()
public boolean isExists()
public void setExists(boolean exists)
public void setFields(org.apache.lucene.index.Fields termVectorsByField,
Set<String> selectedFields,
EnumSet<TermVectorsRequest.Flag> flags,
org.apache.lucene.index.Fields topLevelFields)
throws IOException
IOExceptionpublic void setFields(org.apache.lucene.index.Fields termVectorsByField,
Set<String> selectedFields,
EnumSet<TermVectorsRequest.Flag> flags,
org.apache.lucene.index.Fields topLevelFields,
@Nullable
AggregatedDfs dfs,
TermVectorsFilter termVectorsFilter)
throws IOException
IOExceptionpublic void setTermVectorsField(BytesStreamOutput output)
public void setHeader(BytesReference header)
public void setDocVersion(long version)
public Long getVersion()
public String getIndex()
public String getType()
public String getId()
public boolean isArtificial()
public void setArtificial(boolean artificial)
Copyright © 2009–2016. All rights reserved.