T
- type of data to read.public final class SparkBoundedSourceVertex<T> extends SourceVertex<T>
Constructor and Description |
---|
SparkBoundedSourceVertex(Dataset<T> dataset)
Constructor.
|
SparkBoundedSourceVertex(ReadablesWrapper<T> readablesWrapper)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SparkBoundedSourceVertex |
getClone() |
ReadablesWrapper<T> |
getReadableWrapper(int desiredNumOfSplits)
Gets parallel readable wrapper.
|
copyExecutionPropertiesTo, getExecutionProperties, getProperty, irVertexPropertiesToString, setProperty
getId, getNumericId, propertiesToJSON
public SparkBoundedSourceVertex(Dataset<T> dataset)
dataset
- Dataset to read data from.public SparkBoundedSourceVertex(ReadablesWrapper<T> readablesWrapper)
readablesWrapper
- readables wrapper.public SparkBoundedSourceVertex getClone()
public ReadablesWrapper<T> getReadableWrapper(int desiredNumOfSplits)
SourceVertex
getReadableWrapper
in class SourceVertex<T>
desiredNumOfSplits
- number of splits desired.Copyright © 2018. All rights reserved.