コード例 #1
0
 private FileSystemInputPartition([Parameter(typeof(PartitionId))] string id,
                                  [Parameter(typeof(FilePathsInInputPartition))] ISet <string> filePaths,
                                  IFileSystem fileSystem,
                                  IFileDeSerializer <T> fileSerializer)
 {
     _id             = id;
     _fileSystem     = fileSystem;
     _fileSerializer = fileSerializer;
     _filePaths      = filePaths;
     _isInitialized  = false;
 }
コード例 #2
0
 private FileSystemInputPartition([Parameter(typeof(PartitionId))] string id,
                                  [Parameter(typeof(FilePathsInInputPartition))] ISet <string> filePaths,
                                  [Parameter(typeof(CopyToLocal))] bool copyToLocal,
                                  IFileSystem fileSystem,
                                  ITempFileCreator tempFileCreator,
                                  IFileDeSerializer <T> fileSerializer)
 {
     _id              = id;
     _fileSystem      = fileSystem;
     _fileSerializer  = fileSerializer;
     _filePaths       = filePaths;
     _tempFileCreator = tempFileCreator;
     _isInitialized   = false;
     _copyToLocal     = copyToLocal;
 }
コード例 #3
0
 private FileSystemInputPartition([Parameter(typeof(PartitionId))] string id,
                                  [Parameter(typeof(FilePathsInInputPartition))] ISet <string> remoteFilePaths,
                                  [Parameter(typeof(CopyToLocal))] bool copyToLocal,
                                  IFileSystem fileSystem,
                                  ITempFileCreator tempFileCreator,
                                  IFileDeSerializer <T> fileSerializer)
 {
     _id              = id;
     _fileSystem      = fileSystem;
     _fileSerializer  = fileSerializer;
     _tempFileCreator = tempFileCreator;
     _remoteFilePaths = remoteFilePaths;
     _copyToLocal     = copyToLocal;
     _localFiles      = Optional <ISet <string> > .Empty();
 }