struct Orc::Proto::Stream

Included Modules

Defined in:

orc/definition/orc.pb.cr

Constant Summary

FIELDS = {1 => {name: :kind, pb_type: Stream::Kind, crystal_type: Stream::Kind, cast_type: Stream::Kind?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :column, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :length, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, 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(kind : Stream::Kind | Nil = nil, column : UInt32 | Nil = nil, length : UInt64 | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def column : UInt32 | Nil #

def column=(column : UInt32 | Nil) #

def kind : Stream::Kind | Nil #

def kind=(kind : Stream::Kind | Nil) #

def length : UInt64 | Nil #

def length=(length : UInt64 | Nil) #

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

def to_protobuf #