public final class OrcReader extends java.lang.Object implements TableReader
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader, which will close the underlying stream.
|
static OrcReader |
create(AlluxioURI uri) |
TableSchema |
getSchema() |
TableRow |
read() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic static OrcReader create(AlluxioURI uri) throws java.io.IOException
uri - the alluxio uri of the orc filejava.io.IOExceptionpublic TableSchema getSchema()
getSchema in interface TableReaderpublic TableRow read() throws java.io.IOException
read in interface TableReaderjava.io.IOException - when read failspublic void close()
throws java.io.IOException
TableReaderclose in interface TableReaderclose in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException - when failing to close the underlying streamCopyright © 2022. All Rights Reserved.