P
- the generic typepublic abstract class BaseStreamingPackage<P extends DataSetConnectorParams> extends Object implements StreamingPackage
Constructor and Description |
---|
BaseStreamingPackage() |
Modifier and Type | Method and Description |
---|---|
DataSet |
getDataSet()
Gets the data set.
|
Driver |
getDriver()
Gets the driver.
|
String |
getFilter()
Gets the filter.
|
int |
getMaxRows()
Gets the maximum number of rows allowed for the DataSet.
|
P |
getParams()
Gets the parameters.
|
boolean |
hasDestination()
Checks if package has destination.
|
void |
setCrudAction(String crudAction)
Sets the CRUD action.
|
void |
setDataSet(DataSet dataSet)
Sets the data set.
|
void |
setDriver(Driver driver)
Sets the driver.
|
void |
setFilter(String filter)
Sets the filter.
|
void |
setParams(P params)
Sets the parameters.
|
void |
setTarget(String target)
Sets the target.
|
public int getMaxRows()
StreamingPackage
getMaxRows
in interface StreamingPackage
public DataSet getDataSet()
public void setDataSet(DataSet dataSet)
dataSet
- the new data setpublic Driver getDriver()
public void setDriver(Driver driver)
driver
- the new driverpublic P getParams()
public void setParams(P params)
params
- the new parameterspublic String getFilter()
StreamingPackage
getFilter
in interface StreamingPackage
public void setFilter(String filter)
filter
- the new filterpublic void setCrudAction(String crudAction)
StreamingPackage
setCrudAction
in interface StreamingPackage
crudAction
- the new crud actionpublic void setTarget(String target)
setTarget
in interface StreamingPackage
target
- the new targetpublic boolean hasDestination()
StreamingPackage
hasDestination
in interface StreamingPackage
Copyright © 2010-2020 Toolsverse. All Rights Reserved.