public class ColumnDefinition extends Object
| Constructor and Description |
|---|
ColumnDefinition(Buffer buffer,
boolean OracleMode,
String encoding)
Read column information from buffer.
|
ColumnDefinition(ColumnDefinition other)
Constructor for extent.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnDefinition |
create(String name,
ColumnType type,
boolean isOracleMode,
String encoding)
Constructor.
|
short |
getCharsetNumber() |
ColumnType |
getColumnType() |
String |
getComplexTypeName() |
String |
getDatabase() |
int |
getDecimals() |
int |
getDisplaySize()
Get column size.
|
short |
getFlags() |
long |
getLength() |
String |
getName() |
String |
getOriginalName() |
String |
getOriginalTable() |
long |
getPrecision()
Return metadata precision.
|
int |
getSqltype() |
String |
getTable() |
boolean |
isBinary() |
boolean |
isBlob() |
boolean |
isMultipleKey() |
boolean |
isNotNull() |
boolean |
isPrimaryKey() |
boolean |
isSigned() |
boolean |
isUniqueKey() |
boolean |
isZeroFill() |
public ColumnDefinition(ColumnDefinition other)
other - other columnInformationpublic static ColumnDefinition create(String name, ColumnType type, boolean isOracleMode, String encoding)
name - column nametype - column typepublic String getDatabase()
public String getTable()
public String getOriginalTable()
public String getName()
public String getOriginalName()
public short getCharsetNumber()
public long getLength()
public long getPrecision()
public int getDisplaySize()
public int getDecimals()
public ColumnType getColumnType()
public short getFlags()
public boolean isSigned()
public boolean isNotNull()
public boolean isPrimaryKey()
public boolean isUniqueKey()
public boolean isMultipleKey()
public boolean isBlob()
public boolean isZeroFill()
public boolean isBinary()
public String getComplexTypeName() throws SQLException
SQLExceptionpublic int getSqltype()
Copyright © 2022 oceanbase.com. All rights reserved.