public class OrcFileFormatProxy extends Object implements FileFormatProxy
| Constructor and Description |
|---|
OrcFileFormatProxy() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.metastore.Metastore.SplitInfos |
applySargToMetadata(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg,
ByteBuffer fileMetadata)
Applies SARG to file metadata, and produces some result for this file.
|
ByteBuffer[] |
getAddedColumnsToCache() |
ByteBuffer[][] |
getAddedValuesToCache(List<ByteBuffer> metadata) |
ByteBuffer |
getMetadataToCache(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
ByteBuffer[] addedVals) |
public org.apache.hadoop.hive.metastore.Metastore.SplitInfos applySargToMetadata(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg,
ByteBuffer fileMetadata)
throws IOException
FileFormatProxyapplySargToMetadata in interface FileFormatProxysarg - SARGfileMetadata - File metadata from metastore cache.IOExceptionpublic ByteBuffer[] getAddedColumnsToCache()
getAddedColumnsToCache in interface FileFormatProxypublic ByteBuffer[][] getAddedValuesToCache(List<ByteBuffer> metadata)
getAddedValuesToCache in interface FileFormatProxymetadata - File metadatas.public ByteBuffer getMetadataToCache(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, ByteBuffer[] addedVals) throws IOException
getMetadataToCache in interface FileFormatProxyfs - The filesystem of the file.path - The file path.addedVals - Output parameter; additional column values for columns returned by
getAddedColumnsToCache to cache in MS.IOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.