org.apache.storm.rocketmq.spout.scheme

## Class StringKeyValueScheme

- java.lang.Object
- - org.apache.storm.rocketmq.spout.scheme.StringScheme
  - - org.apache.storm.rocketmq.spout.scheme.StringKeyValueScheme

- All Implemented Interfaces:
    Serializable, KeyValueScheme, Scheme

      public class StringKeyValueScheme
      extends StringScheme
      implements KeyValueScheme

  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.apache.storm.rocketmq.spout.scheme.StringScheme

      `STRING_SCHEME_KEY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StringKeyValueScheme()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Object>` | `deserializeKeyAndValue(ByteBuffer key, ByteBuffer value)`

    - ### Methods inherited from class org.apache.storm.rocketmq.spout.scheme.StringScheme

      `deserialize, deserializeString, getOutputFields`

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

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

    - ### Methods inherited from interface org.apache.storm.spout.Scheme

      `deserialize, getOutputFields`

- - ### Constructor Detail

    - #### StringKeyValueScheme

          public StringKeyValueScheme()

  - ### Method Detail

    - #### deserializeKeyAndValue

          public List<Object> deserializeKeyAndValue(ByteBuffer key,
                                                     ByteBuffer value)

      Specified by:
        `deserializeKeyAndValue` in interface `KeyValueScheme`

Copyright © 2021 The Apache Software Foundation. All rights reserved.