struct Orc::Proto::Footer

Included Modules

Defined in:

orc/definition/orc.pb.cr

Constant Summary

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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.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 Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def calendar : CalendarKind | Nil #

def calendar=(calendar : CalendarKind | Nil) #

def content_length : UInt64 | Nil #

def content_length=(content_length : UInt64 | Nil) #

def encryption : Encryption | Nil #

def encryption=(encryption : Encryption | Nil) #

def header_length : UInt64 | Nil #

def header_length=(header_length : UInt64 | Nil) #

def metadata : Array(UserMetadataItem) | Nil #

def metadata=(metadata : Array(UserMetadataItem) | Nil) #

def number_of_rows : UInt64 | Nil #

def number_of_rows=(number_of_rows : UInt64 | Nil) #

def row_index_stride : UInt32 | Nil #

def row_index_stride=(row_index_stride : UInt32 | Nil) #

def software_version : String | Nil #

def software_version=(software_version : String | Nil) #

def statistics : Array(ColumnStatistics) | Nil #

def statistics=(statistics : Array(ColumnStatistics) | Nil) #

def stripes : Array(StripeInformation) | Nil #

def stripes=(stripes : Array(StripeInformation) | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def types : Array(Type) | Nil #

def types=(types : Array(Type) | Nil) #

def writer : UInt32 | Nil #

def writer=(writer : UInt32 | Nil) #