Package org.h2.util
Class SimpleColumnInfo
java.lang.Object
org.h2.util.SimpleColumnInfo
Metadata of a column.
Notice: equals(Object) and hashCode() use only name field.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleColumnInfo
(String name, int type, String typeName, int precision, int scale) Creates metadata. -
Method Summary
-
Field Details
-
name
Name of the column. -
type
public final int typeType of the column, seeTypes
. -
typeName
Type name of the column. -
precision
public final int precisionPrecision of the column -
scale
public final int scaleScale of the column.
-
-
Constructor Details
-
SimpleColumnInfo
Creates metadata.- Parameters:
name
- name of the columntype
- type of the column, seeTypes
typeName
- type name of the columnprecision
- precision of the columnscale
- scale of the column
-
-
Method Details