com.hazelcast.query.extractor

## Class ArgumentParser<I,O>

- java.lang.Object
- - com.hazelcast.query.extractor.ArgumentParser<I,O>

- Type Parameters:
    `I` - type of the unparsed argument object (input)
    `O` - type of the parsed argument object (output)

      public abstract class ArgumentParser<I,O>
      extends Object

  Common superclass for all argument parsers.

  For now, it's not possible to register a custom `ArgumentParser`, thus a default parser is used. It follows a "pass-through" semantics, which means that the string located in the square-brackets is passed "as-is" to the extract method.

  It is not allowed to use square brackets within the argument string.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ArgumentParser()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract O` | `parse(I input)` This method takes the unparsed argument object as an input and returns the parsed output that will be used by the `ValueExtractor`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ArgumentParser

          public ArgumentParser()

  - ### Method Detail

    - #### parse

          public abstract O parse(I input)

      This method takes the unparsed argument object as an input and returns the parsed output that will be used by the `ValueExtractor`.
      Parameters:
        `input` - extraction argument in the specified format
      Returns:
        parsed argument object that will be passed to the `ValueExtractor`

Copyright © 2020. All rights reserved.