public static class FileBasedSink.FilenamePolicy.WindowedContext
extends java.lang.Object
FileBasedSink.FilenamePolicy.WindowedContext objects.
Be careful about adding fields to this as existing strategies will not notice the new fields, and may not produce unique filenames.
| Constructor and Description |
|---|
WindowedContext(BoundedWindow window,
PaneInfo paneInfo,
int shardNumber,
int numShards) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumShards() |
PaneInfo |
getPaneInfo() |
int |
getShardNumber() |
BoundedWindow |
getWindow() |
public WindowedContext(BoundedWindow window, PaneInfo paneInfo, int shardNumber, int numShards)
public BoundedWindow getWindow()
public PaneInfo getPaneInfo()
public int getShardNumber()
public int getNumShards()