Uploaded image for project: 'Kite SDK'
  1. Kite SDK
  2. KITE-103

Add toByteArray morphline command

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.7.0
    • Component/s: Morphlines Module
    • Labels:
      None

      Description

      Add toByteArray morphline command.

      The toByteArray command (source code) converts the Java objects in a given field via Object.toString() to their string representation, and then via String.getBytes(Charset) to their byte array representation. If the input Java objects are already byte arrays the command does nothing.

      The command provides the following configuration options:

      Property Name Default Description
      field n/a The name of the field to convert.
      charset UTF-8 The character encoding to use.

        Attachments

          Activity

            People

            • Assignee:
              whoschek Wolfgang Hoschek
              Reporter:
              whoschek Wolfgang Hoschek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: