public class GoogleCloudStorageSortInput extends Input<KeyValue<ByteBuffer,ByteBuffer>>
| Constructor and Description |
|---|
GoogleCloudStorageSortInput(FilesByShard files) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends InputReader<KeyValue<ByteBuffer,ByteBuffer>>> |
createReaders()
Returns a list of readers for this input.
|
getContextpublic GoogleCloudStorageSortInput(FilesByShard files)
public List<? extends InputReader<KeyValue<ByteBuffer,ByteBuffer>>> createReaders()
InputInput's
responsibility to determine an appropriate number of readers to split into.
This could be specified by the user or determined algorithmically.
The number of input readers returned determines the number of map shards.createReaders in class Input<KeyValue<ByteBuffer,ByteBuffer>>Copyright © 2015 Google. All rights reserved.