Record Class ProcedureColumn
java.lang.Object
java.lang.Record
org.apache.cayenne.query.ProcedureColumn
public record ProcedureColumn(String name, String dataRowKey, int jdbcType, String javaClass)
extends Record
An adapter-independent description of a single column in a
ProcedureQuery result set. Used to explicitly
describe procedure results when ResultSet metadata is insufficient. Translated into a runtime ColumnDescriptor
at query execution time.- Since:
- 5.0
-
Constructor Summary
ConstructorsConstructorDescriptionProcedureColumn(String name, String dataRowKey, int jdbcType, String javaClass) Creates an instance of aProcedureColumnrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataRowKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thejavaClassrecord component.intjdbcType()Returns the value of thejdbcTyperecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProcedureColumn
Creates an instance of aProcedureColumnrecord class.- Parameters:
name- the value for thenamerecord componentdataRowKey- the value for thedataRowKeyrecord componentjdbcType- the value for thejdbcTyperecord componentjavaClass- the value for thejavaClassrecord 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. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
dataRowKey
Returns the value of thedataRowKeyrecord component.- Returns:
- the value of the
dataRowKeyrecord component
-
jdbcType
public int jdbcType()Returns the value of thejdbcTyperecord component.- Returns:
- the value of the
jdbcTyperecord component
-
javaClass
Returns the value of thejavaClassrecord component.- Returns:
- the value of the
javaClassrecord component
-