Module org.elasticsearch.compute
Class AbstractPageMappingToIteratorOperator.Status
java.lang.Object
org.elasticsearch.compute.operator.AbstractPageMappingToIteratorOperator.Status
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,Operator.Status,ToXContent,ToXContentObject
- Direct Known Subclasses:
ValuesSourceReaderOperatorStatus
- Enclosing class:
AbstractPageMappingToIteratorOperator
public static class AbstractPageMappingToIteratorOperator.Status
extends Object
implements Operator.Status
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested 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.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionStatus(long processNanos, int pagesProcessed, int pagesEmitted, long rowsReceived, long rowsEmitted) Status(StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()protected final XContentBuilderinnerToXContent(XContentBuilder builder) Render the body of the object for this status.intintlonglongRows emitted; source operators populate, summed for driver / response-root rollup.longtoString()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.compute.operator.Operator.Status
bytesRead, documentsFound, readNanos, valuesLoadedMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragmentMethods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
supportsVersion
-
Field Details
-
ENTRY
-
-
Constructor Details
-
Status
public Status(long processNanos, int pagesProcessed, int pagesEmitted, long rowsReceived, long rowsEmitted) -
Status
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
pagesReceived
public int pagesReceived() -
pagesEmitted
public int pagesEmitted() -
rowsReceived
public long rowsReceived() -
rowsEmitted
public long rowsEmitted()Description copied from interface:Operator.StatusRows emitted; source operators populate, summed for driver / response-root rollup.- Specified by:
rowsEmittedin interfaceOperator.Status
-
processNanos
public long processNanos() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
innerToXContent
Render the body of the object for this status. Protected so subclasses can call it to render the "default" body.- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-