Orc::Proto::ColumnStatistics
Constants
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
new(buf : Protobuf::Buffer)
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 methods
from_protobuf(io)
Instance methods
[](key : String)
binary_statistics
binary_statistics=(binary_statistics : BinaryStatistics | Nil)
bucket_statistics
bucket_statistics=(bucket_statistics : BucketStatistics | Nil)
bytes_on_disk
collection_statistics
collection_statistics=(collection_statistics : CollectionStatistics | Nil)
date_statistics
date_statistics=(date_statistics : DateStatistics | Nil)
decimal_statistics
decimal_statistics=(decimal_statistics : DecimalStatistics | Nil)
double_statistics
double_statistics=(double_statistics : DoubleStatistics | Nil)
has_null
int_statistics
int_statistics=(int_statistics : IntegerStatistics | Nil)
number_of_values
string_statistics
string_statistics=(string_statistics : StringStatistics | Nil)
timestamp_statistics
timestamp_statistics=(timestamp_statistics : TimestampStatistics | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf