protected override void SetFields()
        {
            this.Title = new BQColumn("title", "Title", BQDataType.BQString, BQColumnMode.BQRequired, this);
            this.Id = new BQColumn("id", "Id", BQDataType.BQInteger, BQColumnMode.BQNullable, this);
            this.Language = new BQColumn("language", "Language", BQDataType.BQString, BQColumnMode.BQRequired, this);
            this.WpNamespace = new BQColumn("wp_namespace", "WpNamespace", BQDataType.BQInteger, BQColumnMode.BQRequired, this);
            this.IsRedirect = new BQColumn("is_redirect", "IsRedirect", BQDataType.BQBoolean, BQColumnMode.BQNullable, this);
            this.RevisionId = new BQColumn("revision_id", "RevisionId", BQDataType.BQInteger, BQColumnMode.BQNullable, this);
            this.ContributorIp = new BQColumn("contributor_ip", "ContributorIp", BQDataType.BQString, BQColumnMode.BQNullable, this);
            this.ContributorId = new BQColumn("contributor_id", "ContributorId", BQDataType.BQInteger, BQColumnMode.BQNullable, this);
            this.ContributorUsername = new BQColumn("contributor_username", "ContributorUsername", BQDataType.BQString, BQColumnMode.BQRequired, this);
            this.Timestamp = new BQColumn("timestamp", "Timestamp", BQDataType.BQInteger, BQColumnMode.BQRequired, this);
            this.IsMinor = new BQColumn("is_minor", "IsMinor", BQDataType.BQBoolean, BQColumnMode.BQNullable, this);
            this.IsBot = new BQColumn("is_bot", "IsBot", BQDataType.BQBoolean, BQColumnMode.BQNullable, this);
            this.ReversionId = new BQColumn("reversion_id", "ReversionId", BQDataType.BQInteger, BQColumnMode.BQNullable, this);
            this.Comment = new BQColumn("comment", "Comment", BQDataType.BQString, BQColumnMode.BQNullable, this);
            this.NumCharacters = new BQColumn("num_characters", "NumCharacters", BQDataType.BQInteger, BQColumnMode.BQRequired, this);

            this.Columns.Add(this.Title);
            this.Columns.Add(this.Id);
            this.Columns.Add(this.Language);
            this.Columns.Add(this.WpNamespace);
            this.Columns.Add(this.IsRedirect);
            this.Columns.Add(this.RevisionId);
            this.Columns.Add(this.ContributorIp);
            this.Columns.Add(this.ContributorId);
            this.Columns.Add(this.ContributorUsername);
            this.Columns.Add(this.Timestamp);
            this.Columns.Add(this.IsMinor);
            this.Columns.Add(this.IsBot);
            this.Columns.Add(this.ReversionId);
            this.Columns.Add(this.Comment);
            this.Columns.Add(this.NumCharacters);
        }
        protected override void SetFields()
        {
            this.AvgNumCharacters = new BQColumn("AvgNumCharacters", "AvgNumCharacters", BQDataType.BQFloat, BQColumnMode.BQRequired, this);
            this.IsBot = new BQColumn("is_bot", "IsBot", BQDataType.BQBoolean, BQColumnMode.BQRequired, this);

            this.Columns.Add(this.AvgNumCharacters);
            this.Columns.Add(this.IsBot);
        }
Beispiel #3
0
        protected override void SetFields()
        {
            this.Word = new BQColumn("word", "Word", BQDataType.BQString, BQColumnMode.BQRequired, this);
            this.WordCount = new BQColumn("word_count", "WordCount", BQDataType.BQInteger, BQColumnMode.BQRequired, this);
            this.Corpus = new BQColumn("corpus", "Corpus", BQDataType.BQString, BQColumnMode.BQRequired, this);
            this.CorpusDate = new BQColumn("corpus_date", "CorpusDate", BQDataType.BQInteger, BQColumnMode.BQRequired, this);

            this.Columns.Add(this.Word);
            this.Columns.Add(this.WordCount);
            this.Columns.Add(this.Corpus);
            this.Columns.Add(this.CorpusDate);
        }