类的使用
org.anyline.metadata.Table
使用Table的程序包
程序包
说明
-
org.anyline.adapter中Table的使用
返回Table的org.anyline.adapter中的方法 -
org.anyline.data中Table的使用
返回Table的org.anyline.data中的方法 -
org.anyline.entity中Table的使用
类型参数类型为Table的org.anyline.entity中的字段返回Table的org.anyline.entity中的方法修饰符和类型方法说明DataRow.getTable()DataRow.getTable(boolean checkContainer) DataSet.getTable()DataSet.getTable(boolean checkItem) Join.getTable()返回变量类型为Table的类型的org.anyline.entity中的方法修饰符和类型方法说明DataRow.getTables()DataRow.getTables(boolean checkContainer) DataSet.getTables(boolean checkItem) 参数类型为Table的org.anyline.entity中的方法修饰符和类型方法说明void类型变量类型为Table的org.anyline.entity中的方法参数 -
org.anyline.metadata中Table的使用
类型参数类型为Table的org.anyline.metadata中的类声明为Table的org.anyline.metadata中的字段修饰符和类型字段说明protected TableTable.inherit继承自protected TableTable.master主表(相对于分区表)protected TableForeignKey.referenceprotected Table<?> Metadata.table返回Table的org.anyline.metadata中的方法修饰符和类型方法说明Table.add(Constraint constraint) Table.addKey(Table.Key.TYPE type, String... columns) Table.addMaterializes(View view) Table.checkColumnPrimary()检测主键
根据主键对象,设置列主键标识Table.createPrimaryKey()根据列主键标识创建主键static TableTable.getInherit()Table.getMaster()MasterTable.getPartition(DataRow value) 根据值定位分区表MasterTable.getPartition(Tag... tags) 根据标签定位分区表ForeignKey.getReference()Constraint.getTable(boolean update) Metadata.getTable()Metadata.getTable(boolean update) 相关表Table.partitionBy(Table.Partition.TYPE type, String... columns) Table.partitionFor(Table.Partition.TYPE type, Object... values) 分区依据值Table.setAutoDropColumn(boolean autoDropColumn) Table.setCharset(String charset) Table.setCollate(String collate) Table.setColumns(LinkedHashMap<String, T> columns) Table.setConstraints(LinkedHashMap<String, Constraint> constraints) Table.setCreateTime(Date createTime) Table.setDataFree(Long dataFree) Table.setDataLength(Long dataLength) Table.setDataRows(Long dataRows) Table.setDistribution(Table.Distribution distribution) Table.setDistribution(Table.Distribution.TYPE type, int buckets, String... columns) 设置分桶方式Table.setDistribution(Table.Distribution.TYPE type, String... columns) 设置分桶方式Table.setEngineParameters(String engineParameters) Table.setIncrement(Long increment) Table.setIndexes(LinkedHashMap<String, T> indexes) Table.setIndexLength(Long indexLength) Table.setInherit(String setInherit) Table.setInherit(Table inherit) Table.setKeyword(String keyword) Table.setMaterializes(LinkedHashMap<String, View> materializes) Table.setPartition(Table.Partition partition) Table.setPartitionOf(Table master) Table.setPrimaryKey(String... keys) Table.setPrimaryKey(PrimaryKey primaryKey) Table.setRefGeneration(String refGeneration) Table.setSelfReferencingColumn(String selfReferencingColumn) Table.setSort(boolean sort) Table.setSrid(int srid) Table.setTags(LinkedHashMap<String, Tag> tags) Table.setTemporary(boolean temporary) Table.setTemporary(int temporary) Table.setTypeCat(String typeCat) Table.setTypeName(String typeName) Table.setTypeSchema(String typeSchema) Table.setUpdateTime(Date updateTime) Table.sort()Table.sort(boolean nullFirst) 列排序返回变量类型为Table的类型的org.anyline.metadata中的方法参数类型为Table的org.anyline.metadata中的方法修饰符和类型方法说明booleanbooleanbooleanbooleanTable.primaryEquals(Table table) 主键相同Table.setInherit(Table inherit) Table.setPartitionOf(Table master) ForeignKey.setReference(Table reference) void类型变量类型为Table的org.anyline.metadata中的方法参数参数类型为Table的org.anyline.metadata中的构造器限定符构造器说明Constraint(Table table, String name) Constraint(Table table, String name, String type) MasterTable(Table table) -
org.anyline.metadata.differ中Table的使用
返回变量类型为Table的类型的org.anyline.metadata.differ中的方法参数类型为Table的org.anyline.metadata.differ中的方法类型变量类型为Table的org.anyline.metadata.differ中的方法参数修饰符和类型方法说明static TablesDifferTablesDiffer.compare(LinkedHashMap<String, Table> origins, LinkedHashMap<String, Table> dests) static TablesDifferTablesDiffer.compare(LinkedHashMap<String, Table> origins, LinkedHashMap<String, Table> dests, boolean ignoreSchema) 比较差异voidTablesDiffer.setAdds(LinkedHashMap<String, Table> adds) voidTablesDiffer.setDrops(LinkedHashMap<String, Table> drops) voidTablesDiffer.setUpdates(LinkedHashMap<String, Table> updates) 参数类型为Table的org.anyline.metadata.differ中的构造器 -
org.anyline.metadata.graph中Table的使用
修饰符和类型类说明classclassclass为什么不用VertexType或VertexCollection,因为type容易误会成一个属性,collection容易误会成结果集参数类型为Table的org.anyline.metadata.graph中的构造器限定符构造器说明GraphIndex(Table table, String name) GraphIndex(Table table, String name, boolean unique) VertexIndex(Table table, String name) VertexIndex(Table table, String name, boolean unique) -
org.anyline.proxy中Table的使用
类型参数类型为Table的org.anyline.proxy中的字段返回Table的org.anyline.proxy中的方法