Package io.camunda.service.search.page
Record Class SearchQueryPage
java.lang.Object
java.lang.Record
io.camunda.service.search.page.SearchQueryPage
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSearchQueryPage(Integer from, Integer size, Object[] searchAfter, Object[] searchBefore) Creates an instance of aSearchQueryPagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.from()Returns the value of thefromrecord component.final inthashCode()Returns a hash code value for this object.booleanbooleanstatic SearchQueryPageObject[]Returns the value of thesearchAfterrecord component.Object[]Returns the value of thesearchBeforerecord component.size()Returns the value of thesizerecord component.Object[]final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SearchQueryPage
Creates an instance of aSearchQueryPagerecord class.- Parameters:
from- the value for thefromrecord componentsize- the value for thesizerecord componentsearchAfter- the value for thesearchAfterrecord componentsearchBefore- the value for thesearchBeforerecord component
-
-
Method Details
-
isNextPage
public boolean isNextPage() -
isPreviousPage
public boolean isPreviousPage() -
startNextPageAfter
-
of
public static SearchQueryPage of(Function<SearchQueryPage.Builder, ObjectBuilder<SearchQueryPage>> fn) -
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). -
from
Returns the value of thefromrecord component.- Returns:
- the value of the
fromrecord component
-
size
Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
searchAfter
Returns the value of thesearchAfterrecord component.- Returns:
- the value of the
searchAfterrecord component
-
searchBefore
Returns the value of thesearchBeforerecord component.- Returns:
- the value of the
searchBeforerecord component
-