Package org.graylog2.migrations
Record Class V20230113095300_MigrateGlobalPivotLimitsToGroupingsInViews.ViewWidgetLimitMigration
java.lang.Object
java.lang.Record
org.graylog2.migrations.V20230113095300_MigrateGlobalPivotLimitsToGroupingsInViews.ViewWidgetLimitMigration
- Enclosing class:
- V20230113095300_MigrateGlobalPivotLimitsToGroupingsInViews
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnLimit
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.queryId()
Returns the value of thequeryId
record component.rowLimit()
Returns the value of therowLimit
record component.final String
toString()
Returns a string representation of this record class.viewId()
Returns the value of theviewId
record component.Returns the value of thewidgetIndex
record component.
-
Constructor Details
-
ViewWidgetLimitMigration
public ViewWidgetLimitMigration(String viewId, String queryId, Integer widgetIndex, Optional<Integer> rowLimit, Optional<Integer> columnLimit) Creates an instance of aViewWidgetLimitMigration
record class.- Parameters:
viewId
- the value for theviewId
record componentqueryId
- the value for thequeryId
record componentwidgetIndex
- the value for thewidgetIndex
record componentrowLimit
- the value for therowLimit
record componentcolumnLimit
- the value for thecolumnLimit
record 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)
. -
viewId
Returns the value of theviewId
record component.- Returns:
- the value of the
viewId
record component
-
queryId
Returns the value of thequeryId
record component.- Returns:
- the value of the
queryId
record component
-
widgetIndex
Returns the value of thewidgetIndex
record component.- Returns:
- the value of the
widgetIndex
record component
-
rowLimit
Returns the value of therowLimit
record component.- Returns:
- the value of the
rowLimit
record component
-
columnLimit
Returns the value of thecolumnLimit
record component.- Returns:
- the value of the
columnLimit
record component
-