public static class PubsubFileInjector.Publish extends DoFn<java.lang.String,java.lang.Void>
DoFn.Context, DoFn.KeyedState, DoFn.ProcessContext, DoFn.RequiresKeyedState, DoFn.RequiresWindowAccess| Modifier and Type | Field and Description |
|---|---|
com.google.api.services.pubsub.Pubsub |
pubsub |
| Constructor and Description |
|---|
PubsubFileInjector.Publish(java.lang.String outputTopic) |
| Modifier and Type | Method and Description |
|---|---|
void |
processElement(DoFn.ProcessContext c) |
void |
startBundle(DoFn.Context context) |
finishBundle, getAllowedTimestampSkewpublic PubsubFileInjector.Publish(java.lang.String outputTopic)
public void startBundle(DoFn.Context context)
startBundle in class DoFn<java.lang.String,java.lang.Void>public void processElement(DoFn.ProcessContext c) throws java.io.IOException
processElement in class DoFn<java.lang.String,java.lang.Void>java.io.IOException