line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
3
|
|
|
3
|
|
1717
|
use utf8; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
20
|
|
2
|
|
|
|
|
|
|
package HPC::Runner::Command::Plugin::Logger::Sqlite::Schema::Result::Task; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader |
5
|
|
|
|
|
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
HPC::Runner::Command::Plugin::Logger::Sqlite::Schema::Result::Task |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
12
|
|
|
|
|
|
|
|
13
|
3
|
|
|
3
|
|
115
|
use strict; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
46
|
|
14
|
3
|
|
|
3
|
|
8
|
use warnings; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
65
|
|
15
|
|
|
|
|
|
|
|
16
|
3
|
|
|
3
|
|
11
|
use base 'DBIx::Class::Core'; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
541
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 TABLE: C<tasks> |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=cut |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->table("tasks"); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 ACCESSORS |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head2 task_pi |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
data_type: 'integer' |
29
|
|
|
|
|
|
|
is_auto_increment: 1 |
30
|
|
|
|
|
|
|
is_nullable: 0 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head2 job_fk |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
data_type: 'integer' |
35
|
|
|
|
|
|
|
is_foreign_key: 1 |
36
|
|
|
|
|
|
|
is_nullable: 0 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head2 pid |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
data_type: 'integer' |
41
|
|
|
|
|
|
|
is_nullable: 0 |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 start_time |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
data_type: 'text' |
46
|
|
|
|
|
|
|
is_nullable: 0 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 exit_time |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
data_type: 'text' |
51
|
|
|
|
|
|
|
is_nullable: 1 |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 duration |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
data_type: 'text' |
56
|
|
|
|
|
|
|
is_nullable: 1 |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 exit_code |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
data_type: 'integer' |
61
|
|
|
|
|
|
|
is_nullable: 1 |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 tasks_meta |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
data_type: 'text' |
66
|
|
|
|
|
|
|
is_nullable: 1 |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 task_tags |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
data_type: 'text' |
71
|
|
|
|
|
|
|
is_nullable: 1 |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=cut |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
76
|
|
|
|
|
|
|
"task_pi", |
77
|
|
|
|
|
|
|
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
78
|
|
|
|
|
|
|
"job_fk", |
79
|
|
|
|
|
|
|
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
80
|
|
|
|
|
|
|
"pid", |
81
|
|
|
|
|
|
|
{ data_type => "integer", is_nullable => 0 }, |
82
|
|
|
|
|
|
|
"start_time", |
83
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 0 }, |
84
|
|
|
|
|
|
|
"exit_time", |
85
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
86
|
|
|
|
|
|
|
"duration", |
87
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
88
|
|
|
|
|
|
|
"exit_code", |
89
|
|
|
|
|
|
|
{ data_type => "integer", is_nullable => 1 }, |
90
|
|
|
|
|
|
|
"tasks_meta", |
91
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
92
|
|
|
|
|
|
|
"task_tags", |
93
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
94
|
|
|
|
|
|
|
); |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head1 PRIMARY KEY |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=over 4 |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=item * L</task_pi> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=back |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=cut |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("task_pi"); |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head1 RELATIONS |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 job_fk |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Type: belongs_to |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Related object: L<HPC::Runner::Command::Plugin::Logger::Sqlite::Schema::Result::Job> |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
=cut |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
119
|
|
|
|
|
|
|
"job_fk", |
120
|
|
|
|
|
|
|
"HPC::Runner::Command::Plugin::Logger::Sqlite::Schema::Result::Job", |
121
|
|
|
|
|
|
|
{ job_pi => "job_fk" }, |
122
|
|
|
|
|
|
|
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" }, |
123
|
|
|
|
|
|
|
); |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07045 @ 2017-03-28 14:40:32 |
127
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R31ymUSo+XWr/fK3t2c9nw |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
131
|
|
|
|
|
|
|
1; |