Class ConditionalProcessor

    • Method Detail

      • execute

        public IngestDocument execute​(IngestDocument ingestDocument)
                               throws java.lang.Exception
        Description copied from interface: Processor
        Introspect and potentially modify the incoming data.
        Specified by:
        execute in interface Processor
        Returns:
        If null is returned then the current document will be dropped and not be indexed, otherwise this document will be kept and indexed
        Throws:
        java.lang.Exception
      • getType

        public java.lang.String getType()
        Description copied from interface: Processor
        Gets the type of a processor
        Specified by:
        getType in interface Processor