com.amazon.carbonado.qe
Interface FullScanQueryExecutor.Support<S extends Storable>

All Known Subinterfaces:
StorageAccess<S>
Enclosing class:
FullScanQueryExecutor<S extends Storable>

public static interface FullScanQueryExecutor.Support<S extends Storable>

Provides support for FullScanQueryExecutor.


Method Summary
 long countAll()
          Counts all Storables.
 Cursor<S> fetchAll()
          Perform a full scan of all Storables.
 Class<S> getStorableType()
           
 

Method Detail

getStorableType

Class<S> getStorableType()

countAll

long countAll()
              throws FetchException
Counts all Storables. Implementation may return -1 to indicate that default count algorithm should be used.

Throws:
FetchException

fetchAll

Cursor<S> fetchAll()
                                    throws FetchException
Perform a full scan of all Storables.

Throws:
FetchException


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