Module org.elasticsearch.compute
Record Class TimeSeriesCollapseOperator.Factory
java.lang.Object
java.lang.Record
org.elasticsearch.compute.operator.TimeSeriesCollapseOperator.Factory
- All Implemented Interfaces:
Describable,Operator.OperatorFactory
- Enclosing class:
TimeSeriesCollapseOperator
public static record TimeSeriesCollapseOperator.Factory(List<BlockHash.GroupSpec> groups, int valueChannel, int stepChannel, long start, long end, long step, int maxPageSize, int aggregationBatchSize)
extends Record
implements Operator.OperatorFactory
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(List<BlockHash.GroupSpec> groups, int valueChannel, int stepChannel, long start, long end, long step) Factory(List<BlockHash.GroupSpec> groups, int valueChannel, int stepChannel, long start, long end, long step, int maxPageSize, int aggregationBatchSize) Creates an instance of aFactoryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theaggregationBatchSizerecord component.describe()Returns a description of the component.longend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.get(DriverContext driverContext) Creates a new intermediate operator.groups()Returns the value of thegroupsrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxPageSizerecord component.longstart()Returns the value of thestartrecord component.longstep()Returns the value of thesteprecord component.intReturns the value of thestepChannelrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thevalueChannelrecord component.
-
Constructor Details
-
Factory
public Factory(List<BlockHash.GroupSpec> groups, int valueChannel, int stepChannel, long start, long end, long step) -
Factory
public Factory(List<BlockHash.GroupSpec> groups, int valueChannel, int stepChannel, long start, long end, long step, int maxPageSize, int aggregationBatchSize) Creates an instance of aFactoryrecord class.- Parameters:
groups- the value for thegroupsrecord componentvalueChannel- the value for thevalueChannelrecord componentstepChannel- the value for thestepChannelrecord componentstart- the value for thestartrecord componentend- the value for theendrecord componentstep- the value for thesteprecord componentmaxPageSize- the value for themaxPageSizerecord componentaggregationBatchSize- the value for theaggregationBatchSizerecord 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 '=='. -
groups
Returns the value of thegroupsrecord component.- Returns:
- the value of the
groupsrecord component
-
valueChannel
public int valueChannel()Returns the value of thevalueChannelrecord component.- Returns:
- the value of the
valueChannelrecord component
-
stepChannel
public int stepChannel()Returns the value of thestepChannelrecord component.- Returns:
- the value of the
stepChannelrecord component
-
start
public long start()Returns the value of thestartrecord component.- Returns:
- the value of the
startrecord component
-
end
public long end()Returns the value of theendrecord component.- Returns:
- the value of the
endrecord component
-
step
public long step()Returns the value of thesteprecord component.- Returns:
- the value of the
steprecord component
-
maxPageSize
public int maxPageSize()Returns the value of themaxPageSizerecord component.- Returns:
- the value of the
maxPageSizerecord component
-
aggregationBatchSize
public int aggregationBatchSize()Returns the value of theaggregationBatchSizerecord component.- Returns:
- the value of the
aggregationBatchSizerecord component
-