fr.boreal.io.api.DataEncoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of integraal-io Show documentation
Show all versions of integraal-io Show documentation
Inputs and Outputs for integraal objects
The newest version!
package fr.boreal.io.api;
/**
* @author Florent Tornil
*
* Encodes the input data into output data
* @param Type of the input parameter
* @param type of the output parameter
*
*/
public interface DataEncoder {
/**
* Encodes the given input and return the encoding
*
* The returned encoding can be the direct-encoded values or a path to the encoded files
* The encoding dictionary may also be provided as output.
*
* @param input the input data to encode
* @return the encoded input
*/
O encode(I input);
}