public static final class FileBasedSink.FileResult<DestinationT>
extends java.lang.Object
Constructor and Description |
---|
FileResult(ResourceId tempFilename,
int shard,
BoundedWindow window,
PaneInfo paneInfo,
DestinationT destination) |
Modifier and Type | Method and Description |
---|---|
DestinationT |
getDestination() |
ResourceId |
getDestinationFile(boolean windowedWrites,
FileBasedSink.DynamicDestinations<?,DestinationT,?> dynamicDestinations,
int numShards,
FileBasedSink.OutputFileHints outputFileHints) |
PaneInfo |
getPaneInfo() |
int |
getShard() |
ResourceId |
getTempFilename() |
@Nullable BoundedWindow |
getWindow() |
java.lang.String |
toString() |
FileBasedSink.FileResult<DestinationT> |
withShard(int shard) |
public FileResult(ResourceId tempFilename, int shard, BoundedWindow window, PaneInfo paneInfo, DestinationT destination)
public ResourceId getTempFilename()
public int getShard()
public FileBasedSink.FileResult<DestinationT> withShard(int shard)
public @Nullable BoundedWindow getWindow()
public PaneInfo getPaneInfo()
public DestinationT getDestination()
public ResourceId getDestinationFile(boolean windowedWrites, FileBasedSink.DynamicDestinations<?,DestinationT,?> dynamicDestinations, int numShards, FileBasedSink.OutputFileHints outputFileHints)
public java.lang.String toString()
toString
in class java.lang.Object