com.amazon.carbonado.qe
Class DelegatedQueryExecutorFactory<S extends Storable>

java.lang.Object
  extended by com.amazon.carbonado.qe.DelegatedQueryExecutorFactory<S>
All Implemented Interfaces:
QueryExecutorFactory<S>

public class DelegatedQueryExecutorFactory<S extends Storable>
extends Object
implements QueryExecutorFactory<S>

QueryExecutorFactory which produces executors which delegate via DelegatedQueryExecutor.

Author:
Brian S O'Neill

Constructor Summary
DelegatedQueryExecutorFactory(Storage<S> rootStorage)
           
 
Method Summary
 QueryExecutor<S> executor(Filter<S> filter, OrderingList<S> ordering, QueryHints hints)
          Returns an executor that handles the given query specification.
 Class<S> getStorableType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatedQueryExecutorFactory

public DelegatedQueryExecutorFactory(Storage<S> rootStorage)
Method Detail

getStorableType

public Class<S> getStorableType()
Specified by:
getStorableType in interface QueryExecutorFactory<S extends Storable>

executor

public QueryExecutor<S> executor(Filter<S> filter,
                                 OrderingList<S> ordering,
                                 QueryHints hints)
                                           throws FetchException
Description copied from interface: QueryExecutorFactory
Returns an executor that handles the given query specification.

Specified by:
executor in interface QueryExecutorFactory<S extends Storable>
Parameters:
filter - optional filter
ordering - optional order-by properties
hints - optional query hints
Throws:
FetchException


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