Class BaseOperation

    • Constructor Detail

      • BaseOperation

        public BaseOperation()
    • Method Detail

      • prepare

        public void prepare​(Map<String,​Object> conf,
                            TridentOperationContext context)
        No-op implementation.
        Specified by:
        prepare in interface Operation
        Parameters:
        conf - the Storm configuration map
        context - the operation context which provides information such as the number of partitions in the stream, and the current partition index. It also provides methods for registering operation-specific metrics.
        See Also:
        TridentOperationContext
      • cleanup

        public void cleanup()
        No-op implemnation.
        Specified by:
        cleanup in interface Operation