Class ConductorConfig.Builder

    • Method Detail

      • parent

        public ConductorConfig.Builder parent​(ConductorConfig newParent)
        Sets the parent configuration
        Parameters:
        newParent - The parent configuration, could be null
        Returns:
        cascading self
      • resourceLoader

        public ConductorConfig.Builder resourceLoader​(Function<String,​Reader> newResourceLoader)
        Sets the resource reader
        Parameters:
        newResourceLoader - The loader of resource
        Returns:
        cascading self
      • operatorFactory

        public ConductorConfig.Builder operatorFactory​(OperatorFactory newOperatorFactory)
        Sets operator factory.
        Parameters:
        newOperatorFactory - The operator factory, could be null
        Returns:
        cascading self
      • namedOperator

        public ConductorConfig.Builder namedOperator​(String name,
                                                     DataGrainOperator operator)
        Puts named operator
        Parameters:
        name - The name of operator used to be fetched
        operator - The target operator
        Returns:
        cascading self
      • namedSupplier

        public ConductorConfig.Builder namedSupplier​(String name,
                                                     Supplier<?> supplier)
        Puts named supplier
        Parameters:
        name - The name of operator used to be fetched
        supplier - The supplier matching the name
        Returns:
        cascading self
      • namedJdbcFunction

        public ConductorConfig.Builder namedJdbcFunction​(String name,
                                                         JdbcFunction<? extends Connection,​?> jdbcFunction)
        Puts named JDBC function.
        Parameters:
        name - The name of function used to be fetched
        jdbcFunction - The target function of JDBC
        Returns:
        cascading self
      • namedDecorator

        public ConductorConfig.Builder namedDecorator​(String name,
                                                      DataGrainDecorator decorator)
        Puts named decorator.
        Parameters:
        name - The name of decorator used to be fetched
        decorator - target The decorator
        Returns:
        cascading self