Package app.ductape.sdk.database.types
Record Class QueryTypes.RawQueryOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.database.types.QueryTypes.RawQueryOptions
- Enclosing class:
- QueryTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncache()Returns the value of thecacherecord component.Returns the value of thecollectionrecord component.database()Returns the value of thedatabaserecord component.env()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.params()Returns the value of theparamsrecord component.product()Returns the value of theproductrecord component.query()Returns the value of thequeryrecord component.table()Returns the value of thetablerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionrecord component.
-
Constructor Details
-
RawQueryOptions
public RawQueryOptions(String table, Object query, List<Object> params, String collection, String env, String product, String database, Object transaction, String cache) Creates an instance of aRawQueryOptionsrecord class.- Parameters:
table- the value for thetablerecord componentquery- the value for thequeryrecord componentparams- the value for theparamsrecord componentcollection- the value for thecollectionrecord componentenv- the value for theenvrecord componentproduct- the value for theproductrecord componentdatabase- the value for thedatabaserecord componenttransaction- the value for thetransactionrecord componentcache- the value for thecacherecord component
-
-
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). -
table
Returns the value of thetablerecord component.- Returns:
- the value of the
tablerecord component
-
query
Returns the value of thequeryrecord component.- Returns:
- the value of the
queryrecord component
-
params
Returns the value of theparamsrecord component.- Returns:
- the value of the
paramsrecord component
-
collection
Returns the value of thecollectionrecord component.- Returns:
- the value of the
collectionrecord component
-
env
Returns the value of theenvrecord component.- Returns:
- the value of the
envrecord component
-
product
Returns the value of theproductrecord component.- Returns:
- the value of the
productrecord component
-
database
Returns the value of thedatabaserecord component.- Returns:
- the value of the
databaserecord component
-
transaction
Returns the value of thetransactionrecord component.- Returns:
- the value of the
transactionrecord component
-
cache
Returns the value of thecacherecord component.- Returns:
- the value of the
cacherecord component
-