gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasink
Class DataSinkOp
java.lang.Object
gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasink.DataSinkOp
public class DataSinkOp
- extends Object
Operator class used to used to retrieve content from a result set and store
output to various data sinks
- Author:
- john.gerbesiotis - DI NKUA
|
Field Summary |
protected URI |
inLocator
The locator of the input |
|
Constructor Summary |
DataSinkOp(URI uri,
String outputType,
String outputValue,
HashMap<String,String> outputParameters,
long timeout,
TimeUnit timeUnit,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
|
DataSinkOp(URI uri,
String outputType,
String outputValue,
HashMap<String,String> outputParameters,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
|
DataSinkOp(URI uri,
String outputType,
String outputValue,
Map<String,String> outputParameters,
long timeout,
TimeUnit timeUnit,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
Creates a new DataSinkOp with configurable timeout for the writer |
DataSinkOp(URI uri,
String outputType,
String outputValue,
Map<String,String> outputParameters,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
Creates a new DataSinkOp with the default timeout for the writer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inLocator
protected URI inLocator
- The locator of the input
DataSinkOp
public DataSinkOp(URI uri,
String outputType,
String outputValue,
Map<String,String> outputParameters,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
- Creates a new
DataSinkOp with the default timeout for the writer
- Parameters:
uri - The input locator of the result set that will be consumedoutputType - The predefined type of the output data sinkoutputValue - The value for the output of the specific outputTypeoutputParameters - The parameters for the specific outputstats - Statistics
DataSinkOp
public DataSinkOp(URI uri,
String outputType,
String outputValue,
HashMap<String,String> outputParameters,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
DataSinkOp
public DataSinkOp(URI uri,
String outputType,
String outputValue,
Map<String,String> outputParameters,
long timeout,
TimeUnit timeUnit,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
- Creates a new
DataSinkOp with configurable timeout for the writer
- Parameters:
uri - The input locator of the result set that will be consumedoutputType - The predefined type of the output data sinkoutputValue - The value for the output of the specific outputTypeoutputParameters - The parameters for the specific outputtimeout - The timeout to be used for the writertimeUnit - The time unit of the timeout usedstats - Statistics
DataSinkOp
public DataSinkOp(URI uri,
String outputType,
String outputValue,
HashMap<String,String> outputParameters,
long timeout,
TimeUnit timeUnit,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
compute
public String compute()
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.