Module org.elasticsearch.compute
Record Class TsInfoOperator.FinalFactory
java.lang.Object
java.lang.Record
org.elasticsearch.compute.operator.TsInfoOperator.FinalFactory
- Record Components:
channels- the 7 input channel indices for [metric_name, data_stream, unit, metric_type, field_type, dimension_fields, dimensions]
- All Implemented Interfaces:
Describable,Operator.OperatorFactory
- Enclosing class:
TsInfoOperator
public static record TsInfoOperator.FinalFactory(int[] channels)
extends Record
implements Operator.OperatorFactory
Factory for FINAL mode (coordinator): merges 7-column pages from multiple data nodes.
-
Constructor Summary
ConstructorsConstructorDescriptionFinalFactory(int[] channels) Creates an instance of aFinalFactoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionint[]channels()Returns the value of thechannelsrecord component.describe()Returns a description of the component.final booleanIndicates whether some other object is "equal to" this one.get(DriverContext driverContext) Creates a new intermediate operator.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FinalFactory
public FinalFactory(int[] channels) Creates an instance of aFinalFactoryrecord class.- Parameters:
channels- the value for thechannelsrecord component
-
-
Method Details
-
get
Description copied from interface:Operator.OperatorFactoryCreates a new intermediate operator.- Specified by:
getin interfaceOperator.OperatorFactory
-
describe
Description copied from interface:DescribableReturns a description of the component. This description can be more specific than Object::toString.- Specified by:
describein interfaceDescribable- Returns:
- the description
-
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 withObjects::equals(Object,Object). -
channels
public int[] channels()Returns the value of thechannelsrecord component.- Returns:
- the value of the
channelsrecord component
-