Class PrintFunction

    • Constructor Detail

      • PrintFunction

        public PrintFunction()
    • Method Detail

      • execute

        public void execute​(TridentTuple tuple,
                            TridentCollector tridentCollector)
        Description copied from interface: Function
        Performs the function logic on an individual tuple and emits 0 or more tuples.
        Parameters:
        tuple - The incoming tuple
        tridentCollector - A collector instance that can be used to emit tuples