Package mondrian.rolap.sql
Interface SqlConstraint
- All Known Subinterfaces:
MemberChildrenConstraint
,TupleConstraint
- All Known Implementing Classes:
DefaultMemberChildrenConstraint
,DefaultTupleConstraint
,MemberKeyConstraint
,RolapNativeSet.SetConstraint
,SqlContextConstraint
public interface SqlConstraint
Restricts the members that are fetched by SqlMemberSource.
- Since:
- Nov 2, 2005
- Author:
- av
- See Also:
-
SqlMemberSource
-
Method Summary
Modifier and TypeMethodDescriptionReturns a key that becomes part of the key for caching the result of the SQL query.
-
Method Details
-
getCacheKey
Object getCacheKey()Returns a key that becomes part of the key for caching the result of the SQL query. So SqlConstraint instances that produce the same SQL resultset must return equal keys in terms of equal() and hashCode().- Returns:
- valid key or null to prevent the result from being cached
-