| 接口 | 说明 |
|---|---|
| Bucketer | 已过时
use
Bucketer instead. |
| Clock |
A clock that can provide the current time.
|
| Writer<T> |
An implementation of
Writer is used in conjunction with a
BucketingSink to perform the actual
writing to the bucket files. |
| 类 | 说明 |
|---|---|
| AvroKeyValueSinkWriter<K,V> |
Implementation of AvroKeyValue writer that can be used in Sink.
|
| AvroKeyValueSinkWriter.AvroKeyValue<K,V> |
A reusable Avro generic record for writing key/value pairs to the
file.
|
| DateTimeBucketer | 已过时
use
DateTimeBucketer instead. |
| NonRollingBucketer | 已过时
use
BasePathBucketer instead. |
| RollingSink<T> | 已过时
use
BucketingSink instead. |
| RollingSink.BucketState |
This is used for keeping track of the current in-progress files and files that we mark
for moving from pending to final location after we get a checkpoint-complete notification.
|
| SequenceFileWriter<K extends org.apache.hadoop.io.Writable,V extends org.apache.hadoop.io.Writable> |
A
Writer that writes the bucket files as Hadoop SequenceFiles. |
| StreamWriterBase<T> |
Base class for
Writers that write to a FSDataOutputStream. |
| StringWriter<T> |
A
Writer that uses toString() on the input elements and writes them to
the output bucket file separated by newline. |
| SystemClock |
A
Clock that uses System.currentTimeMillis() to determine the system time. |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.