com.browseengine.bobo.search.section.UnaryNotNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bobo-browse Show documentation
Show all versions of bobo-browse Show documentation
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");
}
}