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