blib/lib/Druid/PostAggregator/FieldAccess.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
type
2.0
build
2.0
BEGIN
2.0
CRAP 2.0
1 package Druid::PostAggregator::FieldAccess;
2 use Moo;
3  
4 extends 'Druid::PostAggregator';
5  
6 has fieldName => (is => 'ro');
7  
8 sub type { 'fieldAccess' }
9  
10 sub build {
11 my $self = shift;
12  
13 my $filter = {
14 'type' => $self->type,
15 'name' => $self->name,
16 'fieldName' => $self->fieldName,
17 };
18  
19 return $filter;
20 }
21  
22 1;
23