IN - Input typepublic class FileSinkFunctionByMillis<IN> extends FileSinkFunction<IN>
cleanupCalled, currentNumberOfSubtasks, format, indexInSubtaskGroup, tupleList| Constructor and Description |
|---|
FileSinkFunctionByMillis(org.apache.flink.api.common.io.OutputFormat<IN> format,
long millis) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
close, flush, invoke, openpublic FileSinkFunctionByMillis(org.apache.flink.api.common.io.OutputFormat<IN> format, long millis)
protected boolean updateCondition()
updateCondition in class FileSinkFunction<IN>protected void resetParameters()
resetParameters in class FileSinkFunction<IN>Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.