Interface IColumnInfo

  • All Superinterfaces:
    com4j.Com4jObject
    All Known Subinterfaces:
    IRecordset

    public interface IColumnInfo
    extends com4j.Com4jObject
    Represents column information for a Recordset.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int colCount()
      Gets the number of columns in the current Recordset object.
      int colIndex​(java.lang.String name)
      Gets the index (zero-based) of a Recordset column specified by column name.
      java.lang.String colName​(int index)
      The name of the Recordset column specified by Index (zero-based).
      int colSize​(int index)
      The physical size as defined in the database of the fields in the column specified by Index (zero-based).
      int colType​(int index)
      The data type of column.
      • Methods inherited from interface com4j.Com4jObject

        advise, dispose, equals, getComThread, getIUnknownPointer, getPointer, getPtr, hashCode, is, queryInterface, setName, toString
    • Method Detail

      • colCount

        int colCount()

        Gets the number of columns in the current Recordset object.

        Getter method for the COM property "ColCount"

        Returns:
        Returns a value of type int
      • colSize

        int colSize​(int index)

        The physical size as defined in the database of the fields in the column specified by Index (zero-based).

        Getter method for the COM property "ColSize"

        Parameters:
        index - Mandatory int parameter.
        Returns:
        Returns a value of type int
      • colType

        int colType​(int index)

        The data type of column.

        Getter method for the COM property "ColType"

        Parameters:
        index - Mandatory int parameter.
        Returns:
        Returns a value of type int
      • colName

        java.lang.String colName​(int index)

        The name of the Recordset column specified by Index (zero-based).

        Getter method for the COM property "ColName"

        Parameters:
        index - Mandatory int parameter.
        Returns:
        Returns a value of type java.lang.String
      • colIndex

        int colIndex​(java.lang.String name)

        Gets the index (zero-based) of a Recordset column specified by column name.

        Getter method for the COM property "ColIndex"

        Parameters:
        name - Mandatory java.lang.String parameter.
        Returns:
        Returns a value of type int