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) |
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
Copyright © 2015 Actian Corporation. All Rights Reserved.