程序包 | 说明 |
---|---|
org.apache.flink.streaming.api | |
org.apache.flink.streaming.api.environment | |
org.apache.flink.streaming.api.graph | |
org.apache.flink.streaming.api.operators |
限定符和类型 | 方法和说明 |
---|---|
static TimeCharacteristic |
TimeCharacteristic.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TimeCharacteristic[] |
TimeCharacteristic.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
TimeCharacteristic |
StreamExecutionEnvironment.getStreamTimeCharacteristic()
Gets the time characteristic.
|
限定符和类型 | 方法和说明 |
---|---|
void |
StreamExecutionEnvironment.setStreamTimeCharacteristic(TimeCharacteristic characteristic)
Sets the time characteristic for all streams create from this environment, e.g., processing
time, event time, or ingestion time.
|
限定符和类型 | 方法和说明 |
---|---|
TimeCharacteristic |
StreamConfig.getTimeCharacteristic() |
限定符和类型 | 方法和说明 |
---|---|
void |
StreamConfig.setTimeCharacteristic(TimeCharacteristic characteristic) |
限定符和类型 | 方法和说明 |
---|---|
static <OUT> SourceFunction.SourceContext<OUT> |
StreamSourceContexts.getSourceContext(TimeCharacteristic timeCharacteristic,
ProcessingTimeService processingTimeService,
Object checkpointLock,
StreamStatusMaintainer streamStatusMaintainer,
Output<StreamRecord<OUT>> output,
long watermarkInterval,
long idleTimeout)
Depending on the
TimeCharacteristic , this method will return the adequate
SourceFunction.SourceContext . |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.