public interface BehaviorReadable
| 修飾子とタイプ | メソッドと説明 |
|---|---|
DBMeta |
asDBMeta()
Handle the meta as DBMeta, that has all info of the table.
|
String |
asTableDbName()
Handle the meta as table DB name, that can be identity of table.
|
ConditionBean |
newConditionBean()
New condition-bean instance.
|
Entity |
newEntity()
New entity instance.
|
int |
readCount(ConditionBean cb)
Read count by condition-bean.
|
<RESULT extends Entity> |
readCursor(ConditionBean cb,
EntityRowHandler<RESULT> entityLambda)
Read the cursor by the row handler.
|
Entity |
readEntity(ConditionBean cb)
Read entity by condition-bean.
|
Entity |
readEntityWithDeletedCheck(ConditionBean cb)
Read simple entity by condition-bean with deleted check.
|
<RESULT extends Entity> |
readList(ConditionBean cb)
Read list as result-bean.
|
Number |
readNextVal()
Read next value of sequence.
|
<RESULT extends Entity> |
readPage(ConditionBean cb)
Read page as result-bean.
|
<RESULT> HpSLSFunction<ConditionBean,RESULT> |
readScalar(Class<RESULT> resultType)
Read the scalar value derived by a function from uniquely-selected records.
|
<BEHAVIOR extends BehaviorReadable> |
readyOutsideSql()
Prepare an outside-SQL execution by returning an instance of the executor for outside-SQL.
|
void |
warmUpCommand()
Warm up the command of behavior.
|
DBMeta asDBMeta()
String asTableDbName()
Entity newEntity()
ConditionBean newConditionBean()
int readCount(ConditionBean cb)
cb - The instance of corresponding condition-bean. (NotNull)Entity readEntity(ConditionBean cb)
cb - The instance of corresponding condition-bean. (NotNull)Entity readEntityWithDeletedCheck(ConditionBean cb)
cb - The instance of corresponding condition-bean. (NotNull)<RESULT extends Entity> ListResultBean<RESULT> readList(ConditionBean cb)
RESULT - The result type of entity.cb - The instance of corresponding condition-bean. (NotNull)<RESULT extends Entity> PagingResultBean<RESULT> readPage(ConditionBean cb)
RESULT - The result type of entity.cb - The instance of corresponding condition-bean. (NotNull)<RESULT extends Entity> void readCursor(ConditionBean cb, EntityRowHandler<RESULT> entityLambda)
RESULT - The result type of entity.cb - The instance of corresponding condition-bean. (NotNull)entityLambda - The handler of entity row. (NotNull)<RESULT> HpSLSFunction<ConditionBean,RESULT> readScalar(Class<RESULT> resultType)
RESULT - The type of scalar result.resultType - The type of result. (NotNull)Number readNextVal()
<BEHAVIOR extends BehaviorReadable> OutsideSqlAllFacadeExecutor<BEHAVIOR> readyOutsideSql()
BEHAVIOR - The type of behavior.void warmUpCommand()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.