Apache ORC · JSON Structure

Apache Orc File Info Structure

FileInfo schema from Apache ORC

Type: object Properties: 4
Big DataColumnar StorageCompressionFile FormatHadoopApacheOpen Source

FileInfo is a JSON Structure definition published by Apache ORC, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

path size rowCount stripes

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-orc/refs/heads/main/json-structure/apache-orc-file-info-structure.json",
  "description": "FileInfo schema from Apache ORC",
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "example": "data/sales.orc"
    },
    "size": {
      "type": "int32",
      "description": "File size in bytes",
      "example": 10485760
    },
    "rowCount": {
      "type": "int32",
      "example": 1000000
    },
    "stripes": {
      "type": "int32",
      "example": 10
    }
  },
  "name": "FileInfo"
}