Class FlatMapNode

    • Constructor Detail

      • FlatMapNode

        public FlatMapNode​(org.apache.flink.api.common.operators.base.FlatMapOperatorBase<?,​?,​?> operator)
    • Method Detail

      • getOperator

        public org.apache.flink.api.common.operators.base.FlatMapOperatorBase<?,​?,​?> getOperator()
        Description copied from class: OptimizerNode
        Gets the operator represented by this optimizer node.
        Overrides:
        getOperator in class SingleInputNode
        Returns:
        This node's operator.
      • getOperatorName

        public String getOperatorName()
        Description copied from class: OptimizerNode
        Gets the name of this node, which is the name of the function/operator, or data source / data sink.
        Specified by:
        getOperatorName in class OptimizerNode
        Returns:
        The node name.
      • computeOperatorSpecificDefaultEstimates

        protected void computeOperatorSpecificDefaultEstimates​(DataStatistics statistics)
        Computes the estimates for the FlatMap operator. Since it un-nests, we assume a cardinality increase. To give the system a hint at data increase, we take a default magic number of a 5 times increase.
        Specified by:
        computeOperatorSpecificDefaultEstimates in class OptimizerNode