Module org.elasticsearch.compute
Class AggregationOperator.Status
java.lang.Object
org.elasticsearch.compute.operator.AggregationOperator.Status
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,Operator.Status,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
AggregationOperator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.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
ConstructorsModifierConstructorDescriptionStatus(long aggregationNanos, long aggregationFinishNanos, int pagesProcessed, long rowsReceived, long rowsEmitted) Build.protectedStatus(StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionlongNanoseconds this operator has spent running the aggregations final evaluation.longNanoseconds this operator has spent running the aggregations.booleaninthashCode()intCount of pages this operator has processed.longCount of rows this operator has emitted.longCount of rows this operator has received.toString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.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
documentsFound, 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 aggregationNanos, long aggregationFinishNanos, int pagesProcessed, long rowsReceived, long rowsEmitted) Build.- Parameters:
aggregationNanos- Nanoseconds this operator has spent running the aggregations.aggregationFinishNanos- Nanoseconds this operator has spent running the aggregations.pagesProcessed- Count of pages this operator has processed.
-
Status
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
aggregationNanos
public long aggregationNanos()Nanoseconds this operator has spent running the aggregations. -
aggregationFinishNanos
public long aggregationFinishNanos()Nanoseconds this operator has spent running the aggregations final evaluation. -
pagesProcessed
public int pagesProcessed()Count of pages this operator has processed. -
rowsReceived
public long rowsReceived()Count of rows this operator has received. -
rowsEmitted
public long rowsEmitted()Count of rows this operator has emitted. -
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-