public class TiTableInfo extends Object implements Serializable
Constructor and Description |
---|
TiTableInfo(long id,
CIStr name,
String charset,
String collate,
boolean pkIsHandle,
List<TiColumnInfo> columns,
List<TiIndexInfo> indices,
String comment,
long autoIncId,
long maxColumnId,
long maxIndexId,
long oldSchemaId,
TiPartitionInfo partitionInfo,
TiViewInfo viewInfo,
TiFlashReplicaInfo tiFlashReplicaInfo,
long version,
long updateTimestamp,
long maxShardRowIDBits,
TiSequenceInfo sequenceInfo) |
Modifier and Type | Method and Description |
---|---|
TiTableInfo |
copyTableWithRowId() |
TiColumnInfo |
getAutoIncrementColInfo() |
String |
getCharset() |
String |
getCollate() |
TiColumnInfo |
getColumn(int offset) |
TiColumnInfo |
getColumn(String name) |
List<TiColumnInfo> |
getColumns() |
String |
getComment() |
long |
getEstimatedRowSizeInByte() |
long |
getId() |
List<TiIndexInfo> |
getIndices() |
long |
getMaxShardRowIDBits() |
String |
getName() |
TiPartitionInfo |
getPartitionInfo() |
TiColumnInfo |
getPKIsHandleColumn() |
TiFlashReplicaInfo |
getTiflashReplicaInfo() |
long |
getUpdateTimestamp() |
long |
getVersion() |
boolean |
hasAutoIncrementColumn() |
boolean |
hasGeneratedColumn() |
boolean |
hasPrimaryKey() |
boolean |
isAutoIncColUnsigned() |
boolean |
isPartitionEnabled() |
boolean |
isPkHandle() |
boolean |
isSequence() |
boolean |
isView() |
String |
toString() |
public TiTableInfo(long id, CIStr name, String charset, String collate, boolean pkIsHandle, List<TiColumnInfo> columns, List<TiIndexInfo> indices, String comment, long autoIncId, long maxColumnId, long maxIndexId, long oldSchemaId, TiPartitionInfo partitionInfo, TiViewInfo viewInfo, TiFlashReplicaInfo tiFlashReplicaInfo, long version, long updateTimestamp, long maxShardRowIDBits, TiSequenceInfo sequenceInfo)
public boolean isView()
public boolean isSequence()
public boolean hasAutoIncrementColumn()
public TiColumnInfo getAutoIncrementColInfo()
public boolean isAutoIncColUnsigned()
public long getMaxShardRowIDBits()
public long getId()
public String getName()
public String getCharset()
public String getCollate()
public List<TiColumnInfo> getColumns()
public long getEstimatedRowSizeInByte()
public TiColumnInfo getColumn(String name)
public TiColumnInfo getColumn(int offset)
public boolean isPkHandle()
public List<TiIndexInfo> getIndices()
public String getComment()
public TiPartitionInfo getPartitionInfo()
public TiFlashReplicaInfo getTiflashReplicaInfo()
public boolean hasPrimaryKey()
public TiColumnInfo getPKIsHandleColumn()
public TiTableInfo copyTableWithRowId()
public boolean isPartitionEnabled()
public boolean hasGeneratedColumn()
public long getVersion()
public long getUpdateTimestamp()
Copyright © 2024 PingCAP. All rights reserved.