Class RowDescription.Field
java.lang.Object
io.r2dbc.postgresql.message.backend.RowDescription.Field
- Enclosing class:
RowDescription
The field within the
RowDescription.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanshortReturns the attribute number of the column.intReturns the object ID of the field's data type.intReturns the type modifier.shortReturns the data type size.io.r2dbc.postgresql.message.FormatReturns the format.getName()Returns the field name.intgetTable()Returns the object ID of the table.inthashCode()toString()
-
Constructor Details
-
Field
public Field(short column, int dataType, int dataTypeModifier, short dataTypeSize, io.r2dbc.postgresql.message.Format format, String name, int table) Create a new message.- Parameters:
column- the attribute number of the columndataType- the object ID of the field's data typedataTypeModifier- the type modifierdataTypeSize- the data type sizeformat- the formatname- the field nametable- the object ID of the table- Throws:
IllegalArgumentException- ifformatornameisnull
-
-
Method Details
-
equals
-
getColumn
public short getColumn()Returns the attribute number of the column.- Returns:
- the attribute number of the column
-
getDataType
public int getDataType()Returns the object ID of the field's data type.- Returns:
- the object ID of the field's data type
-
getDataTypeModifier
public int getDataTypeModifier()Returns the type modifier.- Returns:
- the type modifier
-
getDataTypeSize
public short getDataTypeSize()Returns the data type size.- Returns:
- the data type size
-
getFormat
public io.r2dbc.postgresql.message.Format getFormat()Returns the format.- Returns:
- the format
-
getName
-
getTable
public int getTable()Returns the object ID of the table.- Returns:
- the object ID of the table
-
hashCode
-
toString
-