Record Class RollupAction.IsmRollup.DateHistogram
java.lang.Object
java.lang.Record
org.graylog2.indexer.datastream.policy.actions.RollupAction.IsmRollup.DateHistogram
- All Implemented Interfaces:
RollupAction.IsmRollup.Dimension
- Enclosing class:
- RollupAction.IsmRollup
public static record RollupAction.IsmRollup.DateHistogram(String sourceField, String fixedInterval, String timezone)
extends Record
implements RollupAction.IsmRollup.Dimension
-
Constructor Summary
ConstructorsConstructorDescriptionDateHistogram(String sourceField, String fixedInterval, String timezone) Creates an instance of aDateHistogramrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefixedIntervalrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesourceFieldrecord component.timezone()Returns the value of thetimezonerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DateHistogram
Creates an instance of aDateHistogramrecord class.- Parameters:
sourceField- the value for thesourceFieldrecord componentfixedInterval- the value for thefixedIntervalrecord componenttimezone- the value for thetimezonerecord component
-
-
Method Details
-
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). -
sourceField
Returns the value of thesourceFieldrecord component.- Returns:
- the value of the
sourceFieldrecord component
-
fixedInterval
Returns the value of thefixedIntervalrecord component.- Returns:
- the value of the
fixedIntervalrecord component
-
timezone
Returns the value of thetimezonerecord component.- Returns:
- the value of the
timezonerecord component
-