mondrian.rolap
Class RolapCubeHierarchy.RolapCubeSqlMemberSource
java.lang.Object
mondrian.rolap.SqlMemberSource
mondrian.rolap.RolapCubeHierarchy.RolapCubeSqlMemberSource
- All Implemented Interfaces:
- MemberReader, MemberSource, TupleReader.MemberBuilder
- Enclosing class:
- RolapCubeHierarchy
public static class RolapCubeHierarchy.RolapCubeSqlMemberSource
- extends SqlMemberSource
-
-
Methods inherited from class mondrian.rolap.SqlMemberSource |
compare, desubstitute, getDefaultMember, getHierarchy, getLeadMember, getLevelMemberCount, getMemberBuilder, getMemberChildren, getMemberChildren, getMemberChildren, getMemberChildren, getMemberCount, getMemberParent, getMemberRange, getMembers, getMembersInLevel, getMembersInLevel, getRootMembers, lookupMember, makeChildMemberSql, setCache, substitute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RolapCubeHierarchy.RolapCubeSqlMemberSource
public RolapCubeHierarchy.RolapCubeSqlMemberSource(RolapCubeHierarchy.RolapCubeHierarchyMemberReader memberReader,
RolapCubeHierarchy hierarchy,
MemberCacheHelper memberSourceCacheHelper,
Object memberCacheLock)
makeMember
public RolapMember makeMember(RolapMember parentMember,
RolapLevel childLevel,
Object value,
Object captionValue,
boolean parentChild,
ResultSet resultSet,
Object key,
int columnOffset)
throws SQLException
- Description copied from interface:
TupleReader.MemberBuilder
- Creates a new member (together with its properties).
- Specified by:
makeMember
in interface TupleReader.MemberBuilder
- Overrides:
makeMember
in class SqlMemberSource
- Throws:
SQLException
- See Also:
SqlMemberSource.makeMember(RolapMember, RolapLevel, Object, Object, boolean, ResultSet, Object, int)
getMemberCache
public MemberCache getMemberCache()
- Description copied from interface:
TupleReader.MemberBuilder
- Returns the
MemberCache
to look up members before
creating them.
- Specified by:
getMemberCache
in interface TupleReader.MemberBuilder
- Overrides:
getMemberCache
in class SqlMemberSource
getMemberCacheLock
public Object getMemberCacheLock()
- use the same lock in the RolapCubeMemberSource as the
RolapCubeHiearchyMemberReader to avoid deadlocks
- Specified by:
getMemberCacheLock
in interface TupleReader.MemberBuilder
- Overrides:
getMemberCacheLock
in class SqlMemberSource