Class FileChannel.Instance

    • Constructor Detail

      • Instance

        protected Instance​(OptimizationContext.OperatorContext producerOperatorContext,
                           int producerOutputIndex)
        Creates a new instance.
        Parameters:
        producerOperatorContext -
        producerOutputIndex -
    • Method Detail

      • getChannel

        public FileChannel getChannel()
        Returns:
        the Channel that is implemented by this instance
      • addPath

        public void addPath​(java.lang.String path)
      • addGivenOrTempPath

        public java.lang.String addGivenOrTempPath​(java.lang.String pathOrNull,
                                                   Configuration configuration)
      • getPaths

        public java.util.Collection<java.lang.String> getPaths()
      • getSinglePath

        public java.lang.String getSinglePath()
        If there is only a single element on getPaths(), retrieves it. Otherwise, fails.
        Returns:
        the single element from getPaths()