28 |
|
|
29 |
=head3 new |
=head3 new |
30 |
|
|
31 |
C<< my $erload = ERDBLoad->new($erdb, $relationName, $directory, $loadOnly, $ignore); >> |
my $erload = ERDBLoad->new($erdb, $relationName, $directory, $loadOnly, $ignore); |
32 |
|
|
33 |
Begin loading an ERDB relation. |
Begin loading an ERDB relation. |
34 |
|
|
108 |
|
|
109 |
=head3 Ignore |
=head3 Ignore |
110 |
|
|
111 |
C<< my $flag = $erload->Ignore; >> |
my $flag = $erload->Ignore; |
112 |
|
|
113 |
Return TRUE if we are ignoring this table, else FALSE. |
Return TRUE if we are ignoring this table, else FALSE. |
114 |
|
|
123 |
|
|
124 |
=head3 Put |
=head3 Put |
125 |
|
|
126 |
C<< my = $erload->Put($field1, $field2, ..., $fieldN); >> |
my = $erload->Put($field1, $field2, ..., $fieldN); |
127 |
|
|
128 |
Write a line of data to the load file. This may also cause the load file to be closed |
Write a line of data to the load file. This may also cause the load file to be closed |
129 |
and data read into the table. |
and data read into the table. |
174 |
|
|
175 |
=head3 Add |
=head3 Add |
176 |
|
|
177 |
C<< my = $stats->Add($statName, $value); >> |
my = $stats->Add($statName, $value); |
178 |
|
|
179 |
Increment the specified statistic. |
Increment the specified statistic. |
180 |
|
|
205 |
|
|
206 |
=head3 Finish |
=head3 Finish |
207 |
|
|
208 |
C<< my $stats = $erload->Finish(); >> |
my $stats = $erload->Finish(); |
209 |
|
|
210 |
Finish loading the table. This closes the load file. |
Finish loading the table. This closes the load file. |
211 |
|
|
233 |
|
|
234 |
=head3 FinishAndLoad |
=head3 FinishAndLoad |
235 |
|
|
236 |
C<< my $stats = $erload->FinishAndLoad(); >> |
my $stats = $erload->FinishAndLoad(); |
237 |
|
|
238 |
Finish the load and load the table, returning the statistics. |
Finish the load and load the table, returning the statistics. |
239 |
|
|
254 |
|
|
255 |
=head3 RelName |
=head3 RelName |
256 |
|
|
257 |
C<< my $name = $erload->RelName; >> |
my $name = $erload->RelName; |
258 |
|
|
259 |
Name of the relation being loaded by this object. |
Name of the relation being loaded by this object. |
260 |
|
|
269 |
|
|
270 |
=head3 LoadTable |
=head3 LoadTable |
271 |
|
|
272 |
C<< my $stats = $erload->LoadTable(); >> |
my $stats = $erload->LoadTable(); |
273 |
|
|
274 |
Load the database table from the load file and return a statistics object. |
Load the database table from the load file and return a statistics object. |
275 |
|
|