JsonShredder (ORC Tools 1.6.6 API)
Date: 2021-01-13

org.apache.orc.tools.json

## Class JsonShredder

- java.lang.Object
- - org.apache.orc.tools.json.JsonShredder

-     public class JsonShredder
      extends Object

  This class takes a set of JSON documents and shreds them into a file per a primitive column. This is useful when trying to understand a set of documents by providing sample values for each of the columns. For example, a document that looks like: {'a': 'aaaa', 'b': { 'c': 12, 'd': true}, e: 'eeee'} Will produce 4 files with the given contents: root.a: aaaa root.b.c: 12 root.b.d: true root.e: eeee

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsonShredder()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)`

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

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

- - ### Constructor Detail

    - #### JsonShredder

          public JsonShredder()

  - ### Method Detail

    - #### main

          public static void main(String[] args)
                           throws Exception

      Throws:
        `Exception`

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