gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasink
Class DataSinkOp

java.lang.Object
  extended by 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
 
Method Summary
 String compute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inLocator

protected URI inLocator
The locator of the input

Constructor Detail

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 consumed
outputType - The predefined type of the output data sink
outputValue - The value for the output of the specific outputType
outputParameters - The parameters for the specific output
stats - 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 consumed
outputType - The predefined type of the output data sink
outputValue - The value for the output of the specific outputType
outputParameters - The parameters for the specific output
timeout - The timeout to be used for the writer
timeUnit - The time unit of the timeout used
stats - 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)
Method Detail

compute

public String compute()
               throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.