Example usage for Java org.apache.hadoop.util LineReader fields, constructors, methods, implement or subclass
The text is from its open source code.
LineReader(InputStream in) Create a line reader that reads from the given stream using the default buffer-size (64k). | |
LineReader(InputStream in, int bufferSize) Create a line reader that reads from the given stream using the given buffer-size. | |
LineReader(InputStream in, Configuration conf) Create a line reader that reads from the given stream using the io.file.buffer.size specified in the given Configuration . | |
LineReader(InputStream in, byte[] recordDelimiterBytes) Create a line reader that reads from the given stream using the default buffer-size, and using a custom delimiter of array of bytes. | |
LineReader(InputStream in, int bufferSize, byte[] recordDelimiterBytes) Create a line reader that reads from the given stream using the given buffer-size, and using a custom delimiter of array of bytes. | |
LineReader(InputStream in, Configuration conf, byte[] recordDelimiterBytes) Create a line reader that reads from the given stream using the io.file.buffer.size specified in the given Configuration , and using a custom delimiter of array of bytes. |
void | close() Close the underlying stream. |
int | readLine(Text str) Read from the InputStream into the given Text. |
int | readLine(Text str, int maxLineLength) Read from the InputStream into the given Text. |
int | readLine(Text str, int maxLineLength, int maxBytesToConsume) Read one line from the InputStream into the given Text. |