Class JdbcFieldInfoExtra

java.lang.Object
org.apache.arrow.adbc.driver.jdbc.adapter.JdbcFieldInfoExtra

public final class JdbcFieldInfoExtra extends Object
Information about a column from JDBC for inferring column type.

Extension of the upstream JdbcFieldInfo which lacks necessary fields for certain databases.

  • Constructor Details

  • Method Details

    • getFieldInfo

      public JdbcFieldInfo getFieldInfo()
      Get the base Arrow version.
    • getJdbcType

      public int getJdbcType()
      The Types type.
    • getTypeName

      public String getTypeName()
    • getNumPrecRadix

      public int getNumPrecRadix()
    • getRemarks

      public @Nullable String getRemarks()
    • getColumnDef

      public @Nullable String getColumnDef()
    • getSqlDataType

      public int getSqlDataType()
    • getSqlDatetimeSub

      public int getSqlDatetimeSub()
    • getCharOctetLength

      public int getCharOctetLength()
    • getOrdinalPosition

      public int getOrdinalPosition()
    • isNullable

      public int isNullable()
      The nullability.
    • getPrecision

      public int getPrecision()
      The numeric precision, for Types.NUMERIC and Types.DECIMAL types.
    • getScale

      public int getScale()
      The numeric scale, for Types.NUMERIC and Types.DECIMAL types.
    • getColumn

      public int getColumn()
      The column index for query column.
    • toString

      public String toString()
      Overrides:
      toString in class Object