
com.redislabs.riot.db.DatabaseExportCommand Maven / Gradle / Ivy
The newest version!
package com.redislabs.riot.db;
import com.redislabs.riot.AbstractExportCommand;
import com.redislabs.riot.processor.DataStructureItemProcessor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;
import org.springframework.batch.core.configuration.annotation.StepBuilderFactory;
import org.springframework.batch.core.job.flow.Flow;
import org.springframework.batch.item.database.JdbcBatchItemWriter;
import org.springframework.batch.item.database.builder.JdbcBatchItemWriterBuilder;
import org.springframework.jdbc.core.namedparam.MapSqlParameterSource;
import picocli.CommandLine;
import picocli.CommandLine.Command;
import picocli.CommandLine.Mixin;
import javax.sql.DataSource;
import java.util.Map;
@Slf4j
@Data
@EqualsAndHashCode(callSuper = true)
@Command(name = "export", description = "Export to a database")
public class DatabaseExportCommand extends AbstractExportCommand
© 2015 - 2025 Weber Informatics LLC | Privacy Policy