public interface TnRelationRowCreator
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Map<String,Map<String,TnPropertyMapping>> |
createPropertyCache(Map<String,String> selectColumnMap,
Map<String,Map<String,Integer>> selectIndexMap,
TnRelationSelector relSelector,
TnBeanMetaData baseBmd)
Create relation property cache.
|
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)
Create relation row from first level relation.
|
Object |
filterOptionalRelationRowIfNeeds(Object row,
TnRelationPropertyType rpt,
Object relationRow)
Filter the relation row as optional object if it needs.
|
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
rs - 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.Map<String,Map<String,TnPropertyMapping>> createPropertyCache(Map<String,String> selectColumnMap, Map<String,Map<String,Integer>> selectIndexMap, TnRelationSelector relSelector, TnBeanMetaData baseBmd) throws SQLException
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)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.Object filterOptionalRelationRowIfNeeds(Object row, TnRelationPropertyType rpt, Object relationRow)
row - The base point row, which is previous relation row. (NotNull)rpt - The property type for the relation. (NotNull)relationRow - The row instance of relation entity. (NullAllowed)Copyright © 2014–2015 The DBFlute Project. All rights reserved.