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

org.apache.orc.tools.json

## Class JsonSchemaFinder

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

-     public class JsonSchemaFinder
      extends Object

  This class determines the equivalent Hive schema for a group of JSON documents. boolean

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsonSchemaFinder()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addFile(Reader reader)`
    `void` | `addFile(String filename)`
    `void` | `addSchema(TypeDescription schema)`
    `TypeDescription` | `getSchema()`
    `static void` | `main(Configuration conf, String[] args)`
    `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

    - #### JsonSchemaFinder

          public JsonSchemaFinder()

  - ### Method Detail

    - #### addFile

          public void addFile(String filename)
                       throws IOException

      Throws:
        `IOException`

    - #### addFile

          public void addFile(Reader reader)
                       throws IOException

      Throws:
        `IOException`

    - #### addSchema

          public void addSchema(TypeDescription schema)

    - #### getSchema

          public TypeDescription getSchema()

    - #### main

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

      Throws:
        `Exception`

    - #### main

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

      Throws:
        `Exception`

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