Interface Condition

    • Method Detail

      • condition

        boolean condition​(List<Writable> list)
        Is the condition satisfied for the current input/example?
        Returns true if condition is satisfied, or false otherwise.
        Parameters:
        list - Current example
        Returns:
        true if condition satisfied, false otherwise
      • condition

        boolean condition​(Object input)
        Condition on arbitrary input
        Parameters:
        input - the input to return the condition for
        Returns:
        true if the condition is met false otherwise
      • conditionSequence

        boolean conditionSequence​(List<List<Writable>> sequence)
        Is the condition satisfied for the current input/sequence?
        Returns true if condition is satisfied, or false otherwise.
        Parameters:
        sequence - Current sequence
        Returns:
        true if condition satisfied, false otherwise
      • conditionSequence

        boolean conditionSequence​(Object sequence)
        Condition on arbitrary input
        Parameters:
        sequence - the sequence to do a condition on
        Returns:
        true if the condition for the sequence is met false otherwise
      • setInputSchema

        void setInputSchema​(Schema schema)
        Setter for the input schema
        Specified by:
        setInputSchema in interface ColumnOp
        Parameters:
        schema -