Package | Description |
---|---|
com.amazon.carbonado.qe |
Support for implementing a Query Engine.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
FilteringScore.evaluate(OrderedProperty<S>[] indexProperties,
boolean unique,
boolean clustered,
Filter<S> filter)
Evaluates the given index properties for its filtering capabilities
against the given filter.
|
static <S extends Storable> |
FilteringScore.evaluate(StorableIndex<S> index,
Filter<S> filter)
Evaluates the given index for its filtering capabilities against the
given filter.
|
FilteringScore<S> |
CompositeScore.getFilteringScore()
Returns the score on how well the evaluated index performs the desired
filtering.
|
FilteringScore<S> |
FilteringScore.withRemainderFilter(Filter<S> filter)
Returns a new FilteringScore with the remainder replaced and covering
matches recalculated.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator<FilteringScore<?>> |
FilteringScore.fullComparator()
Returns a comparator which determines which FilteringScores are
better.
|
static java.util.Comparator<FilteringScore<?>> |
FilteringScore.rangeComparator()
Returns a partial comparator which determines which FilteringScores are
better by examining only identity and range matches.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FilteringScore.canMergeRemainderFilter(FilteringScore<S> other)
Returns true if the given score uses an index exactly the same as this
one.
|
Filter<S> |
FilteringScore.mergeRemainderFilter(FilteringScore<S> other)
Merges the remainder filter of this score with the one given using an
'or' operation.
|
Constructor and Description |
---|
KeyQueryExecutor(KeyQueryExecutor.Support<S> support,
StorableIndex<S> index,
FilteringScore<S> score) |
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.