struct

Hwaro::Services::StatsResult

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(total : Int32 = 0, drafts : Int32 = 0, published : Int32 = 0, future : Int32 = 0, expired : Int32 = 0, words_total : Int64 = 0_i64, words_avg : Int32 = 0, words_min : Int32 = 0, words_max : Int32 = 0, tags : Hash(String, Int32) = {} of String => Int32, monthly : Hash(String, Int32) = {} of String => Int32)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

drafts
Source
drafts=(drafts : Int32)
Source
expired
Source
expired=(expired : Int32)
Source
future

Files a default build drops for reasons other than draft. They used to be counted as published, so the report disagreed with the site.

Source
future=(future : Int32)

Files a default build drops for reasons other than draft. They used to be counted as published, so the report disagreed with the site.

Source
monthly
Source
monthly=(monthly : Hash(String, Int32))
Source
published
Source
published=(published : Int32)
Source
tags
Source
tags=(tags : Hash(String, Int32))
Source
total
Source
total=(total : Int32)
Source
words_avg
Source
words_avg=(words_avg : Int32)
Source
words_max
Source
words_max=(words_max : Int32)
Source
words_min
Source
words_min=(words_min : Int32)
Source
words_total

Int64: summing per-file Int32 counts overflowed Int32 on giant corpora (an Int32 total caps out around 2 billion words).

Source
words_total=(words_total : Int64)

Int64: summing per-file Int32 counts overflowed Int32 on giant corpora (an Int32 total caps out around 2 billion words).

Source