struct Orc::Proto::StripeInformation

Included Modules

Defined in:

orc/definition/orc.pb.cr

Constant Summary

FIELDS = {1 => {name: :offset, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :index_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :data_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :footer_length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :number_of_rows, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :encrypt_stripe_id, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :encrypted_local_keys, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Array(Slice(UInt8))?, native: true, optional: true, repeated: true, 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(offset : UInt64 | Nil = nil, index_length : UInt64 | Nil = nil, data_length : UInt64 | Nil = nil, footer_length : UInt64 | Nil = nil, number_of_rows : UInt64 | Nil = nil, encrypt_stripe_id : UInt64 | Nil = nil, encrypted_local_keys : Array(Slice(UInt8)) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def data_length : UInt64 | Nil #

def data_length=(data_length : UInt64 | Nil) #

def encrypt_stripe_id : UInt64 | Nil #

def encrypt_stripe_id=(encrypt_stripe_id : UInt64 | Nil) #

def encrypted_local_keys : Array(Slice(UInt8)) | Nil #

def encrypted_local_keys=(encrypted_local_keys : Array(Slice(UInt8)) | Nil) #

def footer_length : UInt64 | Nil #

def footer_length=(footer_length : UInt64 | Nil) #

def index_length : UInt64 | Nil #

def index_length=(index_length : UInt64 | Nil) #

def number_of_rows : UInt64 | Nil #

def number_of_rows=(number_of_rows : UInt64 | Nil) #

def offset : UInt64 | Nil #

def offset=(offset : UInt64 | Nil) #

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

def to_protobuf #