GetPartitionInfo returns the partition information.
()
| 219 | |
| 220 | // GetPartitionInfo returns the partition information. |
| 221 | func (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. |
| 229 | func (t *TableInfo) GetUpdateTime() time.Time { |
no outgoing calls