Package | Description |
---|---|
com.amazon.carbonado.qe |
Support for implementing a Query Engine.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
CompositeScore.evaluate(OrderedProperty<S>[] indexProperties,
boolean unique,
boolean clustered,
Filter<S> filter,
OrderingList<S> ordering)
Evaluates the given index properties for its filtering and ordering
capabilities against the given filter and order-by properties.
|
static <S extends Storable> |
CompositeScore.evaluate(StorableIndex<S> index,
Filter<S> filter,
OrderingList<S> ordering)
Evaluates the given index for its filtering and ordering capabilities
against the given filter and order-by properties.
|
CompositeScore<S> |
IndexedQueryAnalyzer.Result.getCompositeScore()
Returns the score on how well the selected index performs the
desired filtering and ordering.
|
CompositeScore<S> |
CompositeScore.withRemainderFilter(Filter<S> filter)
Returns a new CompositeScore with the filtering remainder replaced and
covering matches recalculated.
|
CompositeScore<S> |
CompositeScore.withRemainderOrdering(OrderingList<S> ordering)
Returns a new CompositeScore with the ordering remainder
replaced.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator<CompositeScore<?>> |
CompositeScore.fullComparator()
Returns a comparator which determines which CompositeScores are
better.
|
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()
Returns a partial comparator suited for comparing local indexes to
foreign indexes.
|
static java.util.Comparator<CompositeScore<?>> |
CompositeScore.localForeignComparator(QueryHints hints)
Returns a partial comparator suited for comparing local indexes to
foreign indexes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CompositeScore.canMergeRemainder(CompositeScore<S> other)
Returns true if the filtering score can merge its remainder filter and
the ordering score can merge its remainder orderings.
|
Filter<S> |
CompositeScore.mergeRemainderFilter(CompositeScore<S> other)
Merges the remainder filter of this score with the one given using an
'or' operation.
|
OrderingList<S> |
CompositeScore.mergeRemainderOrdering(CompositeScore<S> other)
Merges the remainder orderings of this score with the one given.
|
Constructor and Description |
---|
IndexedQueryExecutor(IndexedQueryExecutor.Support<S> support,
StorableIndex<S> index,
CompositeScore<S> score) |
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.