Class OrphanFilesDetector
- All Implemented Interfaces:
- Serializable,- org.apache.flink.api.common.functions.Function,- org.apache.flink.api.common.functions.RichFunction
@Internal
public class OrphanFilesDetector
extends org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction<String,String,String,String>   
A specialized co-process function that performs an anti-join between two streams of file URIs.
 
Emits every file that exists in the file system but is not referenced in the table metadata, which are considered orphan files. It also handles URI normalization using provided scheme and authority equivalence mappings.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunctionorg.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction.Context, org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction.OnTimerContext
- 
Constructor SummaryConstructorsConstructorDescriptionOrphanFilesDetector(DeleteOrphanFiles.PrefixMismatchMode prefixMismatchMode, Map<String, String> equalSchemes, Map<String, String> equalAuthorities) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidonTimer(long timestamp, org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction<String, String, String, String>.org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction.OnTimerContext ctx, org.apache.flink.util.Collector<String> out) voidopen(org.apache.flink.api.common.functions.OpenContext openContext) voidprocessElement1(String value, org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction<String, String, String, String>.org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction.Context context, org.apache.flink.util.Collector<String> collector) voidprocessElement2(String value, org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction<String, String, String, String>.org.apache.flink.streaming.api.functions.co.KeyedCoProcessFunction.Context context, org.apache.flink.util.Collector<String> collector) Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunctionclose, getIterationRuntimeContext, getRuntimeContext, setRuntimeContext
- 
Constructor Details- 
OrphanFilesDetector
 
- 
- 
Method Details- 
open- Specified by:
- openin interface- org.apache.flink.api.common.functions.RichFunction
- Overrides:
- openin class- org.apache.flink.api.common.functions.AbstractRichFunction
- Throws:
- Exception
 
- 
processElement1
- 
processElement2
- 
onTimer
 
-