Package org.apache.orc.tools.json
Class JsonSchemaFinder
java.lang.Object
org.apache.orc.tools.json.JsonSchemaFinder
This class determines the equivalent Hive schema for a group of JSON
documents.
boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addSchema
(TypeDescription schema) static String
getStackTrace
(Throwable throwable) static void
static void
main
(Configuration conf, String[] args)
-
Constructor Details
-
JsonSchemaFinder
public JsonSchemaFinder()
-
-
Method Details
-
addFile
- Throws:
IOException
-
addFile
-
getStackTrace
-
addSchema
-
getSchema
-
main
- Throws:
Exception
-
main
- Throws:
Exception
-