Record Class DataSourceService.QueryResult
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.datasource.DataSourceService.QueryResult
- Record Components:
cols- The column labels in display orderrows- The page of rows; each row is a list of column valuestotal- The total number of rows for the full result set
- Enclosing class:
DataSourceService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncols()Returns the value of thecolsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.rows()Returns the value of therowsrecord component.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.
-
Constructor Details
-
QueryResult
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
cols
-
rows
-
total
-