public interface HadoopShims
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | HadoopShims.ByteBufferPoolShima hadoop.io ByteBufferPool shim. | 
| static class  | HadoopShims.DirectCompressionType | 
| static interface  | HadoopShims.DirectDecompressor | 
| static class  | HadoopShims.KeyMetadataInformation about a crypto key including the key name, version, and the
 algorithm. | 
| static class  | HadoopShims.KeyProviderKindThe known KeyProviders for column encryption. | 
| static interface  | HadoopShims.ZeroCopyReaderShim | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | endVariableLengthBlock(OutputStream output)End the OutputStream's current block at the current location. | 
| HadoopShims.DirectDecompressor | getDirectDecompressor(HadoopShims.DirectCompressionType codec)Get a direct decompressor codec, if it is available | 
| KeyProvider | getHadoopKeyProvider(Configuration conf,
                    Random random)Create a Hadoop KeyProvider to get encryption keys. | 
| HadoopShims.ZeroCopyReaderShim | getZeroCopyReader(FSDataInputStream in,
                 HadoopShims.ByteBufferPoolShim pool)Provides an HDFS ZeroCopyReader shim. | 
HadoopShims.DirectDecompressor getDirectDecompressor(HadoopShims.DirectCompressionType codec)
codec - the kind of decompressor that we needHadoopShims.ZeroCopyReaderShim getZeroCopyReader(FSDataInputStream in, HadoopShims.ByteBufferPoolShim pool) throws IOException
in - FSDataInputStream to read from (where the cached/mmap buffers are
          tied to)pool - ByteBufferPoolShim to allocate fallback buffers withIOExceptionboolean endVariableLengthBlock(OutputStream output) throws IOException
IOExceptionKeyProvider getHadoopKeyProvider(Configuration conf, Random random) throws IOException
conf - the configurationrandom - a secure random number generatorIOExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.