public class ColumnDefinition extends Object
| 构造器和说明 |
|---|
ColumnDefinition(Buffer buffer,
boolean OracleMode,
String encoding)
Read column information from buffer.
|
ColumnDefinition(ColumnDefinition other)
Constructor for extent.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
getPrimitiveDecimals() |
int |
getSqltype() |
String |
getTable() |
boolean |
isBinary() |
boolean |
isBlob() |
boolean |
isMultipleKey() |
boolean |
isNotNull() |
boolean |
isOracleMode() |
boolean |
isPrimaryKey() |
boolean |
isSigned() |
boolean |
isUniqueKey() |
boolean |
isZeroFill() |
void |
setUnSigned() |
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 int getPrimitiveDecimals()
public ColumnType getColumnType()
public short getFlags()
public boolean isSigned()
public void setUnSigned()
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()
public boolean isOracleMode()
Copyright © 2024 oceanbase.com. All rights reserved.