Record Class NuggetIntrospection.Query
java.lang.Object
java.lang.Record
org.j7m.middleware.operations.api.NuggetIntrospection.Query
- Record Components:
offset- zero-based offsetlimit- maximum returned itemssortBy- stable sort fielddirection- sort directionfilters- safe exact-match filters
- Enclosing class:
NuggetIntrospection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NuggetIntrospection.Queryall()Creates the default query.Returns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.filters()Returns the value of thefiltersrecord component.final inthashCode()Returns a hash code value for this object.intlimit()Returns the value of thelimitrecord component.intoffset()Returns the value of theoffsetrecord component.sortBy()Returns the value of thesortByrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Query
public Query(int offset, int limit, String sortBy, NuggetIntrospection.SortDirection direction, Map<String, String> filters) Creates bounded immutable query metadata.
-
-
Method Details
-
all
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
offset
-
limit
-
sortBy
-
direction
-
filters
-