gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasource
Class DataSourceOp
java.lang.Object
gr.uoa.di.madgik.searchlibrary.operatorlibrary.datasource.DataSourceOp
public class DataSourceOp
- extends Object
Operator class used to used to retrieve content from various data sources and
produce a new result set output holding the records
- Author:
- john.gerbesiotis - DI NKUA
|
Constructor Summary |
DataSourceOp(String inputType,
String inputValue,
HashMap<String,String> inputParameters)
|
DataSourceOp(String inputType,
String inputValue,
HashMap<String,String> inputParameters,
long timeout,
TimeUnit timeUnit)
|
DataSourceOp(String inputType,
String inputValue,
Map<String,String> inputParameters)
Creates a new DataSourceOp with the default timeout for the
writer |
DataSourceOp(String inputType,
String inputValue,
Map<String,String> inputParameters,
long timeout,
TimeUnit timeUnit)
Creates a new DataSourceOp with configurable timeout for the
writer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceOp
public DataSourceOp(String inputType,
String inputValue,
Map<String,String> inputParameters)
- Creates a new
DataSourceOp with the default timeout for the
writer
- Parameters:
inputType - The predefined type of the input data sourceinputValue - The value for the input of the specific inputTypeinputParameters - The parameters for the specific input
DataSourceOp
public DataSourceOp(String inputType,
String inputValue,
HashMap<String,String> inputParameters)
DataSourceOp
public DataSourceOp(String inputType,
String inputValue,
Map<String,String> inputParameters,
long timeout,
TimeUnit timeUnit)
- Creates a new
DataSourceOp with configurable timeout for the
writer
- Parameters:
inputType - The predefined type of the input data sourceinputValue - The value for the input of the specific inputTypeinputParameters - The parameters for the specific inputtimeout - The timeout to be used for the writertimeUnit - The time unit of the timeout used
DataSourceOp
public DataSourceOp(String inputType,
String inputValue,
HashMap<String,String> inputParameters,
long timeout,
TimeUnit timeUnit)
compute
public URI compute()
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.