Skip to content

Instantly share code, notes, and snippets.

@mreid-moz
Forked from peterbe/structs.scala
Last active September 2, 2016 12:33
Show Gist options
  • Save mreid-moz/2f552a4ea40729a397c32aa2d65a02c9 to your computer and use it in GitHub Desktop.
Save mreid-moz/2f552a4ea40729a397c32aa2d65a02c9 to your computer and use it in GitHub Desktop.
StructType([
StructField("additional_minidumps", ArrayType(StringType(), containsNull = False), nullable = True),
StructField("addons", ArrayType(StringType(), containsNull = False), nullable = True),
StructField("addons_checked", BooleanType(), nullable = False),
StructField("address", StringType(), nullable = True),
StructField("app_notes", StringType(), nullable = True),
StructField("build_id", StringType(), nullable = True),
StructField("classifications", StructType([
StructField("jit", StructType([
StructField("category", StringType(), nullable = True),
StructField("category_return_code", StringType(), nullable = True)
]), nullable = True),
StructField("skunk_works", StructType([
StructField("classification", StringType(), nullable = True),
StructField("classification_data", StringType(), nullable = True),
StructField("classification_version", StringType(), nullable = True)
]), nullable = True),
StructField("support", StructType([
StructField("classification", StringType(), nullable = True),
StructField("classification_data", StringType(), nullable = True),
StructField("classification_version", StringType(), nullable = True)
]), nullable = True)
]), nullable = True),
StructField("cpu_arch", StringType(), nullable = True),
StructField("cpu_info", StringType(), nullable = True),
StructField("crash_id", StringType(), nullable = True),
StructField("date", StringType(), nullable = True),
StructField("flash_version", StringType(), nullable = True),
StructField("hang_type", IntegerType(), nullable = True),
StructField("install_age", IntegerType(), nullable = True),
StructField("java_stack_trace", StringType(), nullable = True),
StructField("json_dump", StructType([
StructField("crash_info", StructType([
StructField("address", StringType(), nullable = True),
StructField("crashing_thread", IntegerType(), nullable = True),
StructField("type", StringType(), nullable = True)
]), nullable = True),
StructField("crashing_thread", StructType([
StructField("frames", ArrayType(StructType([
StructField("file", StringType(), nullable = True),
StructField("frame", IntegerType(), nullable = True),
StructField("function", StringType(), nullable = True),
StructField("function_offset", StringType(), nullable = True),
StructField("line", IntegerType(), nullable = True),
StructField("module", StringType(), nullable = True),
StructField("module_offset", StringType(), nullable = True),
StructField("offset", StringType(), nullable = True)
])), nullable = True),
StructField("threads_index", IntegerType(), nullable = True),
StructField("total_frames", IntegerType(), nullable = True)
]), nullable = True),
StructField("largest_free_vm_block", StringType(), nullable = True),
StructField("main_module", IntegerType(), nullable = True),
StructField("status", StringType(), nullable = True),
StructField("system_info", StructType([
StructField("cpu_arch", StringType(), nullable = True),
StructField("cpu_count", IntegerType(), nullable = True),
StructField("cpu_info", StringType(), nullable = True),
StructField("os", StringType(), nullable = True),
StructField("os_ver", StringType(), nullable = True)
]), nullable = True),
StructField("thread_count", IntegerType(), nullable = True),
StructField("threads", ArrayType(StructType([
StructField("frame_count", IntegerType(), nullable = True),
StructField("frames", ArrayType(StructType([
StructField("file", StringType(), nullable = True),
StructField("frame", IntegerType(), nullable = True),
StructField("function", StringType(), nullable = True),
StructField("function_offset", StringType(), nullable = True),
StructField("line", IntegerType(), nullable = True),
StructField("module", StringType(), nullable = True),
StructField("module_offset", StringType(), nullable = True),
StructField("offset", StringType(), nullable = True)
])), nullable = True)
])), nullable = True),
StructField("tiny_block_size", StringType(), nullable = True),
StructField("write_combine_size", StringType(), nullable = True)
]), nullable = True),
StructField("last_crash", IntegerType(), nullable = True),
StructField("memory_report", StructType([
StructField("hasMozMallocUsableSize", BooleanType(), nullable = False),
StructField("reports", ArrayType(StructType([
StructField("amount", IntegerType(), nullable = True),
StructField("description", StringType(), nullable = True),
StructField("kind", IntegerType(), nullable = True),
StructField("path", StringType(), nullable = True),
StructField("process", StringType(), nullable = True),
StructField("units", IntegerType(), nullable = True)
])), nullable = True),
StructField("version", IntegerType(), nullable = True)
]), nullable = True),
StructField("platform", StringType(), nullable = True),
StructField("platform_pretty_version", StringType(), nullable = True),
StructField("platform_version", StringType(), nullable = True),
StructField("plugin_filename", StringType(), nullable = True),
StructField("plugin_name", StringType(), nullable = True),
StructField("plugin_version", StringType(), nullable = True),
StructField("process_type", StringType(), nullable = True),
StructField("processor_notes", StringType(), nullable = True),
StructField("product", StringType(), nullable = True),
StructField("productid", StringType(), nullable = True),
StructField("proto_signature", StringType(), nullable = True),
StructField("reason", StringType(), nullable = True),
StructField("release_channel", StringType(), nullable = True),
StructField("signature", StringType(), nullable = True),
StructField("topmost_filenames", StringType(), nullable = True),
StructField("uptime", IntegerType(), nullable = True),
StructField("user_comments", StringType(), nullable = True),
StructField("uuid", StringType(), nullable = True),
StructField("version", StringType(), nullable = True),
StructField("winsock_lsp", StringType(), nullable = True)
])
StructType(List(
StructField("additional_minidumps", ArrayType(StringType, containsNull = false), nullable = true),
StructField("addons", ArrayType(StringType, containsNull = false), nullable = true),
StructField("addons_checked", BooleanType, nullable = false),
StructField("address", StringType, nullable = true),
StructField("app_notes", StringType, nullable = true),
StructField("build_id", StringType, nullable = true),
StructField("classifications", StructType(List(
StructField("jit", StructType(List(
StructField("category", StringType, nullable = true),
StructField("category_return_code", StringType, nullable = true)
)), nullable = true),
StructField("skunk_works", StructType(List(
StructField("classification", StringType, nullable = true),
StructField("classification_data", StringType, nullable = true),
StructField("classification_version", StringType, nullable = true)
)), nullable = true),
StructField("support", StructType(List(
StructField("classification", StringType, nullable = true),
StructField("classification_data", StringType, nullable = true),
StructField("classification_version", StringType, nullable = true)
)), nullable = true)
)), nullable = true),
StructField("cpu_arch", StringType, nullable = true),
StructField("cpu_info", StringType, nullable = true),
StructField("crash_id", StringType, nullable = true),
StructField("date", StringType, nullable = true),
StructField("flash_version", StringType, nullable = true),
StructField("hang_type", IntegerType, nullable = true),
StructField("install_age", IntegerType, nullable = true),
StructField("java_stack_trace", StringType, nullable = true),
StructField("json_dump", StructType(List(
StructField("crash_info", StructType(List(
StructField("address", StringType, nullable = true),
StructField("crashing_thread", IntegerType, nullable = true),
StructField("type", StringType, nullable = true)
)), nullable = true),
StructField("crashing_thread", StructType(List(
StructField("frames", ArrayType(StructType(List(
StructField("file", StringType, nullable = true),
StructField("frame", IntegerType, nullable = true),
StructField("function", StringType, nullable = true),
StructField("function_offset", StringType, nullable = true),
StructField("line", IntegerType, nullable = true),
StructField("module", StringType, nullable = true),
StructField("module_offset", StringType, nullable = true),
StructField("offset", StringType, nullable = true)
))), nullable = true),
StructField("threads_index", IntegerType, nullable = true),
StructField("total_frames", IntegerType, nullable = true)
)), nullable = true),
StructField("largest_free_vm_block", StringType, nullable = true),
StructField("main_module", IntegerType, nullable = true),
StructField("status", StringType, nullable = true),
StructField("system_info", StructType(List(
StructField("cpu_arch", StringType, nullable = true),
StructField("cpu_count", IntegerType, nullable = true),
StructField("cpu_info", StringType, nullable = true),
StructField("os", StringType, nullable = true),
StructField("os_ver", StringType, nullable = true)
)), nullable = true),
StructField("thread_count", IntegerType, nullable = true),
StructField("threads", ArrayType(StructType(List(
StructField("frame_count", IntegerType, nullable = true),
StructField("frames", ArrayType(StructType(List(
StructField("file", StringType, nullable = true),
StructField("frame", IntegerType, nullable = true),
StructField("function", StringType, nullable = true),
StructField("function_offset", StringType, nullable = true),
StructField("line", IntegerType, nullable = true),
StructField("module", StringType, nullable = true),
StructField("module_offset", StringType, nullable = true),
StructField("offset", StringType, nullable = true)
))), nullable = true)
))), nullable = true),
StructField("tiny_block_size", StringType, nullable = true),
StructField("write_combine_size", StringType, nullable = true)
)), nullable = true),
StructField("last_crash", IntegerType, nullable = true),
StructField("memory_report", StructType(List(
StructField("hasMozMallocUsableSize", BooleanType, nullable = false),
StructField("reports", ArrayType(StructType(List(
StructField("amount", IntegerType, nullable = true),
StructField("description", StringType, nullable = true),
StructField("kind", IntegerType, nullable = true),
StructField("path", StringType, nullable = true),
StructField("process", StringType, nullable = true),
StructField("units", IntegerType, nullable = true)
))), nullable = true),
StructField("version", IntegerType, nullable = true)
)), nullable = true),
StructField("platform", StringType, nullable = true),
StructField("platform_pretty_version", StringType, nullable = true),
StructField("platform_version", StringType, nullable = true),
StructField("plugin_filename", StringType, nullable = true),
StructField("plugin_name", StringType, nullable = true),
StructField("plugin_version", StringType, nullable = true),
StructField("process_type", StringType, nullable = true),
StructField("processor_notes", StringType, nullable = true),
StructField("product", StringType, nullable = true),
StructField("productid", StringType, nullable = true),
StructField("proto_signature", StringType, nullable = true),
StructField("reason", StringType, nullable = true),
StructField("release_channel", StringType, nullable = true),
StructField("signature", StringType, nullable = true),
StructField("topmost_filenames", StringType, nullable = true),
StructField("uptime", IntegerType, nullable = true),
StructField("user_comments", StringType, nullable = true),
StructField("uuid", StringType, nullable = true),
StructField("version", StringType, nullable = true),
StructField("winsock_lsp", StringType, nullable = true)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment