FieldDescription
internal class FieldDescription(val name: String, val tableOid: Int, val columnAttrNumber: Short, val dataTypeOid: Int, val dataTypeSize: Short, val typeModifier: Int, val formatCode: Short)
The description of a single field (column) as it arrives inside a RowDescription message.
This is the wire form, where every reference is an OID and every modifier is raw. It is resolved into io.github.octaviusframework.driver.row.ColumnMetadata once per result, and never reaches a caller as it is.
Constructors
Properties
Link copied to clipboard
The attribute number of the column within that relation, or 0 if it is not a plain column reference.
Link copied to clipboard
The object ID of the field's data type.
Link copied to clipboard
The data type size (in bytes). A negative value denotes a variable-width type.
Link copied to clipboard
The format code indicating how the field is represented (0 for text, 1 for binary).
Link copied to clipboard
The type modifier of the data type.