All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.hologres.kafka.utils.DirtyDataUtils Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package com.alibaba.hologres.kafka.utils;

import com.alibaba.hologres.kafka.model.DirtyDataStrategy;

import java.util.List;

/** DirtyDataUtils. */
public class DirtyDataUtils {
    DirtyDataStrategy dirtyDataStrategy;
    List dirtyDataToSkipOnce = null;

    public DirtyDataUtils(DirtyDataStrategy dirtyDataStrategy) {
        this.dirtyDataStrategy = dirtyDataStrategy;
    }

    public DirtyDataUtils(DirtyDataStrategy dirtyDataStrategy, List dirtyDataToSkipOnce) {
        this.dirtyDataStrategy = dirtyDataStrategy;
        this.dirtyDataToSkipOnce = dirtyDataToSkipOnce;
    }

    public void setDirtyDataStrategy(DirtyDataStrategy dirtyDataStrategy) {
        this.dirtyDataStrategy = dirtyDataStrategy;
    }

    public DirtyDataStrategy getDirtyDataStrategy() {
        return dirtyDataStrategy;
    }

    public void setDirtyDataToSkipOnce(List dirtyDataToSkipOnce) {
        this.dirtyDataToSkipOnce = dirtyDataToSkipOnce;
    }

    public List getDirtyDataToSkipOnce() {
        return dirtyDataToSkipOnce;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy