Package com.microsoft.sqlserver.jdbc
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 bySQLServerDataTable.
-
-
Constructor Summary
Constructors Constructor Description SQLServerDataColumn(String columnName, int sqlType)Constructs a SQLServerDataColumn with the column name and type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StringgetColumnName()Returns the column name.intgetColumnType()Returns the column type.inthashCode()
-
-
-
Constructor Detail
-
SQLServerDataColumn
public SQLServerDataColumn(String columnName, int sqlType)
Constructs a SQLServerDataColumn with the column name and type.- Parameters:
columnName- the name of the columnsqlType- the type of the column
-
-
Method Detail
-
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.
-
-