org.hibernate.shards.criteria
Interface ShardedCriteria

All Superinterfaces:
org.hibernate.Criteria, org.hibernate.criterion.CriteriaSpecification
All Known Implementing Classes:
ShardedCriteriaImpl

public interface ShardedCriteria
extends org.hibernate.Criteria

Interface for a shard-aware Criteria implementation.

Author:
maxr@google.com (Max Ross)
See Also:
Criteria

Field Summary
 
Fields inherited from interface org.hibernate.criterion.CriteriaSpecification
ALIAS_TO_ENTITY_MAP, DISTINCT_ROOT_ENTITY, FULL_JOIN, INNER_JOIN, LEFT_JOIN, PROJECTION, ROOT_ALIAS, ROOT_ENTITY
 
Method Summary
 CriteriaFactory getCriteriaFactory()
           
 CriteriaId getCriteriaId()
           
 
Methods inherited from interface org.hibernate.Criteria
add, addOrder, createAlias, createAlias, createCriteria, createCriteria, createCriteria, createCriteria, getAlias, list, scroll, scroll, setCacheable, setCacheMode, setCacheRegion, setComment, setFetchMode, setFetchSize, setFirstResult, setFlushMode, setLockMode, setLockMode, setMaxResults, setProjection, setResultTransformer, setTimeout, uniqueResult
 

Method Detail

getCriteriaId

CriteriaId getCriteriaId()
Returns:
the CriteriaId of this ShardedCriteria instance.

getCriteriaFactory

CriteriaFactory getCriteriaFactory()
Returns:
the CriteriaFactory of this ShardedCriteria instance.