Class AssertRowCount

    • Constructor Detail

      • AssertRowCount

        public AssertRowCount()
        Default constructor
      • AssertRowCount

        public AssertRowCount​(long rowCount)
        Create an AssertRowCountPlan with all the required parameters.
        Parameters:
        rowCount - the expected row count
    • Method Detail

      • getLogFrequency

        public int getLogFrequency()
        Returns the frequency with which to log row count. A value of zero means log only the total count.
        Returns:
        the frequency with which to log row count.
      • setLogFrequency

        public void setLogFrequency​(int logFrequency)
        Sets the frequency with which to log row count
        Parameters:
        logFrequency - the frequency with which to log row count.
      • getRowCount

        public long getRowCount()
        Returns the expected number of rows
        Returns:
        the expected number of rows
      • setRowCount

        public void setRowCount​(long rowCount)
        Sets the expected number of rows
        Parameters:
        rowCount - the expected number of rows
      • compose

        protected void compose​(CompositionContext ctx)
        Description copied from class: CompositeOperator
        Compose the body of this operator. Implementations should do the following:
        1. Perform any validation of configuration, input types, etc
        2. Instantiate and configure sub-operators, adding them to the provided context via the method OperatorComposable.add(O)
        3. Create necessary connections via the method OperatorComposable.connect(P, P). This includes connections from the composite's input ports to sub-operators, connections between sub-operators, and connections from sub-operators output ports to the composite's output ports
        Specified by:
        compose in class CompositeOperator
        Parameters:
        ctx - the context