Search Results for

    Show / Hide Table of Contents

    Class DissectProcessorDescriptor<T>

    Similar to the Grok Processor, dissect also extracts structured fields out of a single text field within a document. However unlike the Grok Processor, dissect does not use Regular Expressions. This allows dissect’s syntax to be simple and, for some cases faster, than the Grok Processor.

    Inheritance
    object
    DescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>
    ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>
    DissectProcessorDescriptor<T>
    Implements
    IDescriptor
    IDissectProcessor
    IProcessor
    Inherited Members
    ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.Name
    ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.Description(string)
    ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.OnFailure(IEnumerable<IProcessor>)
    ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.OnFailure(Func<ProcessorsDescriptor, IPromise<IList<IProcessor>>>)
    ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.If(string)
    ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.Tag(string)
    ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.IgnoreFailure(bool?)
    DescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.Self
    DescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.Assign<TValue>(TValue, Action<IDissectProcessor, TValue>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class DissectProcessorDescriptor<T> : ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>, IDescriptor, IDissectProcessor, IProcessor where T : class
    Type Parameters
    Name Description
    T

    Properties

    | Edit this page View Source

    Name

    Declaration
    protected override string Name { get; }
    Property Value
    Type Description
    string
    Overrides
    ProcessorDescriptorBase<DissectProcessorDescriptor<T>, IDissectProcessor>.Name

    Methods

    | Edit this page View Source

    AppendSeparator(string)

    The character(s) that separate the appended fields.

    Declaration
    public DissectProcessorDescriptor<T> AppendSeparator(string appendSeparator)
    Parameters
    Type Name Description
    string appendSeparator
    Returns
    Type Description
    DissectProcessorDescriptor<T>
    | Edit this page View Source

    Field(Field)

    The field to dissect

    Declaration
    public DissectProcessorDescriptor<T> Field(Field field)
    Parameters
    Type Name Description
    Field field
    Returns
    Type Description
    DissectProcessorDescriptor<T>
    | Edit this page View Source

    Field<TValue>(Expression<Func<T, TValue>>)

    The field to dissect

    Declaration
    public DissectProcessorDescriptor<T> Field<TValue>(Expression<Func<T, TValue>> objectPath)
    Parameters
    Type Name Description
    Expression<Func<T, TValue>> objectPath
    Returns
    Type Description
    DissectProcessorDescriptor<T>
    Type Parameters
    Name Description
    TValue
    | Edit this page View Source

    IgnoreMissing(bool?)

    If true and field does not exist or is null, the processor quietly exits without modifying the document

    Declaration
    public DissectProcessorDescriptor<T> IgnoreMissing(bool? traceMatch = true)
    Parameters
    Type Name Description
    bool? traceMatch
    Returns
    Type Description
    DissectProcessorDescriptor<T>
    | Edit this page View Source

    Pattern(string)

    The pattern to apply to the field

    Declaration
    public DissectProcessorDescriptor<T> Pattern(string pattern)
    Parameters
    Type Name Description
    string pattern
    Returns
    Type Description
    DissectProcessorDescriptor<T>

    Implements

    IDescriptor
    IDissectProcessor
    IProcessor

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Name
    • Methods
      • AppendSeparator(string)
      • Field(Field)
      • Field<TValue>(Expression<Func<T, TValue>>)
      • IgnoreMissing(bool?)
      • Pattern(string)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX