Package mondrian.rolap
Interface SqlMemberSource.ValuePoolFactory
-
- All Known Implementing Classes:
SqlMemberSource.NullValuePoolFactory
- Enclosing class:
- SqlMemberSource
public static interface SqlMemberSource.ValuePoolFactoryInterface definition for the pluggable factory used to decide which implementation of
Mapto use to pool reusable values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<Object,Object>create(SqlMemberSource source)Create a newMapto be used to pool values.
-
-
-
Method Detail
-
create
Map<Object,Object> create(SqlMemberSource source)
Create a new
Mapto be used to pool values. The value pool permits us to reuse references to existing objects rather than create new references to what are essentially duplicates of the same object. The intent is to allow the duplicate object to be garbage collected earlier, thus keeping overall memory requirements down.- Parameters:
source- TheSqlMemberSourcein which values are being pooled.- Returns:
- a new value pool map
-
-