public class TiColumnInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TiColumnInfo.InternalTypeHolder |
Constructor and Description |
---|
TiColumnInfo(long id,
CIStr name,
int offset,
TiColumnInfo.InternalTypeHolder type,
int schemaState,
String originalDefaultValue,
String defaultValue,
String defaultValueBit,
String comment,
long version,
String generatedExprString) |
TiColumnInfo(long id,
String name,
int offset,
DataType type,
boolean isPrimaryKey) |
TiColumnInfo(long id,
String name,
int offset,
DataType type,
SchemaState schemaState,
String originalDefaultValue,
String defaultValue,
String defaultValueBit,
String comment,
long version,
String generatedExprString) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getComment() |
String |
getDefaultValueBit() |
String |
getGeneratedExprString() |
long |
getId() |
long |
getLength() |
String |
getName() |
int |
getOffset() |
long |
getSize() |
DataType |
getType() |
long |
getVersion() |
int |
hashCode() |
boolean |
isAutoIncrement() |
boolean |
isGeneratedColumn() |
boolean |
isPrimaryKey() |
boolean |
matchName(String name) |
public TiColumnInfo(long id, CIStr name, int offset, TiColumnInfo.InternalTypeHolder type, int schemaState, String originalDefaultValue, String defaultValue, String defaultValueBit, String comment, long version, String generatedExprString)
public TiColumnInfo(long id, String name, int offset, DataType type, SchemaState schemaState, String originalDefaultValue, String defaultValue, String defaultValueBit, String comment, long version, String generatedExprString)
public long getId()
public String getName()
public boolean matchName(String name)
public int getOffset()
public DataType getType()
public long getLength()
public long getSize()
public String getComment()
public boolean isPrimaryKey()
public String getDefaultValueBit()
public long getVersion()
public boolean isAutoIncrement()
public String getGeneratedExprString()
public boolean isGeneratedColumn()
Copyright © 2024 PingCAP. All rights reserved.