Package io.camunda.service.search.query
Record Class ProcessInstanceQuery
java.lang.Object
java.lang.Record
io.camunda.service.search.query.ProcessInstanceQuery
- All Implemented Interfaces:
SearchQueryBase,TypedSearchQuery<ProcessInstanceFilter,ProcessInstanceSort>
public record ProcessInstanceQuery(ProcessInstanceFilter filter, ProcessInstanceSort sort, SearchQueryPage page, QueryResultConfig resultConfig)
extends Record
implements TypedSearchQuery<ProcessInstanceFilter,ProcessInstanceSort>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.camunda.service.search.query.SearchQueryBase
SearchQueryBase.AbstractQueryBuilder<T extends SearchQueryBase.AbstractQueryBuilder<T>> -
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceQuery(ProcessInstanceFilter filter, ProcessInstanceSort sort, SearchQueryPage page, QueryResultConfig resultConfig) Creates an instance of aProcessInstanceQueryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.filter()Returns the value of thefilterrecord component.final inthashCode()Returns a hash code value for this object.static ProcessInstanceQuerypage()Returns the value of thepagerecord component.Returns the value of theresultConfigrecord component.sort()Returns the value of thesortrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProcessInstanceQuery
public ProcessInstanceQuery(ProcessInstanceFilter filter, ProcessInstanceSort sort, SearchQueryPage page, QueryResultConfig resultConfig) Creates an instance of aProcessInstanceQueryrecord class.- Parameters:
filter- the value for thefilterrecord componentsort- the value for thesortrecord componentpage- the value for thepagerecord componentresultConfig- the value for theresultConfigrecord component
-
-
Method Details
-
of
public static ProcessInstanceQuery of(Function<ProcessInstanceQuery.Builder, ObjectBuilder<ProcessInstanceQuery>> 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). -
filter
Returns the value of thefilterrecord component.- Specified by:
filterin interfaceTypedSearchQuery<ProcessInstanceFilter,ProcessInstanceSort> - Returns:
- the value of the
filterrecord component
-
sort
Returns the value of thesortrecord component.- Specified by:
sortin interfaceTypedSearchQuery<ProcessInstanceFilter,ProcessInstanceSort> - Returns:
- the value of the
sortrecord component
-
page
Returns the value of thepagerecord component.- Specified by:
pagein interfaceSearchQueryBase- Returns:
- the value of the
pagerecord component
-
resultConfig
Returns the value of theresultConfigrecord component.- Specified by:
resultConfigin interfaceTypedSearchQuery<ProcessInstanceFilter,ProcessInstanceSort> - Returns:
- the value of the
resultConfigrecord component
-