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(FileBasedSink.DynamicDestinations<?,DestinationT,?> dynamicDestinations,
int numShards,
FileBasedSink.OutputFileHints outputFileHints) |
PaneInfo |
getPaneInfo() |
int |
getShard() |
ResourceId |
getTempFilename() |
BoundedWindow |
getWindow() |
java.lang.String |
toString() |
FileBasedSink.FileResult<DestinationT> |
withShard(int shard) |
@Experimental(value=FILESYSTEM) public FileResult(ResourceId tempFilename, int shard, BoundedWindow window, PaneInfo paneInfo, DestinationT destination)
@Experimental(value=FILESYSTEM) public ResourceId getTempFilename()
public int getShard()
public FileBasedSink.FileResult<DestinationT> withShard(int shard)
public BoundedWindow getWindow()
public PaneInfo getPaneInfo()
public DestinationT getDestination()
@Experimental(value=FILESYSTEM) public ResourceId getDestinationFile(FileBasedSink.DynamicDestinations<?,DestinationT,?> dynamicDestinations, int numShards, FileBasedSink.OutputFileHints outputFileHints)
public java.lang.String toString()
toString
in class java.lang.Object