Interface DataEncoder<I,O>

Type Parameters:
I - Type of the input parameter
O - type of the output parameter

public interface DataEncoder<I,O>
Encodes input data into output data.
Author:
Florent Tornil
  • Method Summary

    Modifier and Type
    Method
    Description
    encode(I input)
    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.
  • Method Details

    • encode

      O encode(I input)
      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.
      Parameters:
      input - the input data to encode
      Returns:
      the encoded input