public class IndexedQueryAnalyzer.Result
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
canMergeRemainder(IndexedQueryAnalyzer.Result other)
Returns true if the given result uses the same index as this, and in
the same way.
|
QueryExecutor<S> |
createExecutor()
Creates a QueryExecutor based on this result.
|
CompositeScore<S> |
getCompositeScore()
Returns the score on how well the selected index performs the
desired filtering and ordering.
|
Filter<S> |
getFilter()
Returns combined handled and remainder filter for this result.
|
StorableIndex<?> |
getForeignIndex()
Returns the foreign index that was selected, or null if a local
index was selected.
|
ChainedProperty<S> |
getForeignProperty()
Returns the simple or chained property that maps to the selected
foreign index.
|
StorableIndex<S> |
getLocalIndex()
Returns the local index that was selected, or null if a foreign
index was selected.
|
OrderingList<S> |
getOrdering()
Returns combined handled and remainder orderings for this result.
|
Filter<S> |
getRemainderFilter()
Remainder filter which overrides that in composite score.
|
OrderingList<S> |
getRemainderOrdering()
Remainder orderings which override that in composite score.
|
boolean |
handlesAnything()
Returns true if the selected index does anything at all to filter
results or to order them.
|
boolean |
isIndexClustered()
Returns true if local or foreign index is clustered.
|
IndexedQueryAnalyzer.Result |
mergeRemainder(IndexedQueryAnalyzer.Result other)
Merges the remainder filter and orderings of this result with the
one given, returning a new result.
|
IndexedQueryAnalyzer.Result |
mergeRemainderFilter(Filter<S> filter)
Merges the remainder filter of this result with the given filter,
returning a new result.
|
java.lang.String |
toString() |
IndexedQueryAnalyzer.Result |
withRemainderFilter(Filter<S> remainderFilter)
Returns a new result with the remainder filter replaced.
|
IndexedQueryAnalyzer.Result |
withRemainderOrdering(OrderingList<S> remainderOrdering)
Returns a new result with the remainder ordering replaced.
|
public boolean handlesAnything()
public Filter<S> getFilter()
public OrderingList<S> getOrdering()
public CompositeScore<S> getCompositeScore()
public Filter<S> getRemainderFilter()
public OrderingList<S> getRemainderOrdering()
public StorableIndex<S> getLocalIndex()
public StorableIndex<?> getForeignIndex()
JoinedQueryExecutor
is needed.public ChainedProperty<S> getForeignProperty()
JoinedQueryExecutor
.public boolean isIndexClustered()
public boolean canMergeRemainder(IndexedQueryAnalyzer.Result other)
public IndexedQueryAnalyzer.Result mergeRemainder(IndexedQueryAnalyzer.Result other)
public IndexedQueryAnalyzer.Result mergeRemainderFilter(Filter<S> filter)
public IndexedQueryAnalyzer.Result withRemainderFilter(Filter<S> remainderFilter)
public IndexedQueryAnalyzer.Result withRemainderOrdering(OrderingList<S> remainderOrdering)
public QueryExecutor<S> createExecutor() throws SupportException, FetchException, RepositoryException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.