Package org.h2.util
Class SimpleColumnInfo
- java.lang.Object
-
- org.h2.util.SimpleColumnInfo
-
public final class SimpleColumnInfo extends java.lang.ObjectMetadata of a column.Notice: equals(Object) and hashCode() use only name field.
-
-
Constructor Summary
Constructors Constructor Description SimpleColumnInfo(java.lang.String name, int type, java.lang.String typeName, int precision, int scale)Creates metadata.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
name
public final java.lang.String name
Name of the column.
-
type
public final int type
Type of the column, seeTypes.
-
typeName
public final java.lang.String typeName
Type name of the column.
-
precision
public final int precision
Precision of the column
-
scale
public final int scale
Scale of the column.
-
-
Constructor Detail
-
SimpleColumnInfo
public SimpleColumnInfo(java.lang.String name, int type, java.lang.String typeName, int precision, int scale)Creates metadata.- Parameters:
name- name of the columntype- type of the column, seeTypestypeName- type name of the columnprecision- precision of the columnscale- scale of the column
-
-