Class BsRelatedQueryBhv
java.lang.Object
org.dbflute.bhv.AbstractBehaviorReadable<ENTITY,CB>
org.dbflute.bhv.AbstractBehaviorWritable<ENTITY,CB>
org.codelibs.fess.es.config.allcommon.EsAbstractBehavior<RelatedQuery,RelatedQueryCB>
org.codelibs.fess.es.config.bsbhv.BsRelatedQueryBhv
- All Implemented Interfaces:
org.dbflute.bhv.BehaviorReadable,org.dbflute.bhv.BehaviorWritable
- Direct Known Subclasses:
RelatedQueryBhv
- Author:
- ESFlute (using FreeGen)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codelibs.fess.es.config.allcommon.EsAbstractBehavior
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 Object, REFERRER_CB extends org.dbflute.cbean.ConditionBean, REFERRER_ENTITY extends org.dbflute.Entity> -
Field Summary
Fields inherited from class org.codelibs.fess.es.config.allcommon.EsAbstractBehavior
bulkTimeout, deleteTimeout, indexTimeout, refreshTimeout, scrollForCursor, scrollForDelete, scrollSearchTimeout, searchTimeout, sizeForCursor, sizeForDeleteFields inherited from class org.dbflute.bhv.AbstractBehaviorWritable
_commonColumnAutoSetupper, EMPTY_INT_ARRAYFields inherited from class org.dbflute.bhv.AbstractBehaviorReadable
_behaviorCommandInvoker, _behaviorSelector, DERIVED_MAPPABLE_ALIAS_PREFIX, EMPTY_NREF_LGWAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasDBMeta()protected Stringint[]batchDelete(List<RelatedQuery> list) int[]batchDelete(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) int[]batchDelete(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) int[]batchInsert(List<RelatedQuery> list) int[]batchInsert(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) int[]batchInsert(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) int[]batchUpdate(List<RelatedQuery> list) int[]batchUpdate(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) int[]batchUpdate(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) protected <RESULT extends RelatedQuery>
RESULTcreateEntity(Map<String, Object> source, Class<? extends RESULT> entityType) voiddelete(RelatedQuery entity) voiddelete(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.delete.DeleteRequestBuilder> opLambda) protected org.dbflute.EntitydoReadEntity(org.dbflute.cbean.ConditionBean cb) protected <ENTITY extends RelatedQuery>
ENTITYdoSelectByPK(String id, Class<? extends ENTITY> tp) protected <ENTITY extends RelatedQuery>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) protected <ENTITY extends RelatedQuery>
org.dbflute.optional.OptionalEntity<ENTITY>doSelectOptionalEntity(RelatedQueryCB cb, Class<? extends ENTITY> tp) protected org.dbflute.optional.OptionalEntity<RelatedQuery>protected org.dbflute.optional.OptionalEntity<RelatedQuery>voidinsert(RelatedQuery entity) voidinsert(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) voidinsertOrUpdate(RelatedQuery entity) voidinsertOrUpdate(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) intqueryDelete(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) voidselectBulk(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<List<RelatedQuery>> entityLambda) org.dbflute.optional.OptionalEntity<RelatedQuery>selectByPK(String id) intselectCount(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) voidselectCursor(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<RelatedQuery> entityLambda) org.dbflute.optional.OptionalEntity<RelatedQuery>selectEntity(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) selectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) org.dbflute.cbean.result.ListResultBean<RelatedQuery>selectList(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) org.dbflute.cbean.result.PagingResultBean<RelatedQuery>selectPage(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) protected Class<RelatedQueryCB>protected Class<RelatedQuery>protected Class<? extends RelatedQuery>voidupdate(RelatedQuery entity) voidupdate(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) protected <RESULT extends RelatedQuery>
RESULTupdateEntity(Map<String, Object> source, RESULT result) protected RelatedQueryCBxprepareCBAsPK(String id) Methods inherited from class org.codelibs.fess.es.config.allcommon.EsAbstractBehavior
createDeleteRequest, createInsertRequest, createListResultBean, createPlainUpdateOption, createUpdateRequest, delegateBatchDelete, delegateBatchInsert, delegateBatchRequest, delegateBatchUpdate, delegateBulkRequest, delegateDelete, delegateInsert, delegateQueryDelete, delegateSelectBulk, delegateSelectCountUniquely, delegateSelectCursor, delegateSelectEntity, delegateSelectList, delegateUpdate, deleteScrollContext, doReadNextVal, getSearchHits, helpSelectCursorHandlingByPaging, isCompatibleBatchInsertDefaultEveryColumn, refresh, setBulkTimeout, setDeleteTimeout, setIndexTimeout, setRefreshTimeout, setScrollForCursor, setScrollForDelete, setScrollSearchTimeout, setSearchTimeout, setSizeForCursor, setSizeForDelete, toDate, toLocalDateTime, toSource, toStringArrayMethods 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, throwVersionNoValueNullExceptionMethods 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, 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, 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, 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, xsetupSelectCommandMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dbflute.bhv.BehaviorReadable
newEntity, readCount, readCursor, readEntity, readEntityWithDeletedCheck, readList, readNextVal, readPage, readScalar, readyOutsideSql, warmUpCommand
-
Constructor Details
-
BsRelatedQueryBhv
public BsRelatedQueryBhv()
-
-
Method Details
-
asTableDbName
-
asEsIndex
- Specified by:
asEsIndexin classEsAbstractBehavior<RelatedQuery,RelatedQueryCB>
-
asEsIndexType
- Specified by:
asEsIndexTypein classEsAbstractBehavior<RelatedQuery,RelatedQueryCB>
-
asEsSearchType
- Specified by:
asEsSearchTypein classEsAbstractBehavior<RelatedQuery,RelatedQueryCB>
-
asDBMeta
-
createEntity
protected <RESULT extends RelatedQuery> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) - Specified by:
createEntityin classEsAbstractBehavior<RelatedQuery,RelatedQueryCB>
-
updateEntity
protected <RESULT extends RelatedQuery> RESULT updateEntity(Map<String, Object> source, RESULT result) -
selectCount
-
selectEntity
public org.dbflute.optional.OptionalEntity<RelatedQuery> selectEntity(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) -
facadeSelectEntity
-
doSelectOptionalEntity
protected <ENTITY extends RelatedQuery> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalEntity(RelatedQueryCB cb, Class<? extends ENTITY> tp) -
newConditionBean
- Specified by:
newConditionBeanin interfaceorg.dbflute.bhv.BehaviorReadable- Specified by:
newConditionBeanin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
doReadEntity
protected org.dbflute.Entity doReadEntity(org.dbflute.cbean.ConditionBean cb) - Specified by:
doReadEntityin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
selectEntityWithDeletedCheck
public RelatedQuery selectEntityWithDeletedCheck(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) -
selectByPK
-
facadeSelectByPK
-
doSelectByPK
-
xprepareCBAsPK
-
doSelectOptionalByPK
protected <ENTITY extends RelatedQuery> org.dbflute.optional.OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) -
typeOfSelectedEntity
- Specified by:
typeOfSelectedEntityin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
typeOfHandlingEntity
- Specified by:
typeOfHandlingEntityin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
typeOfHandlingConditionBean
- Specified by:
typeOfHandlingConditionBeanin classorg.dbflute.bhv.AbstractBehaviorReadable<RelatedQuery,RelatedQueryCB>
-
selectList
public org.dbflute.cbean.result.ListResultBean<RelatedQuery> selectList(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) -
selectPage
public org.dbflute.cbean.result.PagingResultBean<RelatedQuery> selectPage(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda) -
selectCursor
public void selectCursor(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<RelatedQuery> entityLambda) -
selectBulk
public void selectBulk(org.dbflute.bhv.readable.CBCall<RelatedQueryCB> cbLambda, org.dbflute.bhv.readable.EntityRowHandler<List<RelatedQuery>> entityLambda) -
insert
-
insert
public void insert(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) -
update
-
update
public void update(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) -
insertOrUpdate
-
insertOrUpdate
public void insertOrUpdate(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> opLambda) -
delete
-
delete
public void delete(RelatedQuery entity, EsAbstractEntity.RequestOptionCall<org.opensearch.action.delete.DeleteRequestBuilder> opLambda) -
queryDelete
-
batchInsert
-
batchInsert
public int[] batchInsert(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) -
batchInsert
public int[] batchInsert(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) -
batchUpdate
-
batchUpdate
public int[] batchUpdate(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) -
batchUpdate
public int[] batchUpdate(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall) -
batchDelete
-
batchDelete
public int[] batchDelete(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call) -
batchDelete
public int[] batchDelete(List<RelatedQuery> list, EsAbstractEntity.RequestOptionCall<org.opensearch.action.bulk.BulkRequestBuilder> call, EsAbstractEntity.RequestOptionCall<org.opensearch.action.index.IndexRequestBuilder> entityCall)
-