Class RichInputFormat<OT,​T extends InputSplit>

    • Constructor Detail

      • RichInputFormat

        public RichInputFormat()
    • Method Detail

      • setRuntimeContext

        public void setRuntimeContext​(RuntimeContext t)
      • openInputFormat

        @PublicEvolving
        public void openInputFormat()
                             throws IOException
        Opens this InputFormat instance. This method is called once per parallel instance. Resources should be allocated in this method. (e.g. database connections, cache, etc.)
        Throws:
        IOException - in case allocating the resources failed.
        See Also:
        InputFormat
      • closeInputFormat

        @PublicEvolving
        public void closeInputFormat()
                              throws IOException
        Closes this InputFormat instance. This method is called once per parallel instance. Resources allocated during openInputFormat() should be closed in this method.
        Throws:
        IOException - in case closing the resources failed
        See Also:
        InputFormat