public class TwitterRecord extends Object implements org.apache.pulsar.functions.api.Record<TweetData>
TwitterRecord(TweetData tweet, boolean guestimateTweetTime)
Optional<Long>
getEventTime()
Optional<String>
getKey()
TweetData
getValue()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ack, fail, getDestinationTopic, getMessage, getPartitionId, getProperties, getRecordSequence, getSchema, getTopicName
public TwitterRecord(TweetData tweet, boolean guestimateTweetTime)
public Optional<String> getKey()
getKey
org.apache.pulsar.functions.api.Record<TweetData>
public Optional<Long> getEventTime()
getEventTime
public TweetData getValue()
getValue
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.