| 程序包 | 说明 |
|---|---|
| io.polaris.core.jdbc.sql | |
| io.polaris.core.jdbc.sql.statement | |
| io.polaris.core.jdbc.sql.statement.segment |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
SqlStatements.buildCount(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
ColumnPredicate columnPredicate) |
static String |
SqlStatements.buildCount(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
ColumnPredicate columnPredicate,
boolean exceptLogicDeleted) |
static SqlNodeBuilder |
EntityStatements.buildDelete(Map<String,Object> bindings,
Class<?> entityClass,
String tableAlias,
boolean byId,
String entityKey,
String whereKey,
ColumnPredicate columnPredicate,
boolean logicDeleted) |
static String |
SqlStatements.buildDeleteByAny(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
ColumnPredicate columnPredicate) |
static String |
SqlStatements.buildExistsByAny(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
ColumnPredicate columnPredicate,
boolean queryByCount) |
static String |
SqlStatements.buildExistsByAny(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
ColumnPredicate columnPredicate,
boolean queryByCount,
boolean exceptLogicDeleted) |
static InsertStatement<?> |
EntityStatements.buildInsert(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
boolean enableReplace,
boolean enableUpdateByDuplicateKey,
ColumnPredicate columnPredicate) |
static String |
SqlStatements.buildInsert(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
ColumnPredicate columnPredicate) |
static String |
SqlStatements.buildLogicDeleteByAny(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
ColumnPredicate whereColumnPredicate) |
static MergeStatement<?> |
EntityStatements.buildMerge(Map<String,Object> bindings,
Class<?> entityClass,
String tableAlias,
String entityKey,
boolean updateWhenMatched,
boolean insertWhenNotMatched,
ColumnPredicate columnPredicate) |
static SelectStatement<?> |
EntityStatements.buildSelect(Map<String,Object> bindings,
Class<?> entityClass,
String tableAlias,
boolean byId,
String entityKey,
String whereKey,
String orderByKey,
ColumnPredicate columnPredicate,
boolean exceptLogicDeleted) |
static String |
SqlStatements.buildSelectByAny(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
String orderByKey,
ColumnPredicate columnPredicate) |
static String |
SqlStatements.buildSelectByAny(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
String orderByKey,
ColumnPredicate columnPredicate,
boolean exceptLogicDeleted) |
static UpdateStatement<?> |
EntityStatements.buildUpdate(Map<String,Object> bindings,
Class<?> entityClass,
String tableAlias,
boolean byId,
String entityKey,
String whereKey,
ColumnPredicate columnPredicate,
ColumnPredicate whereColumnPredicate) |
static String |
SqlStatements.buildUpdateByAny(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
ColumnPredicate columnPredicate,
ColumnPredicate whereColumnPredicate) |
static String |
SqlStatements.buildUpdateById(Map<String,Object> bindings,
Class<?> entityClass,
String entityKey,
String whereKey,
ColumnPredicate columnPredicate) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConfigurableColumnPredicate |
class |
DefaultColumnPredicate |
| 限定符和类型 | 字段和说明 |
|---|---|
static ColumnPredicate |
ColumnPredicate.ALL |
static ColumnPredicate |
ColumnPredicate.DEFAULT |
| 限定符和类型 | 方法和说明 |
|---|---|
static ColumnPredicate |
ConfigurableColumnPredicate.of(Map<String,Object> bindings,
ColumnPredicate predicate) |
static ColumnPredicate |
ConfigurableColumnPredicate.of(Map<String,Object> bindings,
String[] includeColumns,
String[] includeColumnsKey,
String[] excludeColumns,
String[] excludeColumnsKey,
String[] includeEmptyColumns,
String[] includeEmptyColumnsKey,
boolean includeAllEmpty,
String[] includeAllEmptyKey) |
static ColumnPredicate |
ConfigurableColumnPredicate.of(Map<String,Object> bindings,
String[] includeColumns,
String includeColumnsKey,
String[] excludeColumns,
String excludeColumnsKey,
String[] includeEmptyColumns,
String includeEmptyColumnsKey,
boolean includeAllEmpty,
String includeAllEmptyKey) |
static ColumnPredicate |
ConfigurableColumnPredicate.of(Predicate<String> isIncludeEmptyColumns) |
static ColumnPredicate |
ConfigurableColumnPredicate.of(Predicate<String> isIncludeColumns,
Predicate<String> isExcludeColumns,
Predicate<String> isIncludeEmptyColumns,
boolean includeAllEmpty) |
static ColumnPredicate |
ConfigurableColumnPredicate.of(String[] includeEmptyColumns) |
static ColumnPredicate |
ConfigurableColumnPredicate.of(String[] includeColumns,
String[] excludeColumns,
String[] includeEmptyColumns,
boolean includeAllEmpty) |
| 限定符和类型 | 方法和说明 |
|---|---|
S |
MergeStatement.withEntity(Object entity,
boolean updateWhenMatched,
boolean insertWhenNotMatched,
ColumnPredicate columnPredicate) |
S |
UpdateStatement.withEntity(Object entity,
ColumnPredicate columnPredicate) |
S |
MergeStatement.withEntity(Object entity,
ColumnPredicate columnPredicate) |
S |
InsertStatement.withEntity(Object entity,
ColumnPredicate columnPredicate) |
| 限定符和类型 | 方法和说明 |
|---|---|
S |
WhereSegment.byEntity(Object entity,
ColumnPredicate columnPredicate) |
Copyright © 2025 fossc. All rights reserved.