Module: Gitlab::CycleAnalytics::MetricsTables

Instance Method Summary collapse

Instance Method Details

#build_tableObject


46
47
48
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 46

def build_table
  ::CommitStatus.arel_table
end

#issue_metrics_tableObject


30
31
32
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 30

def issue_metrics_table
  Issue::Metrics.arel_table
end

#issue_tableObject


26
27
28
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 26

def issue_table
  Issue.arel_table
end

#mr_closing_issues_tableObject


22
23
24
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 22

def mr_closing_issues_table
  MergeRequestsClosingIssues.arel_table
end

#mr_diff_commits_tableObject


18
19
20
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 18

def mr_diff_commits_table
  MergeRequestDiffCommit.arel_table
end

#mr_diff_tableObject


14
15
16
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 14

def mr_diff_table
  MergeRequestDiff.arel_table
end

#mr_metrics_tableObject


6
7
8
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 6

def mr_metrics_table
  MergeRequest::Metrics.arel_table
end

#mr_tableObject


10
11
12
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 10

def mr_table
  MergeRequest.arel_table
end

#projects_tableObject


38
39
40
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 38

def projects_table
  Project.arel_table
end

#routes_tableObject


42
43
44
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 42

def routes_table
  Route.arel_table
end

#user_tableObject


34
35
36
# File 'lib/gitlab/cycle_analytics/metrics_tables.rb', line 34

def user_table
  User.arel_table
end