|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.searchlibrary.operatorlibrary.transform.TransformOp
public class TransformOp
This class performs an xslt transformation on the records that it receives as input and produces a new set of records as output, each one of them containing the transformed result
| Constructor Summary | |
|---|---|
TransformOp(URI locator,
String payloadFieldName,
StatsContainer stats)
Creates a new TransformOp with the default timeout for the reader and the writer |
|
TransformOp(URI inLocator,
String payloadFieldName,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
Creates a new TransformOp with configurable timeout for the reader and the writer |
|
| Method Summary | |
|---|---|
URI |
compute(String xslt)
Initiates the transformation procedure |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransformOp(URI locator,
String payloadFieldName,
StatsContainer stats)
TransformOp 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 transformation onstats - Statistics
public TransformOp(URI inLocator,
String payloadFieldName,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
TransformOp 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 transformation 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 xslt)
throws Exception
xslt - The xslt to be applied
RSLocator pointing to the produced org.gcube.searchservice.searchlibrary.resultset.ResultSet
Exception - An unrecoverable for the operation has occured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||