public interface TableReader
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader, which will close the underlying stream.
|
static TableReader |
create(AlluxioURI uri,
PartitionInfo pInfo) |
TableSchema |
getSchema() |
TableRow |
read() |
static TableReader create(AlluxioURI uri, PartitionInfo pInfo) throws java.io.IOException
uri - the URI to the inputpInfo - the partition info from catalog servicejava.io.IOException - when failed to create the readerTableSchema getSchema() throws java.io.IOException
java.io.IOException - when failed to read the schemaTableRow read() throws java.io.IOException
java.io.IOException - when read failsvoid close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOException - when failing to close the underlying streamCopyright © 2022. All Rights Reserved.