mondrian.rolap.sql
Interface SqlConstraint

All Known Subinterfaces:
MemberChildrenConstraint, TupleConstraint
All Known Implementing Classes:
ChildByNameConstraint, DefaultMemberChildrenConstraint, DefaultTupleConstraint, DescendantsConstraint, RolapNativeCrossJoin.NonEmptyCrossJoinConstraint, RolapNativeFilter.FilterConstraint, RolapNativeSet.SetConstraint, RolapNativeTopCount.TopCountConstraint, SqlContextConstraint

public interface SqlConstraint

restricts the members that are fetched by SqlMemberSource.

Since:
Nov 2, 2005
Author:
av
See Also:
SqlMemberSource
 

Method Summary
 Object getCacheKey()
          Returns a key that becomes part of the key for caching the result of the SQL query.
 

Method Detail

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

SourceForge.net_Logo