Package org.apache.beam.sdk.io.cdap
Class CdapIO.Read<K,V> 
java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PBegin,PCollection<KV<K,V>>>
  
org.apache.beam.sdk.io.cdap.CdapIO.Read<K,V> 
- All Implemented Interfaces:
- Serializable,- HasDisplayData
- Enclosing class:
- CdapIO
A 
PTransform to read from CDAP source.- See Also:
- 
Field SummaryFields inherited from class org.apache.beam.sdk.transforms.PTransformannotations, displayData, name, resourceHints
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionPCollection<KV<K, V>> Override this method to specify how thisPTransformshould be expanded on the givenInputT.withCdapPlugin(Plugin<K, V> plugin) Sets a CDAPPlugin.withCdapPluginClass(Class<?> cdapPluginClass) Sets a CDAP Plugin class.withKeyClass(Class<K> keyClass) Sets a key class.withPluginConfig(PluginConfig pluginConfig) Sets aPluginConfig.withPullFrequencySec(Long pullFrequencySec) Delay in seconds between polling for new records updates.withStartOffset(Long startOffset) Inclusive start offset from which the reading should be started.withStartPollTimeoutSec(Long startPollTimeoutSec) Delay in seconds before start polling.withValueClass(Class<V> valueClass) Sets a value class.Methods inherited from class org.apache.beam.sdk.transforms.PTransformaddAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validate
- 
Constructor Details- 
Readpublic Read()
 
- 
- 
Method Details- 
withCdapPluginSets a CDAPPlugin.
- 
withCdapPluginClassSets a CDAP Plugin class.
- 
withPluginConfigSets aPluginConfig.
- 
withKeyClassSets a key class.
- 
withValueClassSets a value class.
- 
withPullFrequencySecDelay in seconds between polling for new records updates. Applicable only for streaming Cdap Plugins.
- 
withStartPollTimeoutSecDelay in seconds before start polling. Applicable only for streaming Cdap Plugins.
- 
withStartOffsetInclusive start offset from which the reading should be started. Applicable only for streaming Cdap Plugins.
- 
expandDescription copied from class:PTransformOverride this method to specify how thisPTransformshould be expanded on the givenInputT.NOTE: This method should not be called directly. Instead apply the PTransformshould be applied to theInputTusing theapplymethod.Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods). - Specified by:
- expandin class- PTransform<PBegin,- PCollection<KV<K, - V>>> 
 
 
-