Class Transformer

    • Constructor Detail

      • Transformer

        public Transformer()
    • Method Detail

      • transformRow

        public abstract Object transformRow​(Map<String,​Object> row,
                                            Context context)
        The input is a row of data and the output has to be a new row.
        Parameters:
        context - The current context
        row - A row of data
        Returns:
        The changed data. It must be a Map<String, Object> if it returns only one row or if there are multiple rows to be returned it must be a List<Map<String, Object>>