Class EsAbstractBehavior<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>

  • Type Parameters:
    ENTITY - The type of entity.
    CB - The type of condition-bean.
    All Implemented Interfaces:
    org.dbflute.bhv.BehaviorReadable, org.dbflute.bhv.BehaviorWritable
    Direct Known Subclasses:
    BsClickLogBhv, BsFavoriteLogBhv, BsSearchLogBhv, BsUserInfoBhv

    public abstract class EsAbstractBehavior<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
    extends org.dbflute.bhv.AbstractBehaviorWritable<ENTITY,​CB>
    Author:
    ESFlute (using FreeGen)
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  EsAbstractBehavior.BulkList<E,​B>  
      • Nested classes/interfaces inherited from class 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>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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  
      • Fields inherited from class org.dbflute.bhv.AbstractBehaviorWritable

        _commonColumnAutoSetupper, EMPTY_INT_ARRAY
      • Fields inherited from class org.dbflute.bhv.AbstractBehaviorReadable

        _behaviorCommandInvoker, _behaviorSelector, DERIVED_MAPPABLE_ALIAS_PREFIX, EMPTY_NREF_LGWAY
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      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>
      RESULT
      createEntity​(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>
      void
      delegateSelectBulk​(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>
      void
      delegateSelectCursor​(org.dbflute.cbean.ConditionBean cb, org.dbflute.bhv.readable.EntityRowHandler<RESULT> handler, java.lang.Class<? extends RESULT> entityType)  
      protected <RESULT extends ENTITY>
      RESULT
      delegateSelectEntity​(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>
      void
      helpSelectCursorHandlingByPaging​(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)  
      • Methods inherited from class 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
      • Methods inherited from class 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.dbflute.bhv.BehaviorReadable

        asDBMeta, asTableDbName, newConditionBean, newEntity, readCount, readCursor, readEntity, readEntityWithDeletedCheck, readList, readNextVal, readPage, readScalar, readyOutsideSql, warmUpCommand
    • Field Detail

      • 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
    • Constructor Detail

      • EsAbstractBehavior

        public EsAbstractBehavior()
    • Method Detail

      • 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)
        Overrides:
        delegateSelectCountUniquely in class org.dbflute.bhv.AbstractBehaviorReadable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • delegateSelectEntity

        protected <RESULT extends ENTITY> RESULT delegateSelectEntity​(org.dbflute.cbean.ConditionBean cb,
                                                                      java.lang.Class<? extends RESULT> entityType)
        Overrides:
        delegateSelectEntity in class org.dbflute.bhv.AbstractBehaviorReadable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • delegateSelectList

        protected <RESULT extends ENTITY> java.util.List<RESULT> delegateSelectList​(org.dbflute.cbean.ConditionBean cb,
                                                                                    java.lang.Class<? extends RESULT> entityType)
        Overrides:
        delegateSelectList in class org.dbflute.bhv.AbstractBehaviorReadable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • helpSelectCursorHandlingByPaging

        protected <RESULT extends ENTITY> void helpSelectCursorHandlingByPaging​(CB cb,
                                                                                org.dbflute.bhv.readable.EntityRowHandler<RESULT> handler,
                                                                                java.lang.Class<? extends RESULT> entityType,
                                                                                org.dbflute.cbean.coption.CursorSelectOption option)
        Overrides:
        helpSelectCursorHandlingByPaging in class org.dbflute.bhv.AbstractBehaviorReadable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • 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)
        Overrides:
        delegateSelectCursor in class org.dbflute.bhv.AbstractBehaviorReadable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • 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()
        Specified by:
        doReadNextVal in class org.dbflute.bhv.AbstractBehaviorReadable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • createListResultBean

        protected <RESULT extends org.dbflute.Entity> org.dbflute.cbean.result.ListResultBean<RESULT> createListResultBean​(org.dbflute.cbean.ConditionBean cb,
                                                                                                                           java.util.List<RESULT> selectedList)
        Overrides:
        createListResultBean in class org.dbflute.bhv.AbstractBehaviorReadable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • delegateInsert

        protected int delegateInsert​(org.dbflute.Entity entity,
                                     org.dbflute.bhv.writable.InsertOption<? extends org.dbflute.cbean.ConditionBean> option)
        Overrides:
        delegateInsert in class org.dbflute.bhv.AbstractBehaviorWritable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • 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)
        Overrides:
        delegateUpdate in class org.dbflute.bhv.AbstractBehaviorWritable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • createUpdateRequest

        protected org.elasticsearch.action.index.IndexRequestBuilder createUpdateRequest​(EsAbstractEntity esEntity)
      • toSource

        protected java.util.Map<java.lang.String,​java.lang.Object> toSource​(EsAbstractEntity esEntity)
      • delegateDelete

        protected int delegateDelete​(org.dbflute.Entity entity,
                                     org.dbflute.bhv.writable.DeleteOption<? extends org.dbflute.cbean.ConditionBean> option)
        Overrides:
        delegateDelete in class org.dbflute.bhv.AbstractBehaviorWritable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • 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)
        Overrides:
        delegateQueryDelete in class org.dbflute.bhv.AbstractBehaviorWritable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • delegateBatchInsert

        protected int[] delegateBatchInsert​(java.util.List<? extends org.dbflute.Entity> entityList,
                                            org.dbflute.bhv.writable.InsertOption<? extends org.dbflute.cbean.ConditionBean> option)
        Overrides:
        delegateBatchInsert in class org.dbflute.bhv.AbstractBehaviorWritable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • delegateBatchUpdate

        protected int[] delegateBatchUpdate​(java.util.List<? extends org.dbflute.Entity> entityList,
                                            org.dbflute.bhv.writable.UpdateOption<? extends org.dbflute.cbean.ConditionBean> option)
        Overrides:
        delegateBatchUpdate in class org.dbflute.bhv.AbstractBehaviorWritable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • delegateBatchDelete

        protected int[] delegateBatchDelete​(java.util.List<? extends org.dbflute.Entity> entityList,
                                            org.dbflute.bhv.writable.DeleteOption<? extends org.dbflute.cbean.ConditionBean> option)
        Overrides:
        delegateBatchDelete in class org.dbflute.bhv.AbstractBehaviorWritable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • delegateBatchRequest

        protected <BUILDER> int[] delegateBatchRequest​(java.util.List<? extends org.dbflute.Entity> entityList,
                                                       java.util.function.Function<EsAbstractEntity,​BUILDER> call)
      • createPlainUpdateOption

        protected org.dbflute.bhv.writable.UpdateOption<CB> createPlainUpdateOption()
        Overrides:
        createPlainUpdateOption in class org.dbflute.bhv.AbstractBehaviorWritable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • isCompatibleBatchInsertDefaultEveryColumn

        protected boolean isCompatibleBatchInsertDefaultEveryColumn()
        Overrides:
        isCompatibleBatchInsertDefaultEveryColumn in class org.dbflute.bhv.AbstractBehaviorWritable<ENTITY extends org.dbflute.Entity,​CB extends org.dbflute.cbean.ConditionBean>
      • 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)