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
HiveShim
getORCFile
in interface HiveShim
client
- 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 HiveShim
public boolean isSupportedWriterType(ScalarTokenType type)
isSupportedWriterType
in interface HiveShim
public ParquetFileShim getParquetFile(FileClient client, Path path) throws IOException
HiveShim
getParquetFile
in interface HiveShim
client
- file clientpath
- path to the source fileIOException
- thrown if an I/O error occurs accessing the Parquet fileCopyright © 2016 Actian Corporation. All Rights Reserved.