Record Class QueryResultImpl<E>
java.lang.Object
java.lang.Record
org.infinispan.query.core.impl.QueryResultImpl<E>
- All Implemented Interfaces:
org.infinispan.commons.api.query.QueryResult<E>, org.infinispan.query.dsl.QueryResult<E>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQueryResultImpl(int hitCount, List<E> list) QueryResultImpl(org.infinispan.commons.api.query.HitCount count, List<E> list) Creates an instance of aQueryResultImplrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.commons.api.query.HitCountcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.list()Returns the value of thelistrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from interface org.infinispan.query.dsl.QueryResult
hitCount
-
Field Details
-
EMPTY
public static final org.infinispan.query.dsl.QueryResult<?> EMPTY
-
-
Constructor Details
-
QueryResultImpl
-
QueryResultImpl
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
count
public org.infinispan.commons.api.query.HitCount count()Returns the value of thecountrecord component. -
list
-