Class StorageTxtFileReaderPipe

    • Constructor Detail

      • StorageTxtFileReaderPipe

        public StorageTxtFileReaderPipe​(Storage<?,​?> storageConnector,
                                        String bucketName,
                                        String path,
                                        Charset charset,
                                        int chunkSize,
                                        FileReadOptions options)
        Constructor
        Parameters:
        storageConnector - The Storage connector
        bucketName - The bucket to read the file from
        path - The full path of the text file inside the bucket
        charset - The charset used
        chunkSize - The size (in bytes) of each chunk read from storage at once, or 0 for using the default one.
        options - The file read options
      • StorageTxtFileReaderPipe

        public StorageTxtFileReaderPipe​(Storage<?,​?> storageConnector,
                                        String bucket,
                                        String path,
                                        Charset charset)
        Constructor Uses the default read chunk size and default read options
        Parameters:
        storageConnector - The Storage connector
        bucket - The bucket to read the file from
        path - The full path of the text file inside the bucket
        charset - The charset used
      • StorageTxtFileReaderPipe

        public StorageTxtFileReaderPipe​(Storage<?,​?> storageConnector,
                                        String bucket,
                                        String path)
        Constructor Uses the default read chunk size and default read options, and assumes UTF8
        Parameters:
        storageConnector - The Storage connector
        bucket - The bucket to read the file from
        path - The full path of the text file inside the bucket. The file is assumed to be UTF8.
      • StorageTxtFileReaderPipe

        public StorageTxtFileReaderPipe​(Storage<?,​?> storageConnector,
                                        String bucket,
                                        String path,
                                        FileReadOptions options)
        Constructor Uses the default read chunk size and assumes UTF8
        Parameters:
        storageConnector - The Storage connector
        bucket - The bucket to read the file from
        path - The full path of the text file inside the bucket. The file is assumed to be UTF8.
        options - The file read options