| Package | Description |
|---|---|
| org.teasoft.bee.mongodb |
Function about Mongodb.
|
| org.teasoft.bee.mvc.service |
Interface and class about service layer.
|
| org.teasoft.bee.osql |
Function about Object SQL.
|
| org.teasoft.bee.osql.api |
The main and most commonly used API interfaces.
|
| org.teasoft.bee.osql.chain |
Interface for standard SQL with chain programming.
|
| org.teasoft.bee.sharding |
Sharding about Database.
|
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
MongodbBeeSql.selectOrderBy(T entity,
String orderFields,
OrderType[] orderTypes) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
ObjSQLRichAbstractServiceImpl.selectOrderBy(T entity,
String orderFieldList,
OrderType[] orderTypes) |
| Modifier and Type | Method and Description |
|---|---|
static OrderType |
OrderType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderType[] |
OrderType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
<T> String |
ObjToSQLRich.toSelectOrderBySQL(T entity,
String orderFields,
OrderType[] orderTypes) |
| Modifier and Type | Method and Description |
|---|---|
Condition |
Condition.orderBy(FunctionType functionType,
String field,
OrderType orderType)
order by
eg: orderBy(FunctionType.MAX, "total", OrderType.DESC)-->order by max(total) desc |
Condition |
Condition.orderBy(String field,
OrderType orderType)
order by
eg: orderBy("price", OrderType.DESC)-->order by price desc |
<T> List<T> |
SuidRich.selectOrderBy(T entity,
String orderFields,
OrderType[] orderTypes)
Select result with order.
|
| Modifier and Type | Method and Description |
|---|---|
Select |
Select.orderBy(String field,
OrderType orderType) |
| Modifier and Type | Method and Description |
|---|---|
OrderType[] |
ShardingSortStruct.getOrderTypes() |
| Modifier and Type | Method and Description |
|---|---|
void |
ShardingSortStruct.setOrderTypes(OrderType[] orderTypes) |
| Constructor and Description |
|---|
ShardingSortStruct(String orderSql,
String[] orderFields,
OrderType[] orderTypes) |
Copyright © 2024. All rights reserved.