Class VeniceChangelogConsumerIO.Read<K,V>
java.lang.Object
org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PBegin,org.apache.beam.sdk.values.PCollection<PubSubMessage<K,ChangeEvent<V>,VeniceChangeCoordinate>>>
com.linkedin.venice.beam.consumer.VeniceChangelogConsumerIO.Read<K,V>
- All Implemented Interfaces:
Serializable
,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- VeniceChangelogConsumerIO
public static class VeniceChangelogConsumerIO.Read<K,V>
extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PBegin,org.apache.beam.sdk.values.PCollection<PubSubMessage<K,ChangeEvent<V>,VeniceChangeCoordinate>>>
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.beam.sdk.transforms.PTransform
annotations, displayData, name, resourceHints
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.beam.sdk.values.PCollection<PubSubMessage<K,
ChangeEvent<V>, VeniceChangeCoordinate>> expand
(org.apache.beam.sdk.values.PBegin input) org.joda.time.Duration
long
getStore()
org.joda.time.Duration
setConsumerIdSuffix
(String consumerIdSuffix) setLocalVeniceChangelogConsumerProvider
(LocalVeniceChangelogConsumerProvider localVeniceChangelogConsumerProvider) setPartitions
(Set<Integer> partitions) setPollTimeout
(org.joda.time.Duration timeout) setSeekTimestamp
(long seekTimestamp) setTerminationTimeout
(org.joda.time.Duration timeout) VeniceChangelogConsumerIO.Read<K,
V>.com.linkedin.venice.beam.consumer.VeniceChangelogConsumerIO.Read.CurrentValueTransform withOnlyCurrentValue
(org.apache.beam.sdk.coders.Coder returnTypeCoder) VeniceChangelogConsumerIO.Read<K,
V>.com.linkedin.venice.beam.consumer.VeniceChangelogConsumerIO.Read.RemoveMetadata Methods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validate
-
Constructor Details
-
Read
public Read() -
Read
-
-
Method Details
-
expand
public org.apache.beam.sdk.values.PCollection<PubSubMessage<K,ChangeEvent<V>, expandVeniceChangeCoordinate>> (org.apache.beam.sdk.values.PBegin input) - Specified by:
expand
in classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PBegin,
org.apache.beam.sdk.values.PCollection<PubSubMessage<K, ChangeEvent<V>, VeniceChangeCoordinate>>>
-
getPollTimeout
public org.joda.time.Duration getPollTimeout() -
setPollTimeout
-
getSeekWhence
-
setSeekWhence
public VeniceChangelogConsumerIO.Read<K,V> setSeekWhence(VeniceChangelogConsumerIO.Read.SeekWhence seekWhence) -
getStore
-
setStore
-
getTerminationTimeout
public org.joda.time.Duration getTerminationTimeout() -
setTerminationTimeout
-
getSeekTimestamp
public long getSeekTimestamp() -
setSeekTimestamp
-
getPartitions
-
setPartitions
-
getLocalVeniceChangelogConsumerProvider
-
setLocalVeniceChangelogConsumerProvider
public VeniceChangelogConsumerIO.Read<K,V> setLocalVeniceChangelogConsumerProvider(LocalVeniceChangelogConsumerProvider localVeniceChangelogConsumerProvider) -
getConsumerIdSuffix
-
setConsumerIdSuffix
-
withoutMetadata
public VeniceChangelogConsumerIO.Read<K,V>.com.linkedin.venice.beam.consumer.VeniceChangelogConsumerIO.Read.RemoveMetadata withoutMetadata() -
withOnlyCurrentValue
public VeniceChangelogConsumerIO.Read<K,V>.com.linkedin.venice.beam.consumer.VeniceChangelogConsumerIO.Read.CurrentValueTransform withOnlyCurrentValue(org.apache.beam.sdk.coders.Coder returnTypeCoder)
-