public class ColumnInformation extends Object
| Constructor and Description |
|---|
ColumnInformation(int ordinalPosition,
String schemaName,
String tblName,
String colName,
Class<?> fieldCls,
boolean nullable,
Object dfltVal,
int precision,
int scale,
boolean affinityCol) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
affinityColumn() |
int |
columnId() |
String |
columnName() |
Object |
defaultValue() |
boolean |
equals(Object o) |
Class<?> |
fieldClass() |
int |
hashCode() |
boolean |
nullable() |
int |
precision() |
int |
scale() |
String |
schemaName() |
String |
tableName() |
String |
toString() |
public ColumnInformation(int ordinalPosition,
String schemaName,
String tblName,
String colName,
Class<?> fieldCls,
boolean nullable,
Object dfltVal,
int precision,
int scale,
boolean affinityCol)
ordinalPosition - Ordinal column position.schemaName - Schema name.tblName - Table name.colName - Column name.fieldCls - Field class.nullable - Nullable.dfltVal - Default value.precision - Precision for a column or -1 if not applicable.scale - Scale for a column or -1 if not applicable.public int columnId()
public String schemaName()
public String tableName()
public String columnName()
public Class<?> fieldClass()
public boolean nullable()
true For nullabe columnpublic Object defaultValue()
null in case dafault value wasn't setpublic int precision()
public int scale()
public boolean affinityColumn()
true For affinity column.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021