Module org.elasticsearch.compute
Record Class TimeSeriesAggregationOperatorFactories.Intermediate
java.lang.Object
java.lang.Record
org.elasticsearch.compute.operator.TimeSeriesAggregationOperatorFactories.Intermediate
- All Implemented Interfaces:
Describable,Operator.OperatorFactory
- Enclosing class:
TimeSeriesAggregationOperatorFactories
public static record TimeSeriesAggregationOperatorFactories.Intermediate(int tsHashChannel, int timeBucketChannel, List<BlockHash.GroupSpec> groupings, List<AggregatorFunctionSupplier> rates, List<AggregatorFunctionSupplier> nonRates, int maxPageSize)
extends Record
implements Operator.OperatorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionIntermediate(int tsHashChannel, int timeBucketChannel, List<BlockHash.GroupSpec> groupings, List<AggregatorFunctionSupplier> rates, List<AggregatorFunctionSupplier> nonRates, int maxPageSize) Creates an instance of aIntermediaterecord class. -
Method Summary
Modifier and TypeMethodDescriptiondescribe()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.Returns the value of thegroupingsrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxPageSizerecord component.nonRates()Returns the value of thenonRatesrecord component.rates()Returns the value of theratesrecord component.intReturns the value of thetimeBucketChannelrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetsHashChannelrecord component.
-
Constructor Details
-
Intermediate
public Intermediate(int tsHashChannel, int timeBucketChannel, List<BlockHash.GroupSpec> groupings, List<AggregatorFunctionSupplier> rates, List<AggregatorFunctionSupplier> nonRates, int maxPageSize) Creates an instance of aIntermediaterecord class.- Parameters:
tsHashChannel- the value for thetsHashChannelrecord componenttimeBucketChannel- the value for thetimeBucketChannelrecord componentgroupings- the value for thegroupingsrecord componentrates- the value for theratesrecord componentnonRates- the value for thenonRatesrecord componentmaxPageSize- the value for themaxPageSizerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
tsHashChannel
public int tsHashChannel()Returns the value of thetsHashChannelrecord component.- Returns:
- the value of the
tsHashChannelrecord component
-
timeBucketChannel
public int timeBucketChannel()Returns the value of thetimeBucketChannelrecord component.- Returns:
- the value of the
timeBucketChannelrecord component
-
groupings
Returns the value of thegroupingsrecord component.- Returns:
- the value of the
groupingsrecord component
-
rates
Returns the value of theratesrecord component.- Returns:
- the value of the
ratesrecord component
-
nonRates
Returns the value of thenonRatesrecord component.- Returns:
- the value of the
nonRatesrecord component
-
maxPageSize
public int maxPageSize()Returns the value of themaxPageSizerecord component.- Returns:
- the value of the
maxPageSizerecord component
-