line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tapper::Schema::TestrunDB::Result::ChartMarkings; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TAPPER'; |
3
|
|
|
|
|
|
|
$Tapper::Schema::TestrunDB::Result::ChartMarkings::VERSION = '5.0.9'; |
4
|
|
|
|
|
|
|
# ABSTRACT: Tapper - Keep Chart Marking Areas for Charts |
5
|
|
|
|
|
|
|
|
6
|
7
|
|
|
7
|
|
3194
|
use strict; |
|
7
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
168
|
|
7
|
7
|
|
|
7
|
|
25
|
use warnings; |
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
148
|
|
8
|
|
|
|
|
|
|
|
9
|
7
|
|
|
7
|
|
23
|
use parent 'DBIx::Class'; |
|
7
|
|
|
|
|
7
|
|
|
7
|
|
|
|
|
25
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
__PACKAGE__->load_components(qw/FilterColumn InflateColumn::DateTime Core/); |
12
|
|
|
|
|
|
|
__PACKAGE__->table('chart_markings'); |
13
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
14
|
|
|
|
|
|
|
'chart_marking_id', { |
15
|
|
|
|
|
|
|
data_type => 'INT', |
16
|
|
|
|
|
|
|
default_value => undef, |
17
|
|
|
|
|
|
|
is_nullable => 0, |
18
|
|
|
|
|
|
|
size => 11, |
19
|
|
|
|
|
|
|
is_auto_increment => 1, |
20
|
|
|
|
|
|
|
extra => { |
21
|
|
|
|
|
|
|
unsigned => 1, |
22
|
|
|
|
|
|
|
}, |
23
|
|
|
|
|
|
|
}, |
24
|
|
|
|
|
|
|
'chart_version_id', { |
25
|
|
|
|
|
|
|
data_type => 'INT', |
26
|
|
|
|
|
|
|
default_value => undef, |
27
|
|
|
|
|
|
|
is_nullable => 0, |
28
|
|
|
|
|
|
|
size => 11, |
29
|
|
|
|
|
|
|
is_foreign_key => 1, |
30
|
|
|
|
|
|
|
extra => { |
31
|
|
|
|
|
|
|
unsigned => 1, |
32
|
|
|
|
|
|
|
}, |
33
|
|
|
|
|
|
|
}, |
34
|
|
|
|
|
|
|
'chart_marking_name' , { |
35
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
36
|
|
|
|
|
|
|
default_value => undef, |
37
|
|
|
|
|
|
|
is_nullable => 0, |
38
|
|
|
|
|
|
|
size => 128, |
39
|
|
|
|
|
|
|
}, |
40
|
|
|
|
|
|
|
'chart_marking_color' , { |
41
|
|
|
|
|
|
|
data_type => 'CHAR', |
42
|
|
|
|
|
|
|
default_value => undef, |
43
|
|
|
|
|
|
|
is_nullable => 0, |
44
|
|
|
|
|
|
|
size => 6, |
45
|
|
|
|
|
|
|
}, |
46
|
|
|
|
|
|
|
'chart_marking_x_from' , { |
47
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
48
|
|
|
|
|
|
|
default_value => undef, |
49
|
|
|
|
|
|
|
is_nullable => 1, |
50
|
|
|
|
|
|
|
size => 512, |
51
|
|
|
|
|
|
|
}, |
52
|
|
|
|
|
|
|
'chart_marking_x_to' , { |
53
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
54
|
|
|
|
|
|
|
default_value => undef, |
55
|
|
|
|
|
|
|
is_nullable => 1, |
56
|
|
|
|
|
|
|
size => 512, |
57
|
|
|
|
|
|
|
}, |
58
|
|
|
|
|
|
|
'chart_marking_x_format' , { |
59
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
60
|
|
|
|
|
|
|
default_value => undef, |
61
|
|
|
|
|
|
|
is_nullable => 1, |
62
|
|
|
|
|
|
|
size => 64, |
63
|
|
|
|
|
|
|
}, |
64
|
|
|
|
|
|
|
'chart_marking_y_from' , { |
65
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
66
|
|
|
|
|
|
|
default_value => undef, |
67
|
|
|
|
|
|
|
is_nullable => 1, |
68
|
|
|
|
|
|
|
size => 512, |
69
|
|
|
|
|
|
|
}, |
70
|
|
|
|
|
|
|
'chart_marking_y_to' , { |
71
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
72
|
|
|
|
|
|
|
default_value => undef, |
73
|
|
|
|
|
|
|
is_nullable => 1, |
74
|
|
|
|
|
|
|
size => 512, |
75
|
|
|
|
|
|
|
}, |
76
|
|
|
|
|
|
|
'chart_marking_y_format' , { |
77
|
|
|
|
|
|
|
data_type => 'VARCHAR', |
78
|
|
|
|
|
|
|
default_value => undef, |
79
|
|
|
|
|
|
|
is_nullable => 1, |
80
|
|
|
|
|
|
|
size => 64, |
81
|
|
|
|
|
|
|
}, |
82
|
|
|
|
|
|
|
'created_at', { |
83
|
|
|
|
|
|
|
data_type => 'TIMESTAMP', |
84
|
|
|
|
|
|
|
default_value => undef, |
85
|
|
|
|
|
|
|
is_nullable => 0, |
86
|
|
|
|
|
|
|
set_on_create => 1, |
87
|
|
|
|
|
|
|
}, |
88
|
|
|
|
|
|
|
); |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
(my $basepkg = __PACKAGE__) =~ s/::\w+$//; |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key('chart_marking_id'); |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
96
|
|
|
|
|
|
|
chart_version => "${basepkg}::ChartVersions", |
97
|
|
|
|
|
|
|
{ 'foreign.chart_version_id' => 'self.chart_version_id' }, |
98
|
|
|
|
|
|
|
); |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
1; |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
__END__ |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=pod |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=encoding UTF-8 |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head1 NAME |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
Tapper::Schema::TestrunDB::Result::ChartMarkings - Tapper - Keep Chart Marking Areas for Charts |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head1 AUTHORS |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=over 4 |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=item * |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
AMD OSRC Tapper Team <tapper@amd64.org> |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=item * |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Tapper Team <tapper-ops@amazon.com> |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=back |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
This software is Copyright (c) 2017 by Advanced Micro Devices, Inc.. |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
This is free software, licensed under: |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=cut |