Class ProcessorContainer

java.lang.Object
org.opensearch.client.util.TaggedUnion<ProcessorContainer.Tag,​java.lang.Object>
org.opensearch.client.opensearch.ingest.ProcessorContainer
All Implemented Interfaces:
ToJsonp

public class ProcessorContainer
extends TaggedUnion<ProcessorContainer.Tag,​java.lang.Object>
implements ToJsonp
  • Field Details

  • Method Details

    • isAttachment

      public boolean isAttachment()
      Is this ProcessorContainer of a attachment kind?
    • attachment

      public AttachmentProcessor attachment()
      Get the attachment variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the attachment kind.
    • isAppend

      public boolean isAppend()
      Is this ProcessorContainer of a append kind?
    • append

      public AppendProcessor append()
      Get the append variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the append kind.
    • isCsv

      public boolean isCsv()
      Is this ProcessorContainer of a csv kind?
    • csv

      public CsvProcessor csv()
      Get the csv variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the csv kind.
    • isConvert

      public boolean isConvert()
      Is this ProcessorContainer of a convert kind?
    • convert

      public ConvertProcessor convert()
      Get the convert variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the convert kind.
    • isDate

      public boolean isDate()
      Is this ProcessorContainer of a date kind?
    • date

      public DateProcessor date()
      Get the date variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the date kind.
    • isDateIndexName

      public boolean isDateIndexName()
      Is this ProcessorContainer of a date_index_name kind?
    • dateIndexName

      public DateIndexNameProcessor dateIndexName()
      Get the date_index_name variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the date_index_name kind.
    • isDotExpander

      public boolean isDotExpander()
      Is this ProcessorContainer of a dot_expander kind?
    • dotExpander

      public DotExpanderProcessor dotExpander()
      Get the dot_expander variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the dot_expander kind.
    • isFail

      public boolean isFail()
      Is this ProcessorContainer of a fail kind?
    • fail

      public FailProcessor fail()
      Get the fail variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the fail kind.
    • isForeach

      public boolean isForeach()
      Is this ProcessorContainer of a foreach kind?
    • foreach

      public ForeachProcessor foreach()
      Get the foreach variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the foreach kind.
    • isJson

      public boolean isJson()
      Is this ProcessorContainer of a json kind?
    • json

      public JsonProcessor json()
      Get the json variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the json kind.
    • isUserAgent

      public boolean isUserAgent()
      Is this ProcessorContainer of a user_agent kind?
    • userAgent

      public UserAgentProcessor userAgent()
      Get the user_agent variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the user_agent kind.
    • isKv

      public boolean isKv()
      Is this ProcessorContainer of a kv kind?
    • kv

      public KeyValueProcessor kv()
      Get the kv variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the kv kind.
    • isGeoip

      public boolean isGeoip()
      Is this ProcessorContainer of a geoip kind?
    • geoip

      public GeoIpProcessor geoip()
      Get the geoip variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the geoip kind.
    • isGrok

      public boolean isGrok()
      Is this ProcessorContainer of a grok kind?
    • grok

      public GrokProcessor grok()
      Get the grok variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the grok kind.
    • isGsub

      public boolean isGsub()
      Is this ProcessorContainer of a gsub kind?
    • gsub

      public GsubProcessor gsub()
      Get the gsub variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the gsub kind.
    • isJoin

      public boolean isJoin()
      Is this ProcessorContainer of a join kind?
    • join

      public JoinProcessor join()
      Get the join variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the join kind.
    • isLowercase

      public boolean isLowercase()
      Is this ProcessorContainer of a lowercase kind?
    • lowercase

      public LowercaseProcessor lowercase()
      Get the lowercase variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the lowercase kind.
    • isRemove

      public boolean isRemove()
      Is this ProcessorContainer of a remove kind?
    • remove

      public RemoveProcessor remove()
      Get the remove variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the remove kind.
    • isRename

      public boolean isRename()
      Is this ProcessorContainer of a rename kind?
    • rename

      public RenameProcessor rename()
      Get the rename variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the rename kind.
    • isScript

      public boolean isScript()
      Is this ProcessorContainer of a script kind?
    • script

      public jakarta.json.JsonValue script()
      Get the script variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the script kind.
    • isSet

      public boolean isSet()
      Is this ProcessorContainer of a set kind?
    • set

      public SetProcessor set()
      Get the set variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the set kind.
    • isSort

      public boolean isSort()
      Is this ProcessorContainer of a sort kind?
    • sort

      public SortProcessor sort()
      Get the sort variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the sort kind.
    • isSplit

      public boolean isSplit()
      Is this ProcessorContainer of a split kind?
    • split

      public SplitProcessor split()
      Get the split variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the split kind.
    • isTrim

      public boolean isTrim()
      Is this ProcessorContainer of a trim kind?
    • trim

      public TrimProcessor trim()
      Get the trim variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the trim kind.
    • isUppercase

      public boolean isUppercase()
      Is this ProcessorContainer of a uppercase kind?
    • uppercase

      public UppercaseProcessor uppercase()
      Get the uppercase variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the uppercase kind.
    • isUrldecode

      public boolean isUrldecode()
      Is this ProcessorContainer of a urldecode kind?
    • urldecode

      public UrlDecodeProcessor urldecode()
      Get the urldecode variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the urldecode kind.
    • isBytes

      public boolean isBytes()
      Is this ProcessorContainer of a bytes kind?
    • bytes

      public BytesProcessor bytes()
      Get the bytes variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the bytes kind.
    • isDissect

      public boolean isDissect()
      Is this ProcessorContainer of a dissect kind?
    • dissect

      public DissectProcessor dissect()
      Get the dissect variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the dissect kind.
    • isSetSecurityUser

      public boolean isSetSecurityUser()
      Is this ProcessorContainer of a set_security_user kind?
    • setSecurityUser

      public SetSecurityUserProcessor setSecurityUser()
      Get the set_security_user variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the set_security_user kind.
    • isPipeline

      public boolean isPipeline()
      Is this ProcessorContainer of a pipeline kind?
    • pipeline

      public PipelineProcessor pipeline()
      Get the pipeline variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the pipeline kind.
    • isDrop

      public boolean isDrop()
      Is this ProcessorContainer of a drop kind?
    • drop

      public jakarta.json.JsonValue drop()
      Get the drop variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the drop kind.
    • isCircle

      public boolean isCircle()
      Is this ProcessorContainer of a circle kind?
    • circle

      public CircleProcessor circle()
      Get the circle variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the circle kind.
    • isInference

      public boolean isInference()
      Is this ProcessorContainer of a inference kind?
    • inference

      public InferenceProcessor inference()
      Get the inference variant value.
      Throws:
      java.lang.IllegalStateException - if the current variant is not of the inference kind.
    • toJsonp

      public void toJsonp​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Specified by:
      toJsonp in interface ToJsonp