MCPcopy
hub / github.com/pingcap/tidb / GetPartitionInfo

Method GetPartitionInfo

pkg/meta/model/table.go:221–226  ·  view source on GitHub ↗

GetPartitionInfo returns the partition information.

()

Source from the content-addressed store, hash-verified

219
220// GetPartitionInfo returns the partition information.
221func (t *TableInfo) GetPartitionInfo() *PartitionInfo {
222 if t.Partition != nil && t.Partition.Enable {
223 return t.Partition
224 }
225 return nil
226}
227
228// GetUpdateTime gets the table's updating time.
229func (t *TableInfo) GetUpdateTime() time.Time {

Callers 15

extractTableSimpleInfoFunction · 0.95
TestGetSchemaFunction · 0.95
rewriteTableInfoMethod · 0.80
buildObserveTableRangeFunction · 0.80
buildDataSourceMethod · 0.80
rebuildRangeFunction · 0.80
pruneMethod · 0.80
loadTableStatsFunction · 0.80
OperatorInfoMethod · 0.80

Calls

no outgoing calls