struct Orc::Proto::ColumnStatistics

Included Modules

Defined in:

orc/definition/orc.pb.cr

Constant Summary

FIELDS = {1 => {name: :number_of_values, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :int_statistics, pb_type: IntegerStatistics, crystal_type: IntegerStatistics, cast_type: IntegerStatistics?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :double_statistics, pb_type: DoubleStatistics, crystal_type: DoubleStatistics, cast_type: DoubleStatistics?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :string_statistics, pb_type: StringStatistics, crystal_type: StringStatistics, cast_type: StringStatistics?, native: false, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :bucket_statistics, pb_type: BucketStatistics, crystal_type: BucketStatistics, cast_type: BucketStatistics?, native: false, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :decimal_statistics, pb_type: DecimalStatistics, crystal_type: DecimalStatistics, cast_type: DecimalStatistics?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :date_statistics, pb_type: DateStatistics, crystal_type: DateStatistics, cast_type: DateStatistics?, native: false, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :binary_statistics, pb_type: BinaryStatistics, crystal_type: BinaryStatistics, cast_type: BinaryStatistics?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :timestamp_statistics, pb_type: TimestampStatistics, crystal_type: TimestampStatistics, cast_type: TimestampStatistics?, native: false, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :has_null, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :bytes_on_disk, pb_type: :uint64, crystal_type: UInt64, cast_type: UInt64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :collection_statistics, pb_type: CollectionStatistics, crystal_type: CollectionStatistics, cast_type: CollectionStatistics?, native: false, 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(number_of_values : UInt64 | Nil = nil, int_statistics : IntegerStatistics | Nil = nil, double_statistics : DoubleStatistics | Nil = nil, string_statistics : StringStatistics | Nil = nil, bucket_statistics : BucketStatistics | Nil = nil, decimal_statistics : DecimalStatistics | Nil = nil, date_statistics : DateStatistics | Nil = nil, binary_statistics : BinaryStatistics | Nil = nil, timestamp_statistics : TimestampStatistics | Nil = nil, has_null : Bool | Nil = nil, bytes_on_disk : UInt64 | Nil = nil, collection_statistics : CollectionStatistics | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def binary_statistics : BinaryStatistics | Nil #

def binary_statistics=(binary_statistics : BinaryStatistics | Nil) #

def bucket_statistics : BucketStatistics | Nil #

def bucket_statistics=(bucket_statistics : BucketStatistics | Nil) #

def bytes_on_disk : UInt64 | Nil #

def bytes_on_disk=(bytes_on_disk : UInt64 | Nil) #

def collection_statistics : CollectionStatistics | Nil #

def collection_statistics=(collection_statistics : CollectionStatistics | Nil) #

def date_statistics : DateStatistics | Nil #

def date_statistics=(date_statistics : DateStatistics | Nil) #

def decimal_statistics : DecimalStatistics | Nil #

def decimal_statistics=(decimal_statistics : DecimalStatistics | Nil) #

def double_statistics : DoubleStatistics | Nil #

def double_statistics=(double_statistics : DoubleStatistics | Nil) #

def has_null : Bool | Nil #

def has_null=(has_null : Bool | Nil) #

def int_statistics : IntegerStatistics | Nil #

def int_statistics=(int_statistics : IntegerStatistics | Nil) #

def number_of_values : UInt64 | Nil #

def number_of_values=(number_of_values : UInt64 | Nil) #

def string_statistics : StringStatistics | Nil #

def string_statistics=(string_statistics : StringStatistics | Nil) #

def timestamp_statistics : TimestampStatistics | Nil #

def timestamp_statistics=(timestamp_statistics : TimestampStatistics | Nil) #

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

def to_protobuf #