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 |
---|---|
abstract void |
applyReadType(RowType readType) |
RecordReader<InternalRow> |
createReader(Split split) |
TableRead |
executeFilter() |
protected abstract InnerTableRead |
innerWithFilter(Predicate predicate) |
abstract RecordReader<InternalRow> |
reader(Split split) |
InnerTableRead |
withFilter(Predicate predicate) |
TableRead |
withIOManager(IOManager ioManager) |
InnerTableRead |
withProjection(int[] projection)
Use
InnerTableRead.withReadType(RowType) instead. |
InnerTableRead |
withReadType(RowType readType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forceKeepDelete, withFilter
createReader, createReader
public AbstractDataTableRead(TableSchema schema)
public abstract void applyReadType(RowType readType)
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)
InnerTableRead
InnerTableRead.withReadType(RowType)
instead.withProjection
in interface InnerTableRead
public final InnerTableRead withReadType(RowType readType)
withReadType
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.