public interface FileFormatProxy
Modifier and Type | Method and Description |
---|---|
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) |
Metastore.SplitInfos applySargToMetadata(org.apache.hadoop.hive.ql.io.sarg.SearchArgument sarg, ByteBuffer fileMetadata) throws IOException
sarg
- SARGfileMetadata
- File metadata from metastore cache.IOException
ByteBuffer getMetadataToCache(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, ByteBuffer[] addedVals) throws IOException
fs
- The filesystem of the file.path
- The file path.addedVals
- Output parameter; additional column values for columns returned by
getAddedColumnsToCache to cache in MS.IOException
ByteBuffer[] getAddedColumnsToCache()
ByteBuffer[][] getAddedValuesToCache(List<ByteBuffer> metadata)
metadata
- File metadatas.Copyright © 2021 The Apache Software Foundation. All rights reserved.