Module org.elasticsearch.compute
Class TopNOperatorStatus
java.lang.Object
org.elasticsearch.compute.operator.topn.TopNOperatorStatus
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,Operator.Status,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
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
ConstructorsConstructorDescriptionTopNOperatorStatus(int occupiedRows, long ramBytesUsed, int pagesReceived, int pagesEmitted, long rowsReceived, long rowsEmitted) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()intintintlonglonglongorg.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, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
ENTRY
-
-
Constructor Details
-
TopNOperatorStatus
public TopNOperatorStatus(int occupiedRows, 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
-
occupiedRows
public int occupiedRows() -
ramBytesUsed
public long ramBytesUsed() -
pagesReceived
public int pagesReceived() -
pagesEmitted
public int pagesEmitted() -
rowsReceived
public long rowsReceived() -
rowsEmitted
public long rowsEmitted() -
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() -
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-