Record Class QueryExecutor
java.lang.Object
java.lang.Record
com.zenith.database.QueryExecutor
-
Constructor Summary
ConstructorsConstructorDescriptionQueryExecutor(org.jdbi.v3.core.Jdbi jdbi) Creates an instance of aQueryExecutorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.voidfinal inthashCode()Returns a hash code value for this object.org.jdbi.v3.core.Jdbijdbi()Returns the value of thejdbirecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QueryExecutor
public QueryExecutor(org.jdbi.v3.core.Jdbi jdbi) Creates an instance of aQueryExecutorrecord class.- Parameters:
jdbi- the value for thejdbirecord component
-
-
Method Details
-
execute
-
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). -
jdbi
public org.jdbi.v3.core.Jdbi jdbi()Returns the value of thejdbirecord component.- Returns:
- the value of the
jdbirecord component
-