public class ColumnDefinitionPacket extends Object implements com.singlestore.jdbc.client.Column, com.singlestore.jdbc.message.ServerMessage
| Constructor and Description |
|---|
ColumnDefinitionPacket(com.singlestore.jdbc.client.ReadableByteBuf buf,
boolean extendedInfo) |
| Modifier and Type | Method and Description |
|---|---|
static ColumnDefinitionPacket |
create(String name,
com.singlestore.jdbc.client.DataType type) |
boolean |
equals(Object o) |
String |
getColumnAlias() |
String |
getColumnName() |
int |
getColumnType(Configuration conf) |
byte |
getDecimals() |
Codec<?> |
getDefaultCodec(Configuration conf) |
int |
getDisplaySize() |
String |
getExtTypeName() |
int |
getFlags() |
long |
getLength() |
long |
getPrecision()
Return metadata precision.
|
String |
getSchema() |
String |
getTable() |
String |
getTableAlias() |
com.singlestore.jdbc.client.DataType |
getType() |
String |
getTypeName() |
boolean |
hasDefault() |
int |
hashCode() |
boolean |
isAutoIncrement() |
boolean |
isBinary() |
boolean |
isPrimaryKey() |
boolean |
isSigned() |
void |
useAliasAsName() |
public ColumnDefinitionPacket(com.singlestore.jdbc.client.ReadableByteBuf buf,
boolean extendedInfo)
public static ColumnDefinitionPacket create(String name, com.singlestore.jdbc.client.DataType type)
public String getSchema()
getSchema in interface com.singlestore.jdbc.client.Columnpublic String getTableAlias()
getTableAlias in interface com.singlestore.jdbc.client.Columnpublic String getTable()
getTable in interface com.singlestore.jdbc.client.Columnpublic String getColumnAlias()
getColumnAlias in interface com.singlestore.jdbc.client.Columnpublic String getColumnName()
getColumnName in interface com.singlestore.jdbc.client.Columnpublic long getLength()
getLength in interface com.singlestore.jdbc.client.Columnpublic com.singlestore.jdbc.client.DataType getType()
getType in interface com.singlestore.jdbc.client.Columnpublic String getTypeName()
getTypeName in interface com.singlestore.jdbc.client.Columnpublic byte getDecimals()
getDecimals in interface com.singlestore.jdbc.client.Columnpublic boolean isSigned()
isSigned in interface com.singlestore.jdbc.client.Columnpublic int getDisplaySize()
getDisplaySize in interface com.singlestore.jdbc.client.Columnpublic boolean isPrimaryKey()
isPrimaryKey in interface com.singlestore.jdbc.client.Columnpublic boolean isAutoIncrement()
isAutoIncrement in interface com.singlestore.jdbc.client.Columnpublic boolean hasDefault()
hasDefault in interface com.singlestore.jdbc.client.Columnpublic boolean isBinary()
isBinary in interface com.singlestore.jdbc.client.Columnpublic int getFlags()
getFlags in interface com.singlestore.jdbc.client.Columnpublic String getExtTypeName()
getExtTypeName in interface com.singlestore.jdbc.client.Columnpublic long getPrecision()
getPrecision in interface com.singlestore.jdbc.client.Columnpublic int getColumnType(Configuration conf)
getColumnType in interface com.singlestore.jdbc.client.Columnpublic Codec<?> getDefaultCodec(Configuration conf)
getDefaultCodec in interface com.singlestore.jdbc.client.Columnpublic void useAliasAsName()
useAliasAsName in interface com.singlestore.jdbc.client.ColumnCopyright © 2023 SingleStore. All rights reserved.