« blib/lib/App/RecordStream/Aggregator/Ord2Univariate.pm
↑ Summary
blib/lib/App/RecordStream/Aggregator/Last.pm »
| 1 | package App::RecordStream::Clumper::CubeKeyPerfect; | ||
| 2 | |||
| 3 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 5 | ▶ | use App::RecordStream::Clumper::KeyPerfect; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 5 | ▶ | use App::RecordStream::DomainLanguage::Registry; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 5 | ▶ | use base 'App::RecordStream::Clumper::KeyPerfect'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | sub long_usage | ||
| 12 | { | ||
| 13 | 0 | ▶ | return <<EOF; |
|
Subroutine
long_usage: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 14 | Usage: cubekeyperfect,<keyspec> | ||
| 15 | Clump records by the value for a key and additionally produce an "ALL" slice. | ||
| 16 | EOF | ||
| 17 | } | ||
| 18 | |||
| 19 | sub short_usage | ||
| 20 | { | ||
| 21 | 2 | ▶ | return "clump records by the value for a key, additionally cubing them"; |
|
Subroutine
short_usage: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 22 | } | ||
| 23 | |||
| 24 | sub get_values | ||
| 25 | { | ||
| 26 | 30 | ▶ | my $this = shift; |
|
Subroutine
get_values: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 27 | 30 | my $value = shift; | |
| 28 | |||
| 29 | 30 | return ($value, "ALL"); | |
| 30 | } | ||
| 31 | |||
| 32 | 5 | App::RecordStream::Clumper->register_implementation('cubekeyperfect', __PACKAGE__); | |
| 33 | |||
| 34 | 5 | App::RecordStream::DomainLanguage::Registry::register_vfn(__PACKAGE__, 'new_from_valuation', 'cubekeyperfect', 'VALUATION'); | |
| 35 | 5 | App::RecordStream::DomainLanguage::Registry::register_vfn(__PACKAGE__, 'new_from_valuation', 'cubekey', 'VALUATION'); | |
| 36 | |||
| 37 | 5 | 1; | |