public class ColumnMetadata extends Object
| Constructor and Description | 
|---|
| ColumnMetadata(String name,
              Integer sqlType,
              Integer size,
              Integer nullType,
              String defValue,
              Integer decimalDigits)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Integer | getDecimalDigits()Returns the number of decimal digits. | 
| String | getDefValue()Returns the default value of the column. | 
| String | getName()Returns the name of the column. | 
| Integer | getNullType()Returns whether the column may be null. | 
| Integer | getSize()Returns the maximum size of the column. | 
| Integer | getSqlType()Returns the data type of the column. | 
public ColumnMetadata(String name, Integer sqlType, Integer size, Integer nullType, String defValue, Integer decimalDigits)
name - The name of the column.sqlType - The data type of the column.size - The maximum size of the column.nullType - 0 if the column may not be null,
        1 if the column may be known,
        2 unknown.defValue - The default value of the column,
        or null if no default value exists.decimalDigits - The number of decimal digits of the column.public String getName()
public Integer getSqlType()
public Integer getSize()
public Integer getNullType()
public String getDefValue()
public Integer getDecimalDigits()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.