Record Class V20230113095301_MigrateGlobalPivotLimitsToGroupingsInSearches.SearchPivotLimitMigration

java.lang.Object
java.lang.Record
org.graylog2.migrations.V20230113095301_MigrateGlobalPivotLimitsToGroupingsInSearches.SearchPivotLimitMigration
Enclosing class:
V20230113095301_MigrateGlobalPivotLimitsToGroupingsInSearches

public static record V20230113095301_MigrateGlobalPivotLimitsToGroupingsInSearches.SearchPivotLimitMigration(String searchId, Integer queryIndex, Integer searchTypeIndex, Optional<Integer> rowLimit, Optional<Integer> columnLimit) extends Record
  • Constructor Details

    • SearchPivotLimitMigration

      public SearchPivotLimitMigration(String searchId, Integer queryIndex, Integer searchTypeIndex, Optional<Integer> rowLimit, Optional<Integer> columnLimit)
      Creates an instance of a SearchPivotLimitMigration record class.
      Parameters:
      searchId - the value for the searchId record component
      queryIndex - the value for the queryIndex record component
      searchTypeIndex - the value for the searchTypeIndex 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.
    • searchId

      public String searchId()
      Returns the value of the searchId record component.
      Returns:
      the value of the searchId record component
    • queryIndex

      public Integer queryIndex()
      Returns the value of the queryIndex record component.
      Returns:
      the value of the queryIndex record component
    • searchTypeIndex

      public Integer searchTypeIndex()
      Returns the value of the searchTypeIndex record component.
      Returns:
      the value of the searchTypeIndex 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