Table |
Table.add(Constraint constraint) |
Table |
Table.add(Index index) |
Table |
Table.addColumn(Column column) |
Table |
Table.addKey(Table.Key.TYPE type,
String... columns) |
Table |
Table.addKey(Table.Key key) |
Table |
Table.addMaterializes(View view) |
Table |
Table.addTag(Tag tag) |
Table |
Table.aggregation(AggregationConfig... configs) |
Table |
Table.aggregation(Aggregation aggregation,
String column,
String result) |
Table |
Table.checkColumnPrimary()
检测主键
根据主键对象,设置列主键标识
|
Table |
Table.createPrimaryKey()
根据列主键标识创建主键
|
static Table |
Table.from(Class clazz) |
Table |
Table.getInherit() |
Table |
Table.getMaster() |
Table |
MasterTable.getPartition(DataRow value)
根据值定位分区表
|
Table |
MasterTable.getPartition(Tag... tags)
根据标签定位分区表
|
Table |
ForeignKey.getReference() |
Table |
TableAffiliation.getTable() |
Table |
TableAffiliation.getTable(boolean update)
相关表
|
Table |
Constraint.getTable(boolean update) |
Table |
Table.group(String... columns) |
Table |
Table.having(String having) |
Table |
Table.partitionBy(Table.Partition.TYPE type,
String... columns) |
Table |
Table.partitionFor(Table.Partition.TYPE type,
Object... values)
分区依据值
|
Table |
Table.resetColumnLength(double rate,
String... types)
按比例重新设置列长度
|
Table |
Table.setAutoDropColumn(boolean autoDropColumn) |
Table |
Table.setCharset(String charset) |
Table |
Table.setCluster(Table.Distribution distribution) |
Table |
Table.setCollate(String collate) |
<T extends Column> Table |
Table.setColumns(LinkedHashMap<String,T> columns) |
Table |
Table.setConstraints(LinkedHashMap<String,Constraint> constraints) |
Table |
Table.setCreateTime(Date createTime) |
Table |
Table.setDataFree(Long dataFree) |
Table |
Table.setDataLength(Long dataLength) |
Table |
Table.setDataRows(Long dataRows) |
Table |
Table.setDistribution(Table.Distribution.TYPE type,
int buckets,
String... columns)
设置分桶方式
|
Table |
Table.setDistribution(Table.Distribution.TYPE type,
String... columns)
设置分桶方式
|
Table |
Table.setDistribution(Table.Distribution distribution) |
Table |
Table.setEngineParameters(String engineParameters) |
Table |
Table.setIncrement(Long increment) |
<T extends Index> Table |
Table.setIndexes(LinkedHashMap<String,T> indexes) |
Table |
Table.setIndexLength(Long indexLength) |
Table |
Table.setInherit(String setInherit) |
Table |
Table.setInherit(Table inherit) |
Table |
Table.setKeys(List<Table.Key> keys) |
Table |
Table.setKeyword(String keyword) |
Table |
Table.setMaster(String master) |
Table |
Table.setMaster(Table master) |
Table |
Table.setMaterializes(LinkedHashMap<String,View> materializes) |
Table |
Table.setPartition(Table.Partition partition) |
Table |
Table.setPartitionOf(Table master) |
Table |
Table.setPrimaryKey(PrimaryKey primaryKey) |
Table |
Table.setPrimaryKey(String... keys) |
Table |
Table.setRefGeneration(String refGeneration) |
Table |
Table.setSelfReferencingColumn(String selfReferencingColumn) |
Table |
Table.setSort(boolean sort) |
Table |
Table.setSrid(int srid) |
Table |
Table.setSubPartition(Table.Partition partition) |
Table |
Table.setTags(LinkedHashMap<String,Tag> tags) |
Table |
Table.setTemporary(boolean temporary) |
Table |
Table.setTemporary(int temporary) |
Table |
Table.setTtl(Long ttl) |
Table |
Table.setType(String type) |
Table |
Table.setTypeCat(String typeCat) |
Table |
Table.setTypeName(String typeName) |
Table |
Table.setTypeSchema(String typeSchema) |
Table |
Table.setUpdateTime(Date updateTime) |
Table |
Table.sort() |
Table |
Table.sort(boolean nullFirst)
列排序
|
Table |
Table.subPartitionBy(Table.Partition.TYPE type,
String... columns) |
Table |
Table.subPartitionFor(Table.Partition.TYPE type,
Object... values)
分区依据值
|
Table |
View.target() |