
com.github.segmentio.flush.IBatchFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of analytics Show documentation
Show all versions of analytics Show documentation
The analytics API you've always wanted.
The newest version!
package com.github.segmentio.flush;
import java.util.List;
import com.github.segmentio.models.BasePayload;
import com.github.segmentio.models.Batch;
/**
* A Factory that creates Batch objects
*
*/
public interface IBatchFactory {
/**
* Creates a batch model around a list of items
* @param batch A list of items that represents the batch
* @return {@link Batch}
*/
public Batch create(List batch);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy