| Package | Description |
|---|---|
| tech.ibit.mybatis | |
| tech.ibit.mybatis.sqlbuilder | |
| tech.ibit.mybatis.sqlbuilder.sql | |
| tech.ibit.mybatis.sqlbuilder.sql.impl | |
| tech.ibit.mybatis.sqlbuilder.utils |
| Modifier and Type | Method and Description |
|---|---|
default UpdateSql |
Mapper.createUpdate()
创建更新
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateSql |
SqlFactory.createUpdate(Mapper<?> mapper)
创建更新
|
| Modifier and Type | Method and Description |
|---|---|
UpdateSql |
UpdateSql.updateDefault()
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UpdateSqlImpl
UpdateSql实现
|
| Modifier and Type | Method and Description |
|---|---|
UpdateSql |
UpdateSqlImpl.andWhere(CriteriaItem item) |
UpdateSql |
UpdateSqlImpl.andWhere(List<Criteria> criterion) |
UpdateSql |
UpdateSqlImpl.complexFullJoinOn(Table table,
List<CriteriaItem> criteriaItems) |
UpdateSql |
UpdateSqlImpl.complexInnerJoinOn(Table table,
List<CriteriaItem> criteriaItems) |
UpdateSql |
UpdateSqlImpl.complexLeftJoinOn(Table table,
List<CriteriaItem> criteriaItems) |
UpdateSql |
UpdateSqlImpl.complexRightJoinOn(Table table,
List<CriteriaItem> criteriaItems) |
UpdateSql |
UpdateSqlImpl.decreaseSet(Column column,
Number value) |
UpdateSql |
UpdateSqlImpl.fullJoinOn(Table table,
List<Column> columnPairs) |
UpdateSql |
UpdateSqlImpl.increaseSet(Column column,
Number value) |
UpdateSql |
UpdateSqlImpl.innerJoinOn(Table table,
List<Column> columnPairs) |
UpdateSql |
UpdateSqlImpl.joinOn(JoinOn joinOn) |
UpdateSql |
UpdateSqlImpl.joinOn(List<JoinOn> joinOns) |
UpdateSql |
UpdateSqlImpl.joinOn(Table table,
List<Column> columnPairs) |
UpdateSql |
UpdateSqlImpl.leftJoinOn(Table table,
List<Column> columnPairs) |
UpdateSql |
UpdateSqlImpl.orWhere(CriteriaItem item) |
UpdateSql |
UpdateSqlImpl.orWhere(List<Criteria> criterion) |
UpdateSql |
UpdateSqlImpl.rightJoinOn(Table table,
List<Column> columnPairs) |
UpdateSql |
UpdateSqlImpl.set(Column column,
Object value) |
UpdateSql |
UpdateSqlImpl.set(List<SetItem> items) |
UpdateSql |
UpdateSqlImpl.set(SetItem item) |
UpdateSql |
UpdateSqlImpl.update(List<Table> tables) |
UpdateSql |
UpdateSqlImpl.update(Table table) |
UpdateSql |
UpdateSqlImpl.updateDefault() |
UpdateSql |
UpdateSqlImpl.where(Criteria criteria) |
UpdateSql |
UpdateSqlImpl.where(List<Criteria> criterion) |
| Modifier and Type | Method and Description |
|---|---|
static <T> UpdateSql |
IdSqlUtils.updateById(Mapper<T> mapper,
T updateObject)
构造通过主键更新对象的SQL参数对象(支持单列或多列主键)
|
static <T> UpdateSql |
IdSqlUtils.updateById(Mapper<T> mapper,
T updateObject,
List<Column> updateColumns)
构造通过主键更新对象指定列的SQL参数对象(支持单列或多列主键)
|
static <T,K> UpdateSql |
IdSqlUtils.updateByIds(SingleIdMapper<T,K> mapper,
T updateObject,
Collection<K> idValues)
构造通过主键批量更新对象的SQL参数对象(单列作为主键)
|
static <T,K> UpdateSql |
IdSqlUtils.updateByIds(SingleIdMapper<T,K> mapper,
T updateObject,
List<Column> updateColumns,
Collection<K> idValues)
构造通过主键批量更新对象指定列的SQL参数对象(单列作为主键)
|
static <T,K extends MultiId> |
IdSqlUtils.updateByMultiIds(MultipleIdMapper<T,K> mapper,
T updateObject,
Collection<K> idValues)
构造通过主键批量更新对象的SQL参数对象(多列作为主键)
|
static <T,K extends MultiId> |
IdSqlUtils.updateByMultiIds(MultipleIdMapper<T,K> mapper,
T updateObject,
List<Column> updateColumns,
Collection<K> idValues)
构造通过主键批量更新对象指定列的SQL参数对象(多列作为主键)
|
static <T> UpdateSql |
UniqueKeySqlUtils.updateByUniqueKeys(Mapper<T> mapper,
T updateObject,
Collection<UniqueKey> idValues)
构造通过主键批量更新对象的SQL参数对象(多列作为主键)
|
static <T> UpdateSql |
UniqueKeySqlUtils.updateByUniqueKeys(Mapper<T> mapper,
T updateObject,
List<Column> updateColumns,
Collection<UniqueKey> uniqueKeys)
构造通过 unique key 批量更新对象指定列的SQL参数对象
|
Copyright © 2020 IBIT程序猿. All rights reserved.