public class CmdFactory extends Object implements ICmdFactory<Table,TableField>
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,Table> |
tableCache |
protected int |
tableNums |
| 构造器和说明 |
|---|
CmdFactory() |
CmdFactory(String tableAsPrefix) |
| 限定符和类型 | 方法和说明 |
|---|---|
<DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> |
allField(IDataset<DATASET,DATASET_FIELD> dataset) |
Table |
cacheTable(Class<?> entity,
int storey) |
<T> String |
columnName(Getter<T> column) |
<T,R extends Cmd> |
create(Getter<T> column,
int storey,
Function<TableField,R> RF) |
ConditionFactory |
createConditionFactory() |
AbstractSubQuery<?,?> |
createSubQuery() |
protected TableField |
field(Class<?> clazz,
int storey,
String filedName) |
TableField |
field(Class<?> entity,
String filedName,
int storey) |
<T> TableField |
field(Getter<T> column,
int storey) |
<T,DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> |
field(IDataset<DATASET,DATASET_FIELD> dataset,
Getter<T> column) |
<DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> |
field(IDataset<DATASET,DATASET_FIELD> dataset,
String columnName) |
<T> TableField |
field(Table table,
Getter<T> column) |
TableField |
field(Table table,
String columnName,
boolean id) |
TableField[] |
fields(GetterField... getterFields) |
<T> TableField[] |
fields(int storey,
Getter<T>... columns) |
Table |
table(Class<?> entity,
int storey) |
Table |
table(String tableName) |
protected String |
tableAs(int storey,
int tableNums) |
public CmdFactory()
public CmdFactory(String tableAsPrefix)
protected String tableAs(int storey, int tableNums)
public ConditionFactory createConditionFactory()
public Table table(Class<?> entity, int storey)
table 在接口中 ICmdFactory<Table,TableField>public Table table(String tableName)
table 在接口中 ICmdFactory<Table,TableField>public <T> String columnName(Getter<T> column)
columnName 在接口中 ICmdFactory<Table,TableField>public <T> TableField field(Getter<T> column, int storey)
field 在接口中 ICmdFactory<Table,TableField>public <T> TableField[] fields(int storey, Getter<T>... columns)
fields 在接口中 ICmdFactory<Table,TableField>@SafeVarargs public final TableField[] fields(GetterField... getterFields)
fields 在接口中 ICmdFactory<Table,TableField>public <T> TableField field(Table table, Getter<T> column)
public TableField field(Class<?> entity, String filedName, int storey)
field 在接口中 ICmdFactory<Table,TableField>public TableField field(Table table, String columnName, boolean id)
public <T,DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> DATASET_FIELD field(IDataset<DATASET,DATASET_FIELD> dataset, Getter<T> column)
field 在接口中 ICmdFactory<Table,TableField>public <DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> DATASET_FIELD field(IDataset<DATASET,DATASET_FIELD> dataset, String columnName)
field 在接口中 ICmdFactory<Table,TableField>public <DATASET extends IDataset<DATASET,DATASET_FIELD>,DATASET_FIELD extends IDatasetField<DATASET_FIELD>> DATASET_FIELD allField(IDataset<DATASET,DATASET_FIELD> dataset)
allField 在接口中 ICmdFactory<Table,TableField>public <T,R extends Cmd> R create(Getter<T> column, int storey, Function<TableField,R> RF)
create 在接口中 ICmdFactory<Table,TableField>public AbstractSubQuery<?,?> createSubQuery()
createSubQuery 在接口中 ICmdFactory<Table,TableField>protected TableField field(Class<?> clazz, int storey, String filedName)
Copyright © 2025. All rights reserved.