Module org.elasticsearch.compute
Record Class LinearScoreEvalOperator.Status
java.lang.Object
java.lang.Record
org.elasticsearch.compute.operator.fuse.LinearScoreEvalOperator.Status
- All Implemented Interfaces:
NamedWriteable,VersionedNamedWriteable,Writeable,Operator.Status,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
LinearScoreEvalOperator
public static record LinearScoreEvalOperator.Status(long emitNanos, int pagesReceived, int pagesProcessed, long rowsReceived, long rowsEmitted)
extends Record
implements Operator.Status
-
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
FieldsModifier and TypeFieldDescriptionstatic final NamedWriteableRegistry.Entrystatic final TransportVersionFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionStatus(long emitNanos, int pagesReceived, int pagesProcessed, long rowsReceived, long rowsEmitted) Creates an instance of aStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theemitNanosrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thepagesProcessedrecord component.intReturns the value of thepagesReceivedrecord component.longReturns the value of therowsEmittedrecord component.longReturns the value of therowsReceivedrecord component.booleansupportsVersion(TransportVersion version) final StringtoString()Returns a string representation of this record class.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
isFragment
-
Field Details
-
ESQL_FUSE_LINEAR_OPERATOR_STATUS
-
ENTRY
-
-
Constructor Details
-
Status
public Status(long emitNanos, int pagesReceived, int pagesProcessed, long rowsReceived, long rowsEmitted) Creates an instance of aStatusrecord class.- Parameters:
emitNanos- the value for theemitNanosrecord componentpagesReceived- the value for thepagesReceivedrecord componentpagesProcessed- the value for thepagesProcessedrecord componentrowsReceived- the value for therowsReceivedrecord componentrowsEmitted- the value for therowsEmittedrecord component
-
-
Method Details
-
getWriteableName
- Specified by:
getWriteableNamein interfaceNamedWriteable- Specified by:
getWriteableNamein interfaceVersionedNamedWriteable
-
supportsVersion
- Specified by:
supportsVersionin interfaceVersionedNamedWriteable
-
getMinimalSupportedVersion
- Specified by:
getMinimalSupportedVersionin interfaceVersionedNamedWriteable
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
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
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
emitNanos
public long emitNanos()Returns the value of theemitNanosrecord component.- Returns:
- the value of the
emitNanosrecord component
-
pagesReceived
public int pagesReceived()Returns the value of thepagesReceivedrecord component.- Returns:
- the value of the
pagesReceivedrecord component
-
pagesProcessed
public int pagesProcessed()Returns the value of thepagesProcessedrecord component.- Returns:
- the value of the
pagesProcessedrecord component
-
rowsReceived
public long rowsReceived()Returns the value of therowsReceivedrecord component.- Returns:
- the value of the
rowsReceivedrecord component
-
rowsEmitted
public long rowsEmitted()Returns the value of therowsEmittedrecord component.- Returns:
- the value of the
rowsEmittedrecord component
-