| Modifier and Type | Field and Description |
|---|---|
protected SerializableFunction<KafkaRecord<K,V>,org.joda.time.Instant> |
KafkaIO.TypedRead.timestampFn |
protected SerializableFunction<KafkaRecord<K,V>,org.joda.time.Instant> |
KafkaIO.TypedRead.watermarkFn |
| Modifier and Type | Method and Description |
|---|---|
KafkaRecord<K,V> |
KafkaRecordCoder.decode(InputStream inStream,
Coder.Context context) |
| Modifier and Type | Method and Description |
|---|---|
PCollection<KafkaRecord<K,V>> |
KafkaIO.TypedRead.apply(PBegin input) |
| Modifier and Type | Method and Description |
|---|---|
void |
KafkaRecordCoder.encode(KafkaRecord<K,V> value,
OutputStream outStream,
Coder.Context context) |
boolean |
KafkaRecordCoder.isRegisterByteSizeObserverCheap(KafkaRecord<K,V> value,
Coder.Context context) |
Object |
KafkaRecordCoder.structuralValue(KafkaRecord<K,V> value) |
| Modifier and Type | Method and Description |
|---|---|
KafkaIO.TypedRead<K,V> |
KafkaIO.TypedRead.withTimestampFn2(SerializableFunction<KafkaRecord<K,V>,org.joda.time.Instant> timestampFn)
A function to assign a timestamp to a record.
|
KafkaIO.TypedRead<K,V> |
KafkaIO.TypedRead.withWatermarkFn2(SerializableFunction<KafkaRecord<K,V>,org.joda.time.Instant> watermarkFn)
A function to calculate watermark after a record.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.