Record Class CADBQueryProviderType.Service<P,R,Q extends CADatabaseQueryType<P,R>>
java.lang.Object
java.lang.Record
com.io7m.cardant.database.postgres.internal.CADBQueryProviderType.Service<P,R,Q>
- Type Parameters:
P- The type of parametersR- The type of returned valuesQ- The precise query type- Record Components:
interfaceClass- The interface registry classconstructor- The constructor for the query
- Enclosing interface:
CADBQueryProviderType
public static record CADBQueryProviderType.Service<P,R,Q extends CADatabaseQueryType<P,R>> (Class<Q extends CADatabaseQueryType<P,R>> interfaceClass, Function<com.io7m.cardant.database.postgres.internal.CADatabaseTransaction,Q extends CADatabaseQueryType<P,R>> constructor)
extends Record
The query provider information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstructorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinterfaceClassrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
interfaceClass
Returns the value of theinterfaceClassrecord component.- Returns:
- the value of the
interfaceClassrecord component
-
constructor
Returns the value of theconstructorrecord component.- Returns:
- the value of the
constructorrecord component
-