Constructor and Description |
---|
Segment(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean preserve) |
Segment(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean preserve,
Counters.Counter mergedMapOutputsCounter) |
Segment(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean preserve,
Counters.Counter mergedMapOutputsCounter,
long rawDataLength) |
Segment(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
long segmentOffset,
long segmentLength,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean preserve) |
Segment(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
long segmentOffset,
long segmentLength,
org.apache.hadoop.io.compress.CompressionCodec codec,
boolean preserve,
Counters.Counter mergedMapOutputsCounter) |
Segment(IFile.Reader<K,V> reader,
boolean preserve) |
Segment(IFile.Reader<K,V> reader,
boolean preserve,
Counters.Counter mapOutputsCounter) |
Segment(IFile.Reader<K,V> reader,
boolean preserve,
long rawDataLength) |
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
long |
getPosition() |
long |
getRawDataLength() |
public Segment(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, org.apache.hadoop.io.compress.CompressionCodec codec, boolean preserve) throws IOException
IOException
public Segment(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, org.apache.hadoop.io.compress.CompressionCodec codec, boolean preserve, Counters.Counter mergedMapOutputsCounter) throws IOException
IOException
public Segment(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, org.apache.hadoop.io.compress.CompressionCodec codec, boolean preserve, Counters.Counter mergedMapOutputsCounter, long rawDataLength) throws IOException
IOException
public Segment(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, long segmentOffset, long segmentLength, org.apache.hadoop.io.compress.CompressionCodec codec, boolean preserve) throws IOException
IOException
public Segment(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, long segmentOffset, long segmentLength, org.apache.hadoop.io.compress.CompressionCodec codec, boolean preserve, Counters.Counter mergedMapOutputsCounter) throws IOException
IOException
public Segment(IFile.Reader<K,V> reader, boolean preserve)
public Segment(IFile.Reader<K,V> reader, boolean preserve, long rawDataLength)
public Segment(IFile.Reader<K,V> reader, boolean preserve, Counters.Counter mapOutputsCounter)
public long getLength()
public long getRawDataLength()
public long getPosition() throws IOException
IOException
Copyright © 2016 Apache Software Foundation. All Rights Reserved.