com.amazon.carbonado.qe
Interface RepositoryAccess


public interface RepositoryAccess

Provides internal access to a Repository, necessary for query execution.

Author:
Brian S O'Neill

Method Summary
 Repository getRootRepository()
           
<S extends Storable>
StorageAccess<S>
storageAccessFor(Class<S> type)
          Returns a StorageAccess instance for the given user defined Storable class or interface.
 

Method Detail

getRootRepository

Repository getRootRepository()

storageAccessFor

<S extends Storable> StorageAccess<S> storageAccessFor(Class<S> type)
                                                   throws SupportException,
                                                          RepositoryException
Returns a StorageAccess instance for the given user defined Storable class or interface.

Returns:
specific type of StorageAccess instance
Throws:
IllegalArgumentException - if specified type is null
MalformedTypeException - if specified type is not suitable
SupportException
RepositoryException


Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.