Package org.graylog2.migrations
Record Class V20230113095301_MigrateGlobalPivotLimitsToGroupingsInSearches.SearchPivotLimitMigration
java.lang.Object
java.lang.Record
org.graylog2.migrations.V20230113095301_MigrateGlobalPivotLimitsToGroupingsInSearches.SearchPivotLimitMigration
- Enclosing class:
- V20230113095301_MigrateGlobalPivotLimitsToGroupingsInSearches
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnLimitrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thequeryIndexrecord component.rowLimit()Returns the value of therowLimitrecord component.searchId()Returns the value of thesearchIdrecord component.Returns the value of thesearchTypeIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SearchPivotLimitMigration
public SearchPivotLimitMigration(String searchId, Integer queryIndex, Integer searchTypeIndex, Optional<Integer> rowLimit, Optional<Integer> columnLimit) Creates an instance of aSearchPivotLimitMigrationrecord class.- Parameters:
searchId- the value for thesearchIdrecord componentqueryIndex- the value for thequeryIndexrecord componentsearchTypeIndex- the value for thesearchTypeIndexrecord componentrowLimit- the value for therowLimitrecord componentcolumnLimit- the value for thecolumnLimitrecord 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). -
searchId
Returns the value of thesearchIdrecord component.- Returns:
- the value of the
searchIdrecord component
-
queryIndex
Returns the value of thequeryIndexrecord component.- Returns:
- the value of the
queryIndexrecord component
-
searchTypeIndex
Returns the value of thesearchTypeIndexrecord component.- Returns:
- the value of the
searchTypeIndexrecord component
-
rowLimit
Returns the value of therowLimitrecord component.- Returns:
- the value of the
rowLimitrecord component
-
columnLimit
Returns the value of thecolumnLimitrecord component.- Returns:
- the value of the
columnLimitrecord component
-