Record Class HibernateNamedQueryInfo
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateNamedQueryInfo
- Record Components:
name- registration nametype- query typequery- query text or callable namecacheable- whether Hibernate should cache the query resultscacheRegion- query cache regionreadOnly- whether results are read-onlytimeout- timeout in secondsfetchSize- JDBC fetch sizecomment- query comment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheablerecord component.Returns the value of thecacheRegionrecord component.comment()Returns the value of thecommentrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefetchSizerecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.query()Returns the value of thequeryrecord component.readOnly()Returns the value of thereadOnlyrecord component.timeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
HibernateNamedQueryInfo
public HibernateNamedQueryInfo(String name, String type, String query, String cacheable, String cacheRegion, String readOnly, String timeout, String fetchSize, String comment) Creates an instance of aHibernateNamedQueryInforecord class.- Parameters:
name- the value for thenamerecord componenttype- the value for thetyperecord componentquery- the value for thequeryrecord componentcacheable- the value for thecacheablerecord componentcacheRegion- the value for thecacheRegionrecord componentreadOnly- the value for thereadOnlyrecord componenttimeout- the value for thetimeoutrecord componentfetchSize- the value for thefetchSizerecord componentcomment- the value for thecommentrecord component
-
-
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). -
name
-
type
-
query
-
cacheable
-
cacheRegion
Returns the value of thecacheRegionrecord component.- Returns:
- the value of the
cacheRegionrecord component
-
readOnly
-
timeout
-
fetchSize
-
comment
-