Class EsqlQueryResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.xpack.core.esql.action.EsqlQueryResponse
org.elasticsearch.xpack.esql.action.EsqlQueryResponse
- All Implemented Interfaces:
Closeable,AutoCloseable,Writeable,ChunkedToXContent,ChunkedToXContentObject,org.elasticsearch.core.RefCounted,org.elasticsearch.core.Releasable
public class EsqlQueryResponse
extends EsqlQueryResponse
implements ChunkedToXContentObject, org.elasticsearch.core.Releasable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsFields inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
EMPTYFields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED -
Constructor Summary
ConstructorsConstructorDescriptionEsqlQueryResponse(List<ColumnInfoImpl> columns, List<Page> pages, EsqlQueryResponse.Profile profile, boolean columnar, boolean isAsync, EsqlExecutionInfo executionInfo) EsqlQueryResponse(List<ColumnInfoImpl> columns, List<Page> pages, EsqlQueryResponse.Profile profile, boolean columnar, String asyncExecutionId, boolean isRunning, boolean isAsync, EsqlExecutionInfo executionInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()column(int columnIndex) booleancolumnar()columns()booleandecRef()booleaninthashCode()booleanvoidincRef()booleanisAsync()booleanbooleanboolean[]profile()static Writeable.Reader<EsqlQueryResponse> reader(BlockFactory blockFactory) Build a reader for the response.rows()toString()Iterator<? extends org.elasticsearch.xcontent.ToXContent> toXContentChunked(org.elasticsearch.xcontent.ToXContent.Params params) booleanvalues()voidwriteTo(StreamOutput out) Methods inherited from class org.elasticsearch.xpack.core.esql.action.EsqlQueryResponse
responseMethods inherited from class org.elasticsearch.transport.TransportMessage
remoteAddress, remoteAddressMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
toXContentChunkedV7Methods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
Field Details
-
DROP_NULL_COLUMNS_OPTION
- See Also:
-
-
Constructor Details
-
EsqlQueryResponse
public EsqlQueryResponse(List<ColumnInfoImpl> columns, List<Page> pages, @Nullable EsqlQueryResponse.Profile profile, boolean columnar, @Nullable String asyncExecutionId, boolean isRunning, boolean isAsync, EsqlExecutionInfo executionInfo) -
EsqlQueryResponse
public EsqlQueryResponse(List<ColumnInfoImpl> columns, List<Page> pages, @Nullable EsqlQueryResponse.Profile profile, boolean columnar, boolean isAsync, EsqlExecutionInfo executionInfo)
-
-
Method Details
-
reader
Build a reader for the response. -
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
columns
-
values
-
rows
-
column
-
profile
-
columnar
public boolean columnar() -
asyncExecutionId
-
isRunning
public boolean isRunning() -
isAsync
public boolean isAsync() -
getExecutionInfo
-
toXContentChunked
public Iterator<? extends org.elasticsearch.xcontent.ToXContent> toXContentChunked(org.elasticsearch.xcontent.ToXContent.Params params) - Specified by:
toXContentChunkedin interfaceChunkedToXContent
-
nullColumns
public boolean[] nullColumns() -
isFragment
public boolean isFragment()- Specified by:
isFragmentin interfaceChunkedToXContent- Specified by:
isFragmentin interfaceChunkedToXContentObject
-
equals
-
hashCode
public int hashCode() -
toString
-
incRef
public void incRef()- Specified by:
incRefin interfaceorg.elasticsearch.core.RefCounted- Overrides:
incRefin classTransportMessage
-
tryIncRef
public boolean tryIncRef()- Specified by:
tryIncRefin interfaceorg.elasticsearch.core.RefCounted- Overrides:
tryIncRefin classTransportMessage
-
decRef
public boolean decRef()- Specified by:
decRefin interfaceorg.elasticsearch.core.RefCounted- Overrides:
decRefin classTransportMessage
-
hasReferences
public boolean hasReferences()- Specified by:
hasReferencesin interfaceorg.elasticsearch.core.RefCounted- Overrides:
hasReferencesin classTransportMessage
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.elasticsearch.core.Releasable- Overrides:
closein classEsqlQueryResponse
-
responseInternal
- Specified by:
responseInternalin classEsqlQueryResponse
-