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| Constructor and Description |
|---|
WriteSinkFunctionByMillis(String path,
WriteFormat<IN> format,
long millis)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
resetParameters()
Deprecated.
Statements to be executed after writing a batch goes here.
|
protected boolean |
updateCondition()
Deprecated.
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 in class WriteSinkFunction<IN>protected void resetParameters()
WriteSinkFunctionresetParameters in class WriteSinkFunction<IN>Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.