Record Class Configuration.Jdbc
java.lang.Object
java.lang.Record
org.huiche.core.configuration.Configuration.Jdbc
- Record Components:
fetchSize- 每次传输的大小maxRows- 最大获取行数queryTimeout- 查询超时时间
- Enclosing class:
Configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefetchSizerecord component.final inthashCode()Returns a hash code value for this object.intmaxRows()Returns the value of themaxRowsrecord component.Returns the value of thequeryTimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Jdbc
Creates an instance of aJdbcrecord class.- Parameters:
fetchSize- the value for thefetchSizerecord componentmaxRows- the value for themaxRowsrecord componentqueryTimeout- the value for thequeryTimeoutrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
fetchSize
-
maxRows
-
queryTimeout
Returns the value of thequeryTimeoutrecord component.- Returns:
- the value of the
queryTimeoutrecord component
-