All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.browseengine.bobo.search.section.UnaryNotNode Maven / Gradle / Ivy

Go to download

Bobo is a Faceted Search implementation written purely in Java, an extension of Apache Lucene

The newest version!
/**
 * 
 */
package com.browseengine.bobo.search.section;

import java.io.IOException;

/**
 * UNARY-NOT operator node
 * (this node is not supported by SectionSearchQueryPlan)
 */
public class UnaryNotNode extends SectionSearchQueryPlan {
  private SectionSearchQueryPlan _subquery;

  public UnaryNotNode(SectionSearchQueryPlan subquery) {
    super();
    _subquery = subquery;
  }

  public SectionSearchQueryPlan getSubquery() {
    return _subquery;
  }

  @Override
  public int fetchDoc(int targetDoc) throws IOException {
    throw new UnsupportedOperationException("UnaryNotNode does not support fetchDoc");
  }

  @Override
  public int fetchSec(int targetSec) throws IOException {
    throw new UnsupportedOperationException("UnaryNotNode does not support fetchSec");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy