public static class Table.Partition extends TableAffiliation implements Serializable
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Table.Partition.Slice
分片(分区依据值)
|
static class |
Table.Partition.TYPE |
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
FIELD_COLUMN |
static String |
FIELD_INTERVAL |
static String |
FIELD_LESS |
static String |
FIELD_MAX |
static String |
FIELD_MIN |
static String |
FIELD_MODULUS |
static String |
FIELD_NAME |
static String |
FIELD_REMAINDER |
static String |
FIELD_TYPE |
static String |
FIELD_UNIT |
static String |
FIELD_VALUE |
FIELD_TABLE, tableaction, alias, catalog, checkSchemaTime, comment, database, databaseType, datasource, ddls, definition, drop, engine, execute, extend, FIELD_ACTION, FIELD_ALIAS, FIELD_CATALOG, FIELD_CHECK_SCHEMA_TIME, FIELD_COMMENT, FIELD_DATABASE, FIELD_DATASOURCE, FIELD_DDL, FIELD_DEFINITION, FIELD_DROP, FIELD_DROP_CHECK, FIELD_DROP_CHECK_VALUE, FIELD_ENGINE, FIELD_EXECUTE, FIELD_EXECUTE_CHECK, FIELD_EXECUTE_CHECK_VALUE, FIELD_EXTEND, FIELD_GETMAP, FIELD_GETMAP_CHECK, FIELD_GETMAP_CHECK_VALUE, FIELD_ID, FIELD_IDENTITY, FIELD_METADATA, FIELD_OBJECT_ID, FIELD_PROPERTY, FIELD_RUN, FIELD_SCHEMA, FIELD_SETMAP, FIELD_SETMAP_CHECK, FIELD_SETMAP_CHECK_VALUE, FIELD_SWT, FIELD_TEXT, FIELD_USER, getmap, id, identity, metadata, name, objectId, options, origin, property, runs, schema, setmap, swt, text, update, user| 构造器和说明 |
|---|
Partition() |
Partition(Table.Partition.TYPE type) |
Partition(Table.Partition.TYPE type,
String... columns) |
| 限定符和类型 | 方法和说明 |
|---|---|
Table.Partition |
addColumn(Column column) |
Table.Partition |
addColumn(String column) |
Table.Partition |
addSlice(Table.Partition.Slice slice) |
Table.Partition |
addValues(Object... items) |
LinkedHashMap<String,Column> |
getColumns() |
Object |
getMax() |
Object |
getMin() |
int |
getModulus() |
int |
getRemainder() |
List<Table.Partition.Slice> |
getSlices() |
Table.Partition.TYPE |
getType() |
List<Object> |
getValues() |
Table.Partition |
setColumns(LinkedHashMap<String,Column> columns) |
Table.Partition |
setColumns(String... columns) |
Table.Partition |
setHash(int modulus,
int remainder) |
Table.Partition |
setMax(Object max) |
Table.Partition |
setMin(Object min) |
Table.Partition |
setModulus(int modulus) |
Table.Partition |
setRange(Object min,
Object max) |
Table.Partition |
setRemainder(int remainder) |
Table.Partition |
setSlices(List<Table.Partition.Slice> slices) |
Table.Partition |
setType(Table.Partition.TYPE type) |
Table.Partition |
setValues(List<Object> values) |
addDdl, addRun, execute, getCatalog, getIdentity, getSchema, getTable, getTable, getTableName, getTableName, setTable, setTableaddOption, check, clone, ddl, ddl, ddls, ddls, delete, drop, execute, getAction, getAlias, getCatalogName, getCheckSchemaTime, getComment, getDatabase, getDatabaseName, getDatabaseType, getDataSource, getDdl, getDdl, getDdls, getDdls, getDefinition, getEngine, getExtend, getFullName, getId, getKeyword, getMetadata, getName, getObjectId, getOrigin, getProperty, getRun, getRun, getRuns, getRuns, getSchemaName, getText, getUpdate, getUser, getUserName, isDelete, isDrop, isEmpty, isRename, match, match, match, match, match, names, names, names, names, options, run, run, runs, runs, setAction, setAlias, setCatalog, setCatalog, setCheckSchemaTime, setComment, setDatabase, setDatabase, setDatabaseType, setDataSource, setDdls, setDefinition, setDelete, setDrop, setEngine, setExtend, setId, setMetadata, setName, setNewName, setNewName, setObjectId, setProperty, setProperty, setRuns, setSchema, setSchema, setText, setUpdate, setUser, setUser, sort, swt, swt, toString, type, types, types, update, updatepublic Partition()
public Partition(Table.Partition.TYPE type)
public Partition(Table.Partition.TYPE type, String... columns)
public Table.Partition addSlice(Table.Partition.Slice slice)
public List<Table.Partition.Slice> getSlices()
public Table.Partition.TYPE getType()
public Table.Partition setType(Table.Partition.TYPE type)
public LinkedHashMap<String,Column> getColumns()
public Table.Partition setColumns(LinkedHashMap<String,Column> columns)
public Table.Partition setColumns(String... columns)
public Table.Partition addColumn(Column column)
public Table.Partition addColumn(String column)
public Table.Partition setRange(Object min, Object max)
public Object getMin()
public Table.Partition setSlices(List<Table.Partition.Slice> slices)
public Table.Partition setMin(Object min)
public Object getMax()
public Table.Partition setMax(Object max)
public Table.Partition setValues(List<Object> values)
public Table.Partition addValues(Object... items)
public int getModulus()
public Table.Partition setModulus(int modulus)
public Table.Partition setHash(int modulus, int remainder)
public int getRemainder()
public Table.Partition setRemainder(int remainder)
Copyright © 2025. All rights reserved.