struct Orc::Proto::PostScript

Included Modules

Defined in:

orc/definition/orc.pb.cr

Constant Summary

FIELDS = {1 => {name: :footer_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :compression, pb_type: CompressionKind, crystal_type: CompressionKind, cast_type: CompressionKind?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :compression_block_size, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :version, pb_type: :uint32, crystal_type: UInt32, cast_type: Array(UInt32)?, native: true, optional: true, repeated: true, default: nil, packed: true}, 5 => {name: :metadata_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :writer_version, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :stripe_statistics_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8000 => {name: :magic, 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(footer_length : UInt64 | Nil = nil, compression : CompressionKind | Nil = nil, compression_block_size : UInt64 | Nil = nil, version : Array(UInt32) | Nil = nil, metadata_length : UInt64 | Nil = nil, writer_version : UInt32 | Nil = nil, stripe_statistics_length : UInt64 | Nil = nil, magic : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def compression : CompressionKind | Nil #

def compression=(compression : CompressionKind | Nil) #

def compression_block_size : UInt64 | Nil #

def compression_block_size=(compression_block_size : UInt64 | Nil) #

def footer_length : UInt64 | Nil #

def footer_length=(footer_length : UInt64 | Nil) #

def magic : String | Nil #

def magic=(magic : String | Nil) #

def metadata_length : UInt64 | Nil #

def metadata_length=(metadata_length : UInt64 | Nil) #

def stripe_statistics_length : UInt64 | Nil #

def stripe_statistics_length=(stripe_statistics_length : UInt64 | Nil) #

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

def to_protobuf #

def version : Array(UInt32) | Nil #

def version=(version : Array(UInt32) | Nil) #

def writer_version : UInt32 | Nil #

def writer_version=(writer_version : UInt32 | Nil) #