Package | Description |
---|---|
com.amazon.carbonado.qe |
Support for implementing a Query Engine.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Storable> |
OrderingScore.evaluate(OrderedProperty<S>[] indexProperties,
boolean unique,
boolean clustered,
Filter<S> filter,
OrderingList<S> ordering)
Evaluates the given index properties for its ordering capabilities
against the given filter and order-by properties.
|
static <S extends Storable> |
OrderingScore.evaluate(StorableIndex<S> index,
Filter<S> filter,
OrderingList<S> ordering)
Evaluates the given index for its ordering capabilities against the
given filter and order-by properties.
|
OrderingScore<S> |
CompositeScore.getOrderingScore()
Returns the score on how well the evaluated index performs the desired
ordering.
|
OrderingScore<S> |
OrderingScore.withRemainderOrdering(OrderingList<S> ordering)
Returns a new OrderingScore with the remainder replaced.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator<OrderingScore<?>> |
OrderingScore.fullComparator()
Returns a comparator which determines which OrderingScores are
better.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OrderingScore.canMergeRemainderOrdering(OrderingScore<S> other)
Returns true if the given score uses an index exactly the same as this
one.
|
OrderingList<S> |
OrderingScore.mergeRemainderOrdering(OrderingScore<S> other)
Merges the remainder orderings of this score with the one given.
|
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.