| 限定符和类型 | 类和说明 |
|---|---|
static class |
FileRecordFormatAdapter.Reader<T>
已过时。
This interface is Deprecated, use
StreamFormatAdapter.Reader instead. |
static class |
StreamFormatAdapter.Reader<T>
The reader adapter, from
StreamFormat.Reader to BulkFormat.Reader. |
| 限定符和类型 | 方法和说明 |
|---|---|
BulkFormat.Reader<T> |
StreamFormatAdapter.createReader(org.apache.flink.configuration.Configuration config,
FileSourceSplit split) |
BulkFormat.Reader<T> |
FileRecordFormatAdapter.createReader(org.apache.flink.configuration.Configuration config,
FileSourceSplit split)
已过时。
|
BulkFormat.Reader<T> |
StreamFormatAdapter.restoreReader(org.apache.flink.configuration.Configuration config,
FileSourceSplit split) |
BulkFormat.Reader<T> |
FileRecordFormatAdapter.restoreReader(org.apache.flink.configuration.Configuration config,
FileSourceSplit split)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
BulkFormat.Reader<T> |
BulkFormat.createReader(org.apache.flink.configuration.Configuration config,
SplitT split)
Creates a new reader that reads from the
split's path starting
at the FileSourceSplit.offset() split's offset} and reads length bytes after the offset. |
BulkFormat.Reader<T> |
BulkFormat.restoreReader(org.apache.flink.configuration.Configuration config,
SplitT split)
Creates a new reader that reads from
split.path() starting at offset and
reads until length bytes after the offset. |
| 限定符和类型 | 方法和说明 |
|---|---|
static <I,O> BulkFormat.Reader<O> |
RecordMapperWrapperRecordIterator.wrapReader(BulkFormat.Reader<I> wrappedReader,
RecordMapperWrapperRecordIterator.RecordMapper<I,O> recordMapper)
Wrap a
BulkFormat.Reader applying a RecordMapperWrapperRecordIterator.RecordMapper on the returned iterator. |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> void |
Utils.forEachRemaining(BulkFormat.Reader<T> reader,
java.util.function.Consumer<? super T> action)
Performs the given action for each remaining element in
BulkFormat.Reader until all
elements have been processed or the action throws an exception. |
static <I,O> BulkFormat.Reader<O> |
RecordMapperWrapperRecordIterator.wrapReader(BulkFormat.Reader<I> wrappedReader,
RecordMapperWrapperRecordIterator.RecordMapper<I,O> recordMapper)
Wrap a
BulkFormat.Reader applying a RecordMapperWrapperRecordIterator.RecordMapper on the returned iterator. |
| 限定符和类型 | 方法和说明 |
|---|---|
BulkFormat.Reader<T> |
LimitableBulkFormat.createReader(org.apache.flink.configuration.Configuration config,
SplitT split) |
BulkFormat.Reader<T> |
LimitableBulkFormat.restoreReader(org.apache.flink.configuration.Configuration config,
SplitT split) |
| 构造器和说明 |
|---|
CompactBulkReader(BulkFormat.Reader<T> reader) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.