public final class SimpleColumnInfo
extends java.lang.Object
Notice: equals(Object) and hashCode() use only name field.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name
Name of the column.
|
int |
precision
Precision of the column
|
int |
scale
Scale of the column.
|
int |
type
Type of the column, see
Types . |
java.lang.String |
typeName
Type name of the column.
|
Constructor and Description |
---|
SimpleColumnInfo(java.lang.String name,
int type,
java.lang.String typeName,
int precision,
int scale)
Creates metadata.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public final java.lang.String name
public final int type
Types
.public final java.lang.String typeName
public final int precision
public final int scale
public SimpleColumnInfo(java.lang.String name, int type, java.lang.String typeName, int precision, int scale)
name
- name of the columntype
- type of the column, see Types
typeName
- type name of the columnprecision
- precision of the columnscale
- scale of the column