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; }
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; }
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(); }