Module org.elasticsearch.compute
Class GroupedTopNOperatorStatus
java.lang.Object
org.elasticsearch.compute.operator.topn.GroupedTopNOperatorStatus
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,Operator.Status,ToXContent,ToXContentObject
-
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
ConstructorsConstructorDescriptionGroupedTopNOperatorStatus(long receiveNanos, long emitNanos, int occupiedRows, int groupCount, long ramBytesUsed, int pagesReceived, int pagesEmitted, long rowsReceived, long rowsEmitted) -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanintinthashCode()intintintlonglonglongRows 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
-
GroupedTopNOperatorStatus
public GroupedTopNOperatorStatus(long receiveNanos, long emitNanos, int occupiedRows, int groupCount, long ramBytesUsed, int pagesReceived, int pagesEmitted, long rowsReceived, long rowsEmitted)
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
receiveNanos
public long receiveNanos() -
emitNanos
public long emitNanos() -
occupiedRows
public int occupiedRows() -
groupCount
public int groupCount() -
ramBytesUsed
public long ramBytesUsed() -
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
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
toString
-