Example usage for org.springframework.batch.core.partition.support Partitioner interface-usage

List of usage examples for org.springframework.batch.core.partition.support Partitioner interface-usage

Introduction

In this page you can find the example usage for org.springframework.batch.core.partition.support Partitioner interface-usage.

Usage

From source file com.github.ffremont.MyPartitioner.java

/**
 *
 * @author florent
 */
@Component("myPartitioner")
public class MyPartitioner implements Partitioner {

From source file com.ifeng.computing.batch.job.partitioner.RangePartitioner.java

/**
 * @version 0.1
 *
 * @author Hefei Li
 *
 * @since Nov 4, 2014

From source file org.trpr.platform.batch.impl.spring.partitioner.SimpleRangePartitioner.java

/**
 * The <code>SimpleRangePartitioner</code> is a range based implementation of the {@link Partitioner} interface. This implementation creates as many partitions
 * as specified by the grid size and populates the {@link ExecutionContext} instances with key-values to indicate partition index and total partition size i.e.
 * grid size. Step consituents like {@link BatchItemStreamReader} may use the partition index to selectively read ranges of data for processing by {@link ItemProcessor}
 * and {@link ItemWriter}.
 * 

From source file io.spring.batch.domain.ColumnRangePartitioner.java

/**
 * @author Michael Minella
 */
public class ColumnRangePartitioner implements Partitioner {

    private JdbcOperations jdbcTemplate;

From source file lcn.module.batch.web.guide.support.ColumnRangePartitioner.java

/**
 * DB    ??  ??  ??? ?  ? Data ? 
 * ? ?  ?? ? ?? 
 * 
 * @author 
 * @since 2012. 07.30

From source file io.spring.batch.ColumnRangePartitioner.java

/**
 * Simple minded partitioner for a range of values of a column in a database
 * table. Works best if the values are uniformly distributed (e.g.
 * auto-generated primary key values).
 *
 * @author Dave Syer

From source file org.opensourcebank.batch.partition.HazelcastMapPartitioner.java

/**
 * <p> Depending on a grid size and a number of items to process,creates a map of
 *     {@link org.springframework.batch.item.ExecutionContext}s so they will be evenly distributed over nodes in a grid.
 * </p>
 * <p> Since each individual partition will get two numbers to represent a [from, to] range, this partitioner assumes
 *     that a map has {@link Long} keys ( IDs ) that are sorted sequentially form min to max ( e.g. 0,1,2,3,4,5, etc.. )

From source file com.victorjabur.springbatch.partitioner.ColumnRangePartitioner.java

/**
 * Simple minded partitioner for a range of values of a column in a database
 * table. Works best if the values are uniformly distributed (e.g.
 * auto-generated primary key values).
 *
 * @author Dave Syer

From source file de.langmi.spring.batch.examples.complex.support.CustomMultiResourcePartitioner.java

/**
 * Slightly changed MultiResourcePartitioner, does create output file name too.
 * 
 * @author Michael R. Lange <michael.r.lange@langmi.de>
 */
public class CustomMultiResourcePartitioner implements Partitioner {

From source file ru.xxlabaza.test.batch.job.RangePartitioner.java

/**
 *
 * @author Artem Labazin
 * <p>
 * @since Jan 16, 2016 | 8:56:27 PM
 * <p>