public abstract class AbstractDataTableRead<T> extends Object implements InnerTableRead
InnerTableRead
for data table.Constructor and Description |
---|
AbstractDataTableRead(TableSchema schema) |
Modifier and Type | Method and Description |
---|---|
RecordReader<InternalRow> |
createReader(Split split) |
TableRead |
executeFilter() |
protected abstract InnerTableRead |
innerWithFilter(Predicate predicate) |
abstract void |
projection(int[][] projection) |
abstract RecordReader<InternalRow> |
reader(Split split) |
InnerTableRead |
withFilter(Predicate predicate) |
TableRead |
withIOManager(IOManager ioManager) |
InnerTableRead |
withProjection(int[][] projection) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forceKeepDelete, withFilter, withProjection
createReader, createReader
public AbstractDataTableRead(TableSchema schema)
public abstract void projection(int[][] projection)
public abstract RecordReader<InternalRow> reader(Split split) throws IOException
IOException
public TableRead withIOManager(IOManager ioManager)
withIOManager
in interface TableRead
public final InnerTableRead withFilter(Predicate predicate)
withFilter
in interface InnerTableRead
protected abstract InnerTableRead innerWithFilter(Predicate predicate)
public TableRead executeFilter()
executeFilter
in interface InnerTableRead
executeFilter
in interface TableRead
public final InnerTableRead withProjection(int[][] projection)
withProjection
in interface InnerTableRead
public final RecordReader<InternalRow> createReader(Split split) throws IOException
createReader
in interface TableRead
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.