Record Class V20230113095300_MigrateGlobalPivotLimitsToGroupingsInViews.ViewWidgetLimitMigration

java.lang.Object
java.lang.Record
org.graylog2.migrations.V20230113095300_MigrateGlobalPivotLimitsToGroupingsInViews.ViewWidgetLimitMigration
Enclosing class:
V20230113095300_MigrateGlobalPivotLimitsToGroupingsInViews

public static record V20230113095300_MigrateGlobalPivotLimitsToGroupingsInViews.ViewWidgetLimitMigration(String viewId, String queryId, Integer widgetIndex, Optional<Integer> rowLimit, Optional<Integer> columnLimit) extends Record
  • Constructor Details

    • ViewWidgetLimitMigration

      public ViewWidgetLimitMigration(String viewId, String queryId, Integer widgetIndex, Optional<Integer> rowLimit, Optional<Integer> columnLimit)
      Creates an instance of a ViewWidgetLimitMigration record class.
      Parameters:
      viewId - the value for the viewId record component
      queryId - the value for the queryId record component
      widgetIndex - the value for the widgetIndex record component
      rowLimit - the value for the rowLimit record component
      columnLimit - the value for the columnLimit record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • viewId

      public String viewId()
      Returns the value of the viewId record component.
      Returns:
      the value of the viewId record component
    • queryId

      public String queryId()
      Returns the value of the queryId record component.
      Returns:
      the value of the queryId record component
    • widgetIndex

      public Integer widgetIndex()
      Returns the value of the widgetIndex record component.
      Returns:
      the value of the widgetIndex record component
    • rowLimit

      public Optional<Integer> rowLimit()
      Returns the value of the rowLimit record component.
      Returns:
      the value of the rowLimit record component
    • columnLimit

      public Optional<Integer> columnLimit()
      Returns the value of the columnLimit record component.
      Returns:
      the value of the columnLimit record component