IN - Input tuple typeStreamingFileSink
for writing to files from a streaming program.@PublicEvolving @Deprecated public class WriteSinkFunctionByMillis<IN> extends WriteSinkFunction<IN>
SinkFunction.Contextformat, path, tupleList| 构造器和说明 |
|---|
WriteSinkFunctionByMillis(String path,
WriteFormat<IN> format,
long millis)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
resetParameters()
已过时。
Statements to be executed after writing a batch goes here.
|
protected boolean |
updateCondition()
已过时。
Condition for writing the contents of tupleList and clearing it.
|
cleanFile, invokeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinish, invoke, writeWatermarkpublic WriteSinkFunctionByMillis(String path, WriteFormat<IN> format, long millis)
protected boolean updateCondition()
WriteSinkFunctionupdateCondition 在类中 WriteSinkFunction<IN>protected void resetParameters()
WriteSinkFunctionresetParameters 在类中 WriteSinkFunction<IN>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.