|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.searchlibrary.operatorlibrary.filter.FilterOp
public class FilterOp
Operator class used to perform an xPath based filtering operation on its input org.gcube.searchservice.searchlibrary.resultset.ResultSet
and produce a new org.gcube.searchservice.searchlibrary.resultset.ResultSet output holding the passing
records
| Constructor Summary | |
|---|---|
FilterOp(URI inLocator,
String payloadFieldName,
StatsContainer stats)
Creates a new FilterOp with the default timeout for the reader and the writer |
|
FilterOp(URI inLocator,
String payloadFieldName,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
Creates a new FilterOp with configurable timeout for the reader and the writer |
|
| Method Summary | |
|---|---|
URI |
compute(String xPath)
Performs the filtering operation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterOp(URI inLocator,
String payloadFieldName,
StatsContainer stats)
FilterOp with the default timeout for the reader and the writer
locator - The locator of the inputpayloadFieldName - The name of the Field which contains the payload to apply the filtering operation onstats - Statistics
public FilterOp(URI inLocator,
String payloadFieldName,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
FilterOp with configurable timeout for the reader and the writer
locator - The locator of the inputpayloadFieldName - The name of the Field which contains the payload to apply the filtering operation onstats - Statisticstimeout - The timeout to be used both by the reader and the writertimeUnit - The time unit of the timeout used| Method Detail |
|---|
public URI compute(String xPath)
throws Exception
xPath - The xpath expression to use
Exception - An unrecoverable error for the operation occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||