org.apache.accumulo.examples.wikisearch.logic
Class AbstractQueryLogic.IndexRanges
java.lang.Object
org.apache.accumulo.examples.wikisearch.logic.AbstractQueryLogic.IndexRanges
- Direct Known Subclasses:
- AbstractQueryLogic.UnionIndexRanges
- Enclosing class:
- AbstractQueryLogic
public abstract static class AbstractQueryLogic.IndexRanges
- extends Object
Object that is used to hold ranges found in the index. Subclasses may compute the final range set in various ways.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ranges
protected Map<String,TreeSet<Range>> ranges
AbstractQueryLogic.IndexRanges
public AbstractQueryLogic.IndexRanges()
getFieldNamesAndValues
public com.google.common.collect.Multimap<String,String> getFieldNamesAndValues()
setFieldNamesAndValues
public void setFieldNamesAndValues(com.google.common.collect.Multimap<String,String> fieldNamesAndValues)
getTermCardinality
public final Map<String,Long> getTermCardinality()
getIndexValuesToOriginalValues
public Map<String,String> getIndexValuesToOriginalValues()
setIndexValuesToOriginalValues
public void setIndexValuesToOriginalValues(Map<String,String> indexValuesToOriginalValues)
add
public abstract void add(String term,
Range r)
getRanges
public abstract Set<Range> getRanges()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.