public class HadoopShimsCurrent extends Object implements HadoopShims
HadoopShims.ByteBufferPoolShim, HadoopShims.DirectCompressionType, HadoopShims.DirectDecompressor, HadoopShims.Factory, HadoopShims.TextReaderShim, HadoopShims.ZeroCopyReaderShim| Constructor and Description | 
|---|
| HadoopShimsCurrent() | 
| Modifier and Type | Method and Description | 
|---|---|
| HadoopShims.DirectDecompressor | getDirectDecompressor(HadoopShims.DirectCompressionType codec)Get a direct decompressor codec, if it is available | 
| HadoopShims.TextReaderShim | getTextReaderShim(InputStream in)Wrap a TextReaderShim around an input stream. | 
| HadoopShims.ZeroCopyReaderShim | getZeroCopyReader(FSDataInputStream in,
                 HadoopShims.ByteBufferPoolShim pool)Provides an HDFS ZeroCopyReader shim. | 
public HadoopShims.DirectDecompressor getDirectDecompressor(HadoopShims.DirectCompressionType codec)
HadoopShimsgetDirectDecompressor in interface HadoopShimspublic HadoopShims.ZeroCopyReaderShim getZeroCopyReader(FSDataInputStream in, HadoopShims.ByteBufferPoolShim pool) throws IOException
HadoopShimsgetZeroCopyReader in interface HadoopShimsin - FSDataInputStream to read from (where the cached/mmap buffers are tied to)IOExceptionpublic HadoopShims.TextReaderShim getTextReaderShim(InputStream in) throws IOException
HadoopShimsgetTextReaderShim in interface HadoopShimsIOExceptionCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.