public abstract class TnRelationRowCreatorImpl extends Object implements TnRelationRowCreator
DBFlute depended on S2Dao before 0.9.0.TnRelationRowCreatorImplis close to S2Dao logicTnRelationRowCreatorExtensionhas DBFlute logic
| コンストラクタと説明 |
|---|
TnRelationRowCreatorImpl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilterOptionalRelationRowIfNeedspublic Object createRelationRow(ResultSet rs, TnRelationPropertyType rpt, Map<String,String> selectColumnMap, Map<String,Map<String,Integer>> selectIndexMap, TnRelationKey relKey, Map<String,Map<String,TnPropertyMapping>> relPropCache, TnRelationRowCache relRowCache, TnRelationSelector relSelector) throws SQLException
createRelationRow インタフェース内 TnRelationRowCreatorrs - Result set. (NotNull)rpt - The type of relation property. (NotNull)selectColumnMap - The name map of select column. map:{flexibleName = columnDbName} (NotNull)selectIndexMap - The map of select index. map:{entityNo(e.g. loc00 or _0_3) = map:{selectColumnKeyName = selectIndex}} (NullAllowed: null means select index is disabled)relKey - The relation key, which has key values, of the relation. (NotNull)relPropCache - The map of relation property cache. map:{relationNoSuffix = map:{columnName = PropertyMapping}} (NotNull)relRowCache - The cache of relation row. (NotNull)relSelector - The selector of relation, which can determines e.g. is it not-selected relation?. (NotNull)SQLException - When it fails to handle the SQL.protected TnRelationRowCreationResource createResourceForRow(ResultSet rs, TnRelationPropertyType rpt, Map<String,String> selectColumnMap, Map<String,Map<String,Integer>> selectIndexMap, TnRelationKey relKey, Map<String,Map<String,TnPropertyMapping>> relPropCache, TnRelationRowCache relRowCache, TnRelationSelector relSelector) throws SQLException
SQLExceptionprotected Object createRelationRow(TnRelationRowCreationResource res) throws SQLException
res - The resource of relation row creation. (NotNull)SQLException - When it fails to handle the SQL.protected abstract void setupRelationKeyValue(TnRelationRowCreationResource res)
protected abstract void setupRelationAllValue(TnRelationRowCreationResource res) throws SQLException
SQLExceptionprotected boolean isValidRelationPerPropertyLoop(TnRelationRowCreationResource res) throws SQLException
SQLExceptionprotected boolean isValidRelationAfterPropertyLoop(TnRelationRowCreationResource res) throws SQLException
SQLExceptionpublic Map<String,Map<String,TnPropertyMapping>> createPropertyCache(Map<String,String> selectColumnMap, Map<String,Map<String,Integer>> selectIndexMap, TnRelationSelector relSelector, TnBeanMetaData baseBmd) throws SQLException
createPropertyCache インタフェース内 TnRelationRowCreatorselectColumnMap - The name map of select column. map:{flexibleName = columnDbName} (NotNull)selectIndexMap - The map of select index. map:{entityNo(e.g. loc00 or _0_3) = map:{selectColumnKeyName = selectIndex}} (NullAllowed: null means select index is disabled)relSelector - The selector of relation, which can determines e.g. is it not-selected relation?. (NotNull)baseBmd - Bean meta data of base object. (NotNull)SQLException - When it fails to handle the SQL.protected Map<String,Map<String,TnPropertyMapping>> newRelationPropertyCache()
protected TnRelationRowCreationResource createResourceForPropertyCache(TnRelationPropertyType rpt, Map<String,String> selectColumnMap, Map<String,Map<String,Integer>> selectIndexMap, Map<String,Map<String,TnPropertyMapping>> relPropCache, TnRelationSelector relSelector, String baseSuffix, String relationNoSuffix, int limitRelationNestLevel) throws SQLException
SQLExceptionprotected abstract void setupPropertyCache(TnRelationRowCreationResource res) throws SQLException
SQLExceptionprotected void setupPropertyCacheElement(TnRelationRowCreationResource res) throws SQLException
SQLExceptionprotected boolean isOutOfRelationSelectIndex(String relationNoSuffix, String columnDbName, Map<String,Map<String,Integer>> selectIndexMap) throws SQLException
SQLExceptionprotected boolean isTargetRelation(TnRelationRowCreationResource res) throws SQLException
SQLExceptionprotected abstract boolean isCreateDeadLink()
protected abstract int getLimitRelationNestLevel()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.