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

All Known Implementing Classes:
QueryEngine, StandardQueryFactory

public interface QueryFactory<S extends Storable>

Produces Query instances from a query specification.

Author:
Brian S O'Neill

Method Summary
 Class<S> getStorableType()
           
 Query<S> query(Filter<S> filter, FilterValues<S> values, OrderingList<S> ordering, QueryHints hints)
          Returns a query that handles the given query specification.
 

Method Detail

getStorableType

Class<S> getStorableType()

query

Query<S> query(Filter<S> filter,
               FilterValues<S> values,
               OrderingList<S> ordering,
               QueryHints hints)
                                throws FetchException
Returns a query that handles the given query specification.

Parameters:
filter - optional filter object, defaults to open filter if null
values - optional values object, defaults to filter initial values
ordering - optional order-by properties
hints - optional hints
Throws:
FetchException


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