com.amazon.carbonado.qe
Interface QueryExecutorFactory<S extends Storable>

All Known Implementing Classes:
DelegatedQueryExecutorFactory, QueryEngine, QueryExecutorCache, UnionQueryAnalyzer

public interface QueryExecutorFactory<S extends Storable>

Produces QueryExecutor instances from a query specification.

Author:
Brian S O'Neill

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()
           
 

Method Detail

getStorableType

Class<S> getStorableType()

executor

QueryExecutor<S> executor(Filter<S> filter,
                          OrderingList<S> ordering,
                          QueryHints hints)
                                           throws RepositoryException
Returns an executor that handles the given query specification.

Parameters:
filter - optional filter
ordering - optional order-by properties
hints - optional query hints
Throws:
RepositoryException


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