Module org.elasticsearch.server
Record Class StageSpec.GcdStage
java.lang.Object
java.lang.Record
org.elasticsearch.index.codec.tsdb.pipeline.StageSpec.GcdStage
- All Implemented Interfaces:
StageSpec,StageSpec.TransformSpec
- Enclosing interface:
StageSpec
GCD factoring: divides all values by their greatest common divisor.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.index.codec.tsdb.pipeline.StageSpec
StageSpec.BitPackPayload, StageSpec.DeltaStage, StageSpec.GcdStage, StageSpec.OffsetStage, StageSpec.PayloadSpec, StageSpec.TransformSpec -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.stageId()Returns the persisted stage identifier for this specification.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GcdStage
public GcdStage()Creates an instance of aGcdStagerecord class.
-
-
Method Details
-
stageId
Description copied from interface:StageSpecReturns the persisted stage identifier for this specification. -
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.
-