Class SQLServerDataColumn

java.lang.Object
com.microsoft.sqlserver.jdbc.SQLServerDataColumn

public final class SQLServerDataColumn extends Object
Represents a column of the in-memory data table represented by SQLServerDataTable.
  • Constructor Details

    • SQLServerDataColumn

      public SQLServerDataColumn(String columnName, int sqlType)
      Constructs a SQLServerDataColumn with the column name and type.
      Parameters:
      columnName - the name of the column
      sqlType - the type of the column
  • Method Details

    • getColumnName

      public String getColumnName()
      Returns the column name.
      Returns:
      the name of the column.
    • getColumnType

      public int getColumnType()
      Returns the column type.
      Returns:
      the column type.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object