Class CompressedSplitFastqLineReader
- java.lang.Object
-
- org.apache.hadoop.util.LineReader
-
- org.apache.hadoop.mapreduce.lib.input.SplitLineReader
-
- fr.ens.biologie.genomique.eoulsan.bio.io.hadoop.CompressedSplitFastqLineReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class CompressedSplitFastqLineReader extends org.apache.hadoop.mapreduce.lib.input.SplitLineReader
-
-
Constructor Summary
Constructors Constructor Description CompressedSplitFastqLineReader(org.apache.hadoop.io.compress.SplitCompressionInputStream in, org.apache.hadoop.conf.Configuration conf, byte[] recordDelimiterBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
fillBuffer(InputStream in, byte[] buffer, boolean inDelimiter)
boolean
needAdditionalRecordAfterSplit()
int
readLine(org.apache.hadoop.io.Text str, int maxLineLength, int maxBytesToConsume)
-
-
-
Constructor Detail
-
CompressedSplitFastqLineReader
public CompressedSplitFastqLineReader(org.apache.hadoop.io.compress.SplitCompressionInputStream in, org.apache.hadoop.conf.Configuration conf, byte[] recordDelimiterBytes) throws IOException
- Throws:
IOException
-
-
Method Detail
-
fillBuffer
protected int fillBuffer(InputStream in, byte[] buffer, boolean inDelimiter) throws IOException
- Overrides:
fillBuffer
in classorg.apache.hadoop.util.LineReader
- Throws:
IOException
-
readLine
public int readLine(org.apache.hadoop.io.Text str, int maxLineLength, int maxBytesToConsume) throws IOException
- Overrides:
readLine
in classorg.apache.hadoop.util.LineReader
- Throws:
IOException
-
needAdditionalRecordAfterSplit
public boolean needAdditionalRecordAfterSplit()
- Overrides:
needAdditionalRecordAfterSplit
in classorg.apache.hadoop.mapreduce.lib.input.SplitLineReader
-
-