Interface ScalaProductFieldAccessorFactory


  • public interface ScalaProductFieldAccessorFactory
    Interface to interact with optional Scala field accessors.
    • Method Detail

      • createSimpleProductFieldAccessor

        <T,​F> FieldAccessor<T,​F> createSimpleProductFieldAccessor​(int pos,
                                                                              org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo,
                                                                              org.apache.flink.api.common.ExecutionConfig config)
        Returns a product FieldAccessor that does not support recursion.
      • createRecursiveProductFieldAccessor

        <T,​R,​F> FieldAccessor<T,​F> createRecursiveProductFieldAccessor​(int pos,
                                                                                         org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo,
                                                                                         FieldAccessor<R,​F> innerAccessor,
                                                                                         org.apache.flink.api.common.ExecutionConfig config)
        Returns a product FieldAccessor that does support recursion.
      • load

        static ScalaProductFieldAccessorFactory load​(org.slf4j.Logger log)
        Loads the implementation, if it is accessible.
        Parameters:
        log - Logger to be used in case the loading fails
        Returns:
        Loaded implementation, if it is accessible.