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
-
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.Returns the value of thequeryIndex
record component.rowLimit()
Returns the value of therowLimit
record component.searchId()
Returns the value of thesearchId
record component.Returns the value of thesearchTypeIndex
record component.final String
toString()
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 aSearchPivotLimitMigration
record class.- Parameters:
searchId
- the value for thesearchId
record componentqueryIndex
- the value for thequeryIndex
record componentsearchTypeIndex
- the value for thesearchTypeIndex
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)
. -
searchId
Returns the value of thesearchId
record component.- Returns:
- the value of the
searchId
record component
-
queryIndex
Returns the value of thequeryIndex
record component.- Returns:
- the value of the
queryIndex
record component
-
searchTypeIndex
Returns the value of thesearchTypeIndex
record component.- Returns:
- the value of the
searchTypeIndex
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
-