public class TiPartitionInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TiPartitionInfo.PartitionType |
Constructor and Description |
---|
TiPartitionInfo(long type,
String expr,
List<CIStr> columns,
boolean enable,
List<TiPartitionDef> defs) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getColumns() |
List<TiPartitionDef> |
getDefs() |
String |
getExpr() |
TiPartitionInfo.PartitionType |
getType() |
boolean |
isEnable() |
static long |
partTypeToLong(TiPartitionInfo.PartitionType type) |
public TiPartitionInfo(long type, String expr, List<CIStr> columns, boolean enable, List<TiPartitionDef> defs)
public static long partTypeToLong(TiPartitionInfo.PartitionType type)
public TiPartitionInfo.PartitionType getType()
public boolean isEnable()
public String getExpr()
public List<TiPartitionDef> getDefs()
Copyright © 2024 PingCAP. All rights reserved.