クラス EsAbstractBehavior<ENTITY extends org.dbflute.Entity,CB extends org.dbflute.cbean.ConditionBean>
java.lang.Object
org.dbflute.bhv.AbstractBehaviorReadable<ENTITY,CB>
org.dbflute.bhv.AbstractBehaviorWritable<ENTITY,CB>
org.codelibs.fess.es.user.allcommon.EsAbstractBehavior<ENTITY,CB>
- 型パラメータ:
ENTITY
- The type of entity.CB
- The type of condition-bean.
- すべての実装されたインタフェース:
org.dbflute.bhv.BehaviorReadable
,org.dbflute.bhv.BehaviorWritable
- 直系の既知のサブクラス:
BsGroupBhv
,BsRoleBhv
,BsUserBhv
public abstract class EsAbstractBehavior<ENTITY extends org.dbflute.Entity,CB extends org.dbflute.cbean.ConditionBean>
extends org.dbflute.bhv.AbstractBehaviorWritable<ENTITY,CB>
- 作成者:
- ESFlute (using FreeGen)
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ クラス 説明 static class
EsAbstractBehavior.BulkList<E,B>
クラスから継承されたネストされたクラス/インタフェース org.dbflute.bhv.AbstractBehaviorReadable
org.dbflute.bhv.AbstractBehaviorReadable.InternalLoadReferrerCallback<LOCAL_ENTITY extends org.dbflute.Entity,PK extends java.lang.Object,REFERRER_CB extends org.dbflute.cbean.ConditionBean,REFERRER_ENTITY extends org.dbflute.Entity>
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 protected java.lang.String
bulkTimeout
protected java.lang.String
deleteTimeout
protected java.lang.String
indexTimeout
protected java.lang.String
refreshTimeout
protected java.lang.String
scrollForCursor
protected java.lang.String
scrollForDelete
protected java.lang.String
scrollSearchTimeout
protected java.lang.String
searchTimeout
protected int
sizeForCursor
protected int
sizeForDelete
クラスから継承されたフィールド org.dbflute.bhv.AbstractBehaviorWritable
_commonColumnAutoSetupper, EMPTY_INT_ARRAY
クラスから継承されたフィールド org.dbflute.bhv.AbstractBehaviorReadable
_behaviorCommandInvoker, _behaviorSelector, DERIVED_MAPPABLE_ALIAS_PREFIX, EMPTY_NREF_LGWAY
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 EsAbstractBehavior()
-
メソッドの概要
修飾子とタイプ メソッド 説明 protected abstract java.lang.String
asEsIndex()
protected abstract java.lang.String
asEsIndexType()
protected abstract java.lang.String
asEsSearchType()
protected org.elasticsearch.action.delete.DeleteRequestBuilder
createDeleteRequest(EsAbstractEntity esEntity)
protected abstract <RESULT extends ENTITY>
RESULTcreateEntity(java.util.Map<java.lang.String,java.lang.Object> source, java.lang.Class<? extends RESULT> entityType)
protected org.elasticsearch.action.index.IndexRequestBuilder
createInsertRequest(EsAbstractEntity esEntity)
protected <RESULT extends org.dbflute.Entity>
org.dbflute.cbean.result.ListResultBean<RESULT>createListResultBean(org.dbflute.cbean.ConditionBean cb, java.util.List<RESULT> selectedList)
protected org.dbflute.bhv.writable.UpdateOption<CB>
createPlainUpdateOption()
protected org.elasticsearch.action.index.IndexRequestBuilder
createUpdateRequest(EsAbstractEntity esEntity)
protected int[]
delegateBatchDelete(java.util.List<? extends org.dbflute.Entity> entityList, org.dbflute.bhv.writable.DeleteOption<? extends org.dbflute.cbean.ConditionBean> option)
protected int[]
delegateBatchInsert(java.util.List<? extends org.dbflute.Entity> entityList, org.dbflute.bhv.writable.InsertOption<? extends org.dbflute.cbean.ConditionBean> option)
protected <BUILDER> int[]
delegateBatchRequest(java.util.List<? extends org.dbflute.Entity> entityList, java.util.function.Function<EsAbstractEntity,BUILDER> call)
protected int[]
delegateBatchUpdate(java.util.List<? extends org.dbflute.Entity> entityList, org.dbflute.bhv.writable.UpdateOption<? extends org.dbflute.cbean.ConditionBean> option)
protected void
delegateBulkRequest(org.dbflute.cbean.ConditionBean cb, java.util.function.Function<org.elasticsearch.search.SearchHits,java.lang.Boolean> handler)
protected int
delegateDelete(org.dbflute.Entity entity, org.dbflute.bhv.writable.DeleteOption<? extends org.dbflute.cbean.ConditionBean> option)
protected int
delegateInsert(org.dbflute.Entity entity, org.dbflute.bhv.writable.InsertOption<? extends org.dbflute.cbean.ConditionBean> option)
protected int
delegateQueryDelete(org.dbflute.cbean.ConditionBean cb, org.dbflute.bhv.writable.DeleteOption<? extends org.dbflute.cbean.ConditionBean> option)
protected <RESULT extends ENTITY>
voiddelegateSelectBulk(org.dbflute.cbean.ConditionBean cb, org.dbflute.bhv.readable.EntityRowHandler<java.util.List<RESULT>> handler, java.lang.Class<? extends RESULT> entityType)
protected int
delegateSelectCountUniquely(org.dbflute.cbean.ConditionBean cb)
protected <RESULT extends ENTITY>
voiddelegateSelectCursor(org.dbflute.cbean.ConditionBean cb, org.dbflute.bhv.readable.EntityRowHandler<RESULT> handler, java.lang.Class<? extends RESULT> entityType)
protected <RESULT extends ENTITY>
RESULTdelegateSelectEntity(org.dbflute.cbean.ConditionBean cb, java.lang.Class<? extends RESULT> entityType)
protected <RESULT extends ENTITY>
java.util.List<RESULT>delegateSelectList(org.dbflute.cbean.ConditionBean cb, java.lang.Class<? extends RESULT> entityType)
protected int
delegateUpdate(org.dbflute.Entity entity, org.dbflute.bhv.writable.UpdateOption<? extends org.dbflute.cbean.ConditionBean> option)
protected void
deleteScrollContext(java.lang.String scrollId)
protected java.lang.Number
doReadNextVal()
protected org.elasticsearch.search.SearchHits
getSearchHits(org.elasticsearch.action.search.SearchResponse response)
protected <RESULT extends ENTITY>
voidhelpSelectCursorHandlingByPaging(CB cb, org.dbflute.bhv.readable.EntityRowHandler<RESULT> handler, java.lang.Class<? extends RESULT> entityType, org.dbflute.cbean.coption.CursorSelectOption option)
protected boolean
isCompatibleBatchInsertDefaultEveryColumn()
org.elasticsearch.action.admin.indices.refresh.RefreshResponse
refresh()
void
setBulkTimeout(java.lang.String bulkTimeout)
void
setDeleteTimeout(java.lang.String deleteTimeout)
void
setIndexTimeout(java.lang.String indexTimeout)
void
setRefreshTimeout(java.lang.String refreshTimeout)
void
setScrollForCursor(java.lang.String scrollForCursor)
void
setScrollForDelete(java.lang.String scrollForDelete)
void
setScrollSearchTimeout(java.lang.String scrollSearchTimeout)
void
setSearchTimeout(java.lang.String searchTimeout)
void
setSizeForCursor(int sizeForCursor)
void
setSizeForDelete(int sizeForDelete)
protected java.util.Date
toDate(java.lang.Object value)
protected java.time.LocalDateTime
toLocalDateTime(java.lang.Object value)
protected java.util.Map<java.lang.String,java.lang.Object>
toSource(EsAbstractEntity esEntity)
protected java.lang.String[]
toStringArray(java.lang.Object value)
クラスから継承されたメソッド org.dbflute.bhv.AbstractBehaviorWritable
adjustEntityBeforeDelete, adjustEntityBeforeInsert, adjustEntityBeforeQueryDelete, adjustEntityBeforeQueryInsert, adjustEntityBeforeQueryUpdate, adjustEntityBeforeUpdate, adjustEntityListBeforeBatchDelete, adjustEntityListBeforeBatchInsert, adjustEntityListBeforeBatchUpdate, assertDeleteOpCallNotNull, assertDeleteOptionStatus, assertEntityHasOptimisticLockValue, assertEntityHasUpdateDateValue, assertEntityHasVersionNoValue, assertEntityOfDelete, assertEntityOfInsert, assertEntityOfUpdate, assertInsertOpCallNotNull, assertInsertOptionStatus, assertQueryDeleteStatus, assertQueryUpdateStatus, assertUpdateColumnSpecificationNotNull, assertUpdateOpCallNotNull, assertUpdateOptionStatus, checkCountBeforeQueryUpdateIfNeeds, create, createBatchDeleteCommand, createBatchDeleteNonstrictCommand, createBatchInsertCommand, createBatchUpdateCommand, createBatchUpdateNonstrictCommand, createCBForQueryInsert, createCBForSpecifiedUpdate, createCBForVaryingUpdate, createDeleteEntityCommand, createDeleteNonstrictEntityCommand, createDeleteOption, createInsertOption, createOptionalCause, createOptionalDeleteOption, createOptionalUpdateOption, createOrModify, createOrModifyNonstrict, createPlainInsertOption, createQueryDeleteCBCommand, createQueryInsertCBCommand, createQueryUpdateCBCommand, createSpecifiedUpdateOption, createUpdateEntityCommand, createUpdateNonstrictEntityCommand, createUpdateOption, delegateBatchDeleteNonstrict, delegateBatchUpdateNonstrict, delegateDeleteNonstrict, delegateQueryInsert, delegateQueryUpdate, delegateUpdateNonstrict, doBatchDelete, doBatchDeleteNonstrict, doBatchInsert, doBatchUpdate, doBatchUpdateNonstrict, doCreate, doCreateOrModify, doCreateOrModifyNonstrict, doDelete, doDeleteNonstrict, doInsert, doInsertOrUpdate, doInsertOrUpdateNonstrict, doLumpCreate, doLumpModify, doLumpModifyNonstrict, doLumpRemove, doLumpRemoveNonstrict, doModify, doModifyNonstrict, doQueryDelete, doQueryInsert, doQueryUpdate, doRangeCreate, doRangeModify, doRangeRemove, doRemove, doRemoveNonstrict, doUpdate, doUpdateNonstrict, downcast, downcast, downcast, downcast, emptyOpt, filterEntityOfDelete, filterEntityOfInsert, filterEntityOfUpdate, frameworkFilterEntityOfDelete, frameworkFilterEntityOfInsert, frameworkFilterEntityOfUpdate, getCommonColumnAutoSetupper, helpDeleteInternally, helpDeleteNonstrictIgnoreDeletedInternally, helpDeleteNonstrictInternally, helpDetermineInsertOrUpdateDirectInsert, helpInsertOrUpdateInternally, helpInsertOrUpdateNonstrictInternally, helpReloadPrimaryKeyIfUniqueByIfNeeds, helpUpdateInternally, helpUpdateNonstrictInternally, hookBeforeDelete, hookBeforeInsert, hookBeforeUpdate, hookFinallyDelete, hookFinallyInsert, hookFinallyUpdate, injectSequenceToPrimaryKeyIfNeeds, isBatchInsertColumnModifiedPropertiesFragmentedDisallowed, isBatchUpdateColumnModifiedPropertiesFragmentedAllowed, isCompatibleBatchUpdateDefaultEveryColumn, lumpCreate, lumpModify, lumpModifyNonstrict, lumpRemove, lumpRemoveNonstrict, modify, modifyNonstrict, newBatchDeleteCommand, newBatchDeleteNonstrictCommand, newBatchInsertCommand, newBatchUpdateCommand, newBatchUpdateNonstrictCommand, newDeleteEntityCommand, newDeleteNonstrictEntityCommand, newDeleteOption, newInsertOption, newUpdateEntityCommand, newUpdateNonstrictEntityCommand, newUpdateOption, prepareBatchInsertOption, prepareBatchUpdateOption, prepareDeleteOption, prepareEntityDelete, prepareEntityDeleteOption, prepareEntityUpdate, prepareEntityUpdateOption, prepareInsertOption, prepareUpdateOption, rangeCreate, rangeModify, rangeRemove, reflectUniqueDriven, remove, removeNonstrict, setCommonColumnAutoSetupper, setupCommonColumnOfInsertIfNeeds, setupCommonColumnOfUpdateIfNeeds, setupExclusiveControlColumnOfQueryInsert, setupListEntityCommand, throwUpdateDateValueNullException, throwUpdateEntityAlreadyDeletedException, throwUpdateEntityDuplicatedException, throwVersionNoValueNullException
クラスから継承されたメソッド org.dbflute.bhv.AbstractBehaviorReadable
assertBehaviorCommandInvoker, assertCBCallNotNull, assertCBNotDreamCruise, assertCBNotNull, assertCBStateValid, assertConditionBeanSelectResource, assertEntityListNotNull, assertEntityNotDeleted, assertEntityNotNull, assertEntityNotNullAndHasPrimaryKeyValue, assertListNotNullAndEmpty, assertListNotNullAndHasOnlyOne, assertListNotNullAndNotEmpty, assertObjectNotNull, assertSpecifyDerivedReferrerEntityProperty, assertStringNotNullAndNotTrimmedEmpty, createBhvExThrower, createCB, createCBExThrower, createExceptionMessageBuilder, createHpSLSExecutor, createInsertEntityCommand, createOptionalEntity, createOptionalInsertOption, createPagingHandler, createPagingInvoker, createSelectCountCBCommand, createSelectCursorCBCommand, createSelectEntityCBCommand, createSelectListCBCommand, createSelectNextValCommand, createSelectNextValSubCommand, createSelectScalarCBCommand, createSLSFunction, delegateInsertNoPK, delegateSelectCountPlainly, delegateSelectNextVal, delegateSelectNextValSub, doHelpLoadReferrerInternally, doHelpLoadReferrerInternally, doOutsideSql, doReadCount, doReadEntity, doReadEntityWithDeletedCheck, doReadList, doReadPage, doReadScalar, doScalarSelect, doSelectCountPlainly, doSelectCountUniquely, doSelectCursor, doSelectEntity, doSelectEntityWithDeletedCheck, doSelectList, doSelectPage, downcast, downcast, downcast, facadeScalarSelect, facadeSelectCount, facadeSelectCursor, facadeSelectEntityWithDeletedCheck, facadeSelectList, facadeSelectPage, getBehaviorCommandInvoker, getBehaviorSelector, hasUpdateDateValue, hasVersionNoValue, helpConditionBeanDowncastInternally, helpEntityDowncastInternally, helpExtractListInternally, helpExtractSetInternally, helpLoadReferrerInternally, helpLoadReferrerInternally, helpPulloutInternally, helpSelectCursorCheckingByPagingAllowed, helpSelectCursorCheckingOrderByPK, helpSelectCursorInternally, helpSelectEntityInternally, helpSelectEntityWithDeletedCheckInternally, helpSelectListInternally, helpSelectPageInternally, invoke, isEntityDerivedMappable, isRelationOptional, ln, newConditionBean, newEntity, newInsertEntityCommand, newSelectCountCBCommand, newSelectCursorCBCommand, newSelectEntityCBCommand, newSelectListCBCommand, newSelectNextValCommand, newSelectNextValSubCommand, newSelectScalarCBCommand, newSLSFunction, readCount, readCursor, readEntity, readEntityWithDeletedCheck, readList, readNextVal, readPage, readScalar, readyOutsideSql, setBehaviorCommandInvoker, setBehaviorSelector, throwSelectEntityAlreadyDeletedException, throwSelectEntityConditionNotFoundException, throwSelectEntityDuplicatedException, throwSpecifyDerivedReferrerEntityPropertyNotFoundException, toLoadReferrerMappingKey, toLowerCaseIfString, toRelationOptional, typeOfHandlingConditionBean, typeOfHandlingEntity, typeOfSelectedEntity, warmUpCommand, xassLRArg, xassLRArg, xassLRArg, xassLRArg, xassLRArg, xassLRArg, xbuildReferrerCorrelatedFixedCondition, xcheckSafetyResultAsOne, xconvertFK2PKImplicitly, xconvertToRelationOptionalEntityIfNeeds, xcreateLoadReferrerCallback, xcreateLoadReferrerCallback, xdoBuildReferrerCorrelatedFixedCondition, xdoHelpExtractSetInternally, xextractPulloutForeignEntity, xextractPulloutReverseWrittenObject, xfindReferrerBehavior, xgetBSFLR, xgetROpFactory, xnewLoadReferrerCompoundKeyMap, xnewLRAryLs, xnewLRLs, xpreparePulloutResultList, xrestoreSafetyResult, xsavePulloutForeignEntity, xsetupEntityCommand, xsetupSelectCommand
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
インタフェースから継承されたメソッド org.dbflute.bhv.BehaviorReadable
asDBMeta, asTableDbName, newConditionBean, newEntity, readCount, readCursor, readEntity, readEntityWithDeletedCheck, readList, readNextVal, readPage, readScalar, readyOutsideSql, warmUpCommand
-
フィールド詳細
-
sizeForDelete
protected int sizeForDelete -
scrollForDelete
protected java.lang.String scrollForDelete -
sizeForCursor
protected int sizeForCursor -
scrollForCursor
protected java.lang.String scrollForCursor -
searchTimeout
protected java.lang.String searchTimeout -
indexTimeout
protected java.lang.String indexTimeout -
scrollSearchTimeout
protected java.lang.String scrollSearchTimeout -
bulkTimeout
protected java.lang.String bulkTimeout -
deleteTimeout
protected java.lang.String deleteTimeout -
refreshTimeout
protected java.lang.String refreshTimeout
-
-
コンストラクタの詳細
-
EsAbstractBehavior
public EsAbstractBehavior()
-
-
メソッドの詳細
-
asEsIndex
protected abstract java.lang.String asEsIndex() -
asEsIndexType
protected abstract java.lang.String asEsIndexType() -
asEsSearchType
protected abstract java.lang.String asEsSearchType() -
createEntity
protected abstract <RESULT extends ENTITY> RESULT createEntity(java.util.Map<java.lang.String,java.lang.Object> source, java.lang.Class<? extends RESULT> entityType) -
refresh
public org.elasticsearch.action.admin.indices.refresh.RefreshResponse refresh() -
delegateSelectCountUniquely
protected int delegateSelectCountUniquely(org.dbflute.cbean.ConditionBean cb) -
delegateSelectEntity
protected <RESULT extends ENTITY> RESULT delegateSelectEntity(org.dbflute.cbean.ConditionBean cb, java.lang.Class<? extends RESULT> entityType) -
delegateSelectList
protected <RESULT extends ENTITY> java.util.List<RESULT> delegateSelectList(org.dbflute.cbean.ConditionBean cb, java.lang.Class<? extends RESULT> entityType) -
helpSelectCursorHandlingByPaging
-
delegateSelectCursor
protected <RESULT extends ENTITY> void delegateSelectCursor(org.dbflute.cbean.ConditionBean cb, org.dbflute.bhv.readable.EntityRowHandler<RESULT> handler, java.lang.Class<? extends RESULT> entityType) -
delegateSelectBulk
protected <RESULT extends ENTITY> void delegateSelectBulk(org.dbflute.cbean.ConditionBean cb, org.dbflute.bhv.readable.EntityRowHandler<java.util.List<RESULT>> handler, java.lang.Class<? extends RESULT> entityType) -
delegateBulkRequest
protected void delegateBulkRequest(org.dbflute.cbean.ConditionBean cb, java.util.function.Function<org.elasticsearch.search.SearchHits,java.lang.Boolean> handler) -
deleteScrollContext
protected void deleteScrollContext(java.lang.String scrollId) -
doReadNextVal
protected java.lang.Number doReadNextVal() -
createListResultBean
protected <RESULT extends org.dbflute.Entity> org.dbflute.cbean.result.ListResultBean<RESULT> createListResultBean(org.dbflute.cbean.ConditionBean cb, java.util.List<RESULT> selectedList) -
delegateInsert
protected int delegateInsert(org.dbflute.Entity entity, org.dbflute.bhv.writable.InsertOption<? extends org.dbflute.cbean.ConditionBean> option) -
createInsertRequest
protected org.elasticsearch.action.index.IndexRequestBuilder createInsertRequest(EsAbstractEntity esEntity) -
delegateUpdate
protected int delegateUpdate(org.dbflute.Entity entity, org.dbflute.bhv.writable.UpdateOption<? extends org.dbflute.cbean.ConditionBean> option) -
createUpdateRequest
protected org.elasticsearch.action.index.IndexRequestBuilder createUpdateRequest(EsAbstractEntity esEntity) -
toSource
-
delegateDelete
protected int delegateDelete(org.dbflute.Entity entity, org.dbflute.bhv.writable.DeleteOption<? extends org.dbflute.cbean.ConditionBean> option) -
createDeleteRequest
protected org.elasticsearch.action.delete.DeleteRequestBuilder createDeleteRequest(EsAbstractEntity esEntity) -
delegateQueryDelete
protected int delegateQueryDelete(org.dbflute.cbean.ConditionBean cb, org.dbflute.bhv.writable.DeleteOption<? extends org.dbflute.cbean.ConditionBean> option) -
delegateBatchInsert
protected int[] delegateBatchInsert(java.util.List<? extends org.dbflute.Entity> entityList, org.dbflute.bhv.writable.InsertOption<? extends org.dbflute.cbean.ConditionBean> option) -
delegateBatchUpdate
protected int[] delegateBatchUpdate(java.util.List<? extends org.dbflute.Entity> entityList, org.dbflute.bhv.writable.UpdateOption<? extends org.dbflute.cbean.ConditionBean> option) -
delegateBatchDelete
protected int[] delegateBatchDelete(java.util.List<? extends org.dbflute.Entity> entityList, org.dbflute.bhv.writable.DeleteOption<? extends org.dbflute.cbean.ConditionBean> option) -
delegateBatchRequest
protected <BUILDER> int[] delegateBatchRequest(java.util.List<? extends org.dbflute.Entity> entityList, java.util.function.Function<EsAbstractEntity,BUILDER> call) -
createPlainUpdateOption
-
isCompatibleBatchInsertDefaultEveryColumn
protected boolean isCompatibleBatchInsertDefaultEveryColumn() -
setSizeForDelete
public void setSizeForDelete(int sizeForDelete) -
setScrollForDelete
public void setScrollForDelete(java.lang.String scrollForDelete) -
setSizeForCursor
public void setSizeForCursor(int sizeForCursor) -
setScrollForCursor
public void setScrollForCursor(java.lang.String scrollForCursor) -
setSearchTimeout
public void setSearchTimeout(java.lang.String searchTimeout) -
setIndexTimeout
public void setIndexTimeout(java.lang.String indexTimeout) -
setScrollSearchTimeout
public void setScrollSearchTimeout(java.lang.String scrollSearchTimeout) -
setBulkTimeout
public void setBulkTimeout(java.lang.String bulkTimeout) -
setDeleteTimeout
public void setDeleteTimeout(java.lang.String deleteTimeout) -
setRefreshTimeout
public void setRefreshTimeout(java.lang.String refreshTimeout) -
toStringArray
protected java.lang.String[] toStringArray(java.lang.Object value) -
toLocalDateTime
protected java.time.LocalDateTime toLocalDateTime(java.lang.Object value) -
toDate
protected java.util.Date toDate(java.lang.Object value) -
getSearchHits
protected org.elasticsearch.search.SearchHits getSearchHits(org.elasticsearch.action.search.SearchResponse response)
-