Package org.nuxeo.ecm.platform.query.api
Record Class PageProviderCheckResult
java.lang.Object
java.lang.Record
org.nuxeo.ecm.platform.query.api.PageProviderCheckResult
public record PageProviderCheckResult(String pageProvider, List<SortInfo> orders, long pageSize, Map<String,PageProviderCheckResult.Execution> executions)
extends Record
- Since:
- 2025.19
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPageProviderCheckResult(String pageProvider, List<SortInfo> orders, long pageSize, Map<String, PageProviderCheckResult.Execution> executions) Creates an instance of aPageProviderCheckResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionsrecord component.final inthashCode()Returns a hash code value for this object.orders()Returns the value of theordersrecord component.Returns the value of thepageProviderrecord component.longpageSize()Returns the value of thepageSizerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PageProviderCheckResult
public PageProviderCheckResult(String pageProvider, List<SortInfo> orders, long pageSize, Map<String, PageProviderCheckResult.Execution> executions) Creates an instance of aPageProviderCheckResultrecord class.- Parameters:
pageProvider- the value for thepageProviderrecord componentorders- the value for theordersrecord componentpageSize- the value for thepageSizerecord componentexecutions- the value for theexecutionsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
pageProvider
Returns the value of thepageProviderrecord component.- Returns:
- the value of the
pageProviderrecord component
-
orders
Returns the value of theordersrecord component.- Returns:
- the value of the
ordersrecord component
-
pageSize
public long pageSize()Returns the value of thepageSizerecord component.- Returns:
- the value of the
pageSizerecord component
-
executions
Returns the value of theexecutionsrecord component.- Returns:
- the value of the
executionsrecord component
-