org.apache.accumulo.examples.wikisearch.logic
Class AbstractQueryLogic.UnionIndexRanges
java.lang.Object
org.apache.accumulo.examples.wikisearch.logic.AbstractQueryLogic.IndexRanges
org.apache.accumulo.examples.wikisearch.logic.AbstractQueryLogic.UnionIndexRanges
- Enclosing class:
- AbstractQueryLogic
public static class AbstractQueryLogic.UnionIndexRanges
- extends AbstractQueryLogic.IndexRanges
Object that computes the ranges by unioning all of the ranges for all of the terms together. In the case where ranges overlap, the largest range is used.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_KEY
public static String DEFAULT_KEY
AbstractQueryLogic.UnionIndexRanges
public AbstractQueryLogic.UnionIndexRanges()
getRanges
public Set<Range> getRanges()
- Specified by:
getRanges in class AbstractQueryLogic.IndexRanges
add
public void add(String term,
Range r)
- Specified by:
add in class AbstractQueryLogic.IndexRanges
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.