Package | Description |
---|---|
com.amazon.carbonado.qe |
Support for implementing a Query Engine.
|
Modifier and Type | Method and Description |
---|---|
static QueryHints |
QueryHints.emptyHints() |
QueryHints |
QueryHints.with(QueryHint hint)
Returns a new QueryHints object with the given hint.
|
QueryHints |
QueryHints.with(QueryHint hint,
java.lang.Object value)
Returns a new QueryHints object with the given hint and value.
|
QueryHints |
QueryHints.without(QueryHint hint)
Returns a new QueryHints object without the given hint.
|
Modifier and Type | Method and Description |
---|---|
UnionQueryAnalyzer.Result |
UnionQueryAnalyzer.analyze(Filter<S> filter,
OrderingList<S> ordering,
QueryHints hints) |
IndexedQueryAnalyzer.Result |
IndexedQueryAnalyzer.analyze(Filter<S> filter,
OrderingList<S> ordering,
QueryHints hints) |
static <T extends Storable> |
JoinedQueryExecutor.build(RepositoryAccess repoAccess,
ChainedProperty<T> targetToSourceProperty,
Filter<T> targetFilter,
OrderingList<T> targetOrdering,
QueryHints hints)
Builds and returns a complex joined excutor against a chained property,
supporting multi-way joins.
|
protected abstract StandardQuery<S> |
StandardQueryFactory.createQuery(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints)
Implement this method to return query implementations.
|
protected StandardQuery<S> |
QueryEngine.createQuery(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints) |
QueryExecutor<S> |
UnionQueryAnalyzer.executor(Filter<S> filter,
OrderingList<S> ordering,
QueryHints hints)
Returns an executor that handles the given query specification.
|
QueryExecutor<S> |
QueryExecutorCache.executor(Filter<S> filter,
OrderingList<S> ordering,
QueryHints hints)
Returns an executor from the cache.
|
QueryExecutor<S> |
DelegatedQueryExecutorFactory.executor(Filter<S> filter,
OrderingList<S> ordering,
QueryHints hints) |
QueryExecutor<S> |
QueryExecutorFactory.executor(Filter<S> filter,
OrderingList<S> ordering,
QueryHints hints)
Returns an executor that handles the given query specification.
|
QueryExecutor<S> |
QueryEngine.executor(Filter<S> filter,
OrderingList<S> ordering,
QueryHints hints) |
static java.util.Comparator<CompositeScore<?>> |
CompositeScore.fullComparator(QueryHints hints)
Returns a comparator which determines which CompositeScores are
better.
|
static java.util.Comparator<CompositeScore<?>> |
CompositeScore.localForeignComparator(QueryHints hints)
Returns a partial comparator suited for comparing local indexes to
foreign indexes.
|
protected abstract StandardQuery<S> |
StandardQuery.newInstance(FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints)
Return a new or cached instance of StandardQuery implementation, using
new filter values.
|
Query<S> |
QueryFactory.query(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints)
Returns a query that handles the given query specification.
|
Query<S> |
StandardQueryFactory.query(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints)
Returns a new or cached query for the given query specification.
|
Query<S> |
StandardQueryFactory.query(Filter<S> filter,
OrderingList<S> ordering,
QueryHints hints)
Returns a new or cached query for the given query specification.
|
Constructor and Description |
---|
StandardQuery(Filter<S> filter,
FilterValues<S> values,
OrderingList<S> ordering,
QueryHints hints) |
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.