Class TwitterRecord
- java.lang.Object
-
- org.apache.pulsar.io.twitter.data.TwitterRecord
-
-
Constructor Summary
Constructors Constructor Description TwitterRecord(TweetData tweet, boolean guestimateTweetTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Long>getEventTime()java.util.Optional<java.lang.String>getKey()TweetDatagetValue()
-
-
-
Constructor Detail
-
TwitterRecord
public TwitterRecord(TweetData tweet, boolean guestimateTweetTime)
-
-
Method Detail
-
getKey
public java.util.Optional<java.lang.String> getKey()
- Specified by:
getKeyin interfaceorg.apache.pulsar.functions.api.Record<TweetData>
-
getEventTime
public java.util.Optional<java.lang.Long> getEventTime()
- Specified by:
getEventTimein interfaceorg.apache.pulsar.functions.api.Record<TweetData>
-
-