public class ObjectToSQLRich extends ObjectToSQL implements org.teasoft.bee.osql.ObjToSQLRich
| Constructor and Description |
|---|
ObjectToSQLRich() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPackageByClass(Class c) |
String |
toDeleteByIdSQL(Class c,
Integer id) |
String |
toDeleteByIdSQL(Class c,
Long id) |
String |
toDeleteByIdSQL(Class c,
String ids) |
<T> String |
toDeleteSQL(T entity,
org.teasoft.bee.osql.IncludeType includeType) |
<T> String[] |
toInsertSQL(T[] entity,
int batchSize,
String excludeFieldList) |
<T> String |
toInsertSQL(T entity,
org.teasoft.bee.osql.IncludeType includeType) |
<T> String |
toSelectByIdSQL(Class<T> entityClazz,
Integer id) |
<T> String |
toSelectByIdSQL(Class<T> entityClazz,
Long id) |
<T> String |
toSelectByIdSQL(Class<T> entityClazz,
String ids) |
<T> String |
toSelectFunSQL(T entity,
org.teasoft.bee.osql.FunctionType functionType,
String fieldForFun,
org.teasoft.bee.osql.api.Condition condition) |
<T> String |
toSelectOrderBySQL(T entity,
String orderFieldList) |
<T> String |
toSelectOrderBySQL(T entity,
String orderFieldList,
org.teasoft.bee.osql.OrderType[] orderTypes) |
<T> String |
toSelectSQL(T entity,
org.teasoft.bee.osql.IncludeType includeType) |
<T> String |
toSelectSQL(T entity,
int start,
int size) |
<T> String |
toSelectSQL(T entity,
int start,
int size,
String... selectFields) |
<T> String |
toSelectSQL(T entity,
String... fields) |
<T> String |
toUpdateBySQL(T entity,
org.teasoft.bee.osql.api.Condition condition,
String... whereFieldList) |
<T> String |
toUpdateBySQL(T entity,
org.teasoft.bee.osql.IncludeType includeType,
String... whereFieldList) |
<T> String |
toUpdateBySQL(T entity,
String... whereFieldList) |
<T> String |
toUpdateSQL(T entity,
org.teasoft.bee.osql.api.Condition condition,
String... updateFieldList) |
<T> String |
toUpdateSQL(T entity,
org.teasoft.bee.osql.IncludeType includeType) |
<T> String |
toUpdateSQL(T entity,
org.teasoft.bee.osql.IncludeType includeType,
String... updateFieldList) |
<T> String |
toUpdateSQL(T entity,
String... updateFieldList) |
toDeleteSQL, toDeleteSQL, toInsertSQL, toSelectSQL, toSelectSQL, toUpdateSQLpublic <T> String toSelectSQL(T entity, int start, int size)
toSelectSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toSelectSQL(T entity, int start, int size, String... selectFields)
toSelectSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toSelectSQL(T entity, String... fields)
toSelectSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toSelectOrderBySQL(T entity, String orderFieldList)
toSelectOrderBySQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toSelectOrderBySQL(T entity, String orderFieldList, org.teasoft.bee.osql.OrderType[] orderTypes)
toSelectOrderBySQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toUpdateSQL(T entity, String... updateFieldList)
toUpdateSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toUpdateSQL(T entity, org.teasoft.bee.osql.IncludeType includeType, String... updateFieldList)
toUpdateSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toSelectFunSQL(T entity, org.teasoft.bee.osql.FunctionType functionType, String fieldForFun, org.teasoft.bee.osql.api.Condition condition)
toSelectFunSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toSelectSQL(T entity, org.teasoft.bee.osql.IncludeType includeType)
toSelectSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toDeleteSQL(T entity, org.teasoft.bee.osql.IncludeType includeType)
toDeleteSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toInsertSQL(T entity, org.teasoft.bee.osql.IncludeType includeType)
toInsertSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toUpdateSQL(T entity, org.teasoft.bee.osql.IncludeType includeType)
toUpdateSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String[] toInsertSQL(T[] entity, int batchSize, String excludeFieldList)
toInsertSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic String toDeleteByIdSQL(Class c, Integer id)
toDeleteByIdSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic String toDeleteByIdSQL(Class c, Long id)
toDeleteByIdSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic String toDeleteByIdSQL(Class c, String ids)
toDeleteByIdSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toSelectByIdSQL(Class<T> entityClazz, Integer id)
toSelectByIdSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toSelectByIdSQL(Class<T> entityClazz, Long id)
toSelectByIdSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toSelectByIdSQL(Class<T> entityClazz, String ids)
toSelectByIdSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toUpdateBySQL(T entity, String... whereFieldList)
toUpdateBySQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toUpdateBySQL(T entity, org.teasoft.bee.osql.IncludeType includeType, String... whereFieldList)
toUpdateBySQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toUpdateBySQL(T entity, org.teasoft.bee.osql.api.Condition condition, String... whereFieldList)
toUpdateBySQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic <T> String toUpdateSQL(T entity, org.teasoft.bee.osql.api.Condition condition, String... updateFieldList)
toUpdateSQL in interface org.teasoft.bee.osql.ObjToSQLRichpublic static void checkPackageByClass(Class c)
Copyright © 2024. All rights reserved.