| Constructor and Description |
|---|
HiveShimImpl(Module module)
Construct with the given module which is used to load the correct dependent classes.
|
| Modifier and Type | Method and Description |
|---|---|
ORCFileShim |
getORCFile(FileClient client,
Path path)
Get an ORC file shim for the given file path.
|
ORCFormatterShim |
getORCFormatter(ORCOptions orcOptions) |
ParquetFileShim |
getParquetFile(FileClient client,
Path path)
Get an Parquet file shim for the given file path.
|
boolean |
isSupportedWriterType(ScalarTokenType type) |
public HiveShimImpl(Module module)
module - hadoop module to usepublic ORCFileShim getORCFile(FileClient client, Path path) throws IOException
HiveShimgetORCFile in interface HiveShimclient - file clientpath - path to the source fileIOException - thrown if an I/O error occurs accessing the ORC filepublic ORCFormatterShim getORCFormatter(ORCOptions orcOptions)
getORCFormatter in interface HiveShimpublic boolean isSupportedWriterType(ScalarTokenType type)
isSupportedWriterType in interface HiveShimpublic ParquetFileShim getParquetFile(FileClient client, Path path) throws IOException
HiveShimgetParquetFile in interface HiveShimclient - file clientpath - path to the source fileIOException - thrown if an I/O error occurs accessing the Parquet fileCopyright © 2016 Actian Corporation. All Rights Reserved.