struct

Orc::Proto::Footer

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :header_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :content_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :stripes, pb_type: StripeInformation, crystal_type: StripeInformation, cast_type: Array(StripeInformation)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :types, pb_type: Type, crystal_type: Type, cast_type: Array(Type)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :metadata, pb_type: UserMetadataItem, crystal_type: UserMetadataItem, cast_type: Array(UserMetadataItem)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 6 => {name: :number_of_rows, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :statistics, pb_type: ColumnStatistics, crystal_type: ColumnStatistics, cast_type: Array(ColumnStatistics)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 8 => {name: :row_index_stride, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :writer, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :encryption, pb_type: Encryption, crystal_type: Encryption, cast_type: Encryption?, native: false, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :calendar, pb_type: CalendarKind, crystal_type: CalendarKind, cast_type: CalendarKind?, native: false, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :software_version, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(header_length : UInt64 | Nil = nil, content_length : UInt64 | Nil = nil, stripes : Array(StripeInformation) | Nil = nil, types : Array(Type) | Nil = nil, metadata : Array(UserMetadataItem) | Nil = nil, number_of_rows : UInt64 | Nil = nil, statistics : Array(ColumnStatistics) | Nil = nil, row_index_stride : UInt32 | Nil = nil, writer : UInt32 | Nil = nil, encryption : Encryption | Nil = nil, calendar : CalendarKind | Nil = nil, software_version : String | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
calendar
calendar=(calendar : CalendarKind | Nil)
content_length
content_length=(content_length : UInt64 | Nil)
encryption
encryption=(encryption : Encryption | Nil)
header_length
header_length=(header_length : UInt64 | Nil)
metadata
metadata=(metadata : Array(UserMetadataItem) | Nil)
number_of_rows
number_of_rows=(number_of_rows : UInt64 | Nil)
row_index_stride
row_index_stride=(row_index_stride : UInt32 | Nil)
software_version
software_version=(software_version : String | Nil)
statistics
statistics=(statistics : Array(ColumnStatistics) | Nil)
stripes
stripes=(stripes : Array(StripeInformation) | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf
types
types=(types : Array(Type) | Nil)
writer
writer=(writer : UInt32 | Nil)