public class ColumnInformation extends Object
Constructor and Description |
---|
ColumnInformation(Buffer buffer)
Read column information from buffer.
|
ColumnInformation(ColumnInformation other)
Constructor for extent.
|
Modifier and Type | Method and Description |
---|---|
static ColumnInformation |
create(String name,
ColumnType type)
Constructor.
|
short |
getCharsetNumber() |
ColumnType |
getColumnType() |
String |
getDatabase() |
byte |
getDecimals() |
int |
getDisplaySize()
Get column size.
|
short |
getFlags() |
long |
getLength() |
String |
getName() |
String |
getOriginalName() |
String |
getOriginalTable() |
long |
getPrecision()
Return metadata precision.
|
String |
getTable() |
boolean |
isBinary() |
boolean |
isBlob() |
boolean |
isMultipleKey() |
boolean |
isNotNull() |
boolean |
isPrimaryKey() |
boolean |
isSigned() |
boolean |
isUniqueKey() |
boolean |
isZeroFill() |
public ColumnInformation(ColumnInformation other)
other
- other columnInformationpublic ColumnInformation(Buffer buffer)
buffer
- bufferpublic static ColumnInformation create(String name, ColumnType type)
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 byte 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()
Copyright © 2017. All rights reserved.