public class StreamingSourceContextImpl extends BatchContextImpl implements io.cdap.cdap.etl.api.streaming.StreamingSourceContext
DEFAULT_SCHEMA_FIELD_NAME, DEFAULT_SCHEMA_RECORD_NAME, inputFormatProvider, outputFormatProvider, settableArguments
Constructor and Description |
---|
StreamingSourceContextImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isPreviewEnabled() |
void |
registerLineage(java.lang.String referenceName,
io.cdap.cdap.api.data.schema.Schema schema) |
addProperties, addTags, addTags, createDataset, datasetExists, discardDataset, getArguments, getDataset, getDataset, getDataset, getDataset, getFailureCollector, getInputFormatProvider, getInputSchema, getInputSchemas, getLogicalStartTime, getMetadata, getMetadata, getMetrics, getNamespace, getOutputFormatProvider, getOutputPortSchemas, getOutputSchema, getPipelineName, getPluginProperties, getPluginProperties, getServiceURL, getServiceURL, getStageName, loadPluginClass, newPluginInstance, provide, record, releaseDataset, removeMetadata, removeProperties, removeProperties, removeTags, removeTags
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDataset, datasetExists, getArguments
discardDataset, getDataset, getDataset, getDataset, getDataset, releaseDataset
getFailureCollector, getInputSchema, getInputSchemas, getInputStages, getLogicalStartTime, getMetrics, getNamespace, getOutputPortSchemas, getOutputSchema, getPipelineName, getPluginProperties, getPluginProperties, getStageName, loadPluginClass, newPluginInstance
getServiceURL, getServiceURL, getServiceURL, openConnection
getMetadata, getMetadata
addProperties, addTags, addTags, removeMetadata, removeProperties, removeProperties, removeTags, removeTags
record
provide
public void registerLineage(java.lang.String referenceName, @Nullable io.cdap.cdap.api.data.schema.Schema schema) throws DatasetManagementException, org.apache.tephra.TransactionFailureException
registerLineage
in interface io.cdap.cdap.etl.api.streaming.StreamingSourceContext
DatasetManagementException
org.apache.tephra.TransactionFailureException
public boolean isPreviewEnabled()
isPreviewEnabled
in interface io.cdap.cdap.etl.api.streaming.StreamingSourceContext