| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
39
|
46686
|
1817
-
1849
|
Apply
|
org.locationtech.geomesa.accumulo.iterators.AgeOffIterator.init
|
|
DtgAgeOffIterator.super.init(source, options, env)
|
|
41
|
46687
|
1893
-
1893
|
TypeApply
|
scala.Predef.$conforms
|
|
scala.Predef.$conforms[(String, String)]
|
|
41
|
46688
|
1877
-
1898
|
ApplyToImplicitArgs
|
scala.collection.TraversableOnce.toMap
|
|
scala.collection.JavaConverters.mapAsScalaMapConverter[String, String](options).asScala.toMap[String, String](scala.Predef.$conforms[(String, String)])
|
|
41
|
46689
|
1866
-
1899
|
Apply
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.init
|
|
DtgAgeOffIterator.super.init(scala.collection.JavaConverters.mapAsScalaMapConverter[String, String](options).asScala.toMap[String, String](scala.Predef.$conforms[(String, String)]))
|
|
41
|
46690
|
1866
-
1899
|
Block
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.init
|
|
DtgAgeOffIterator.super.init(scala.collection.JavaConverters.mapAsScalaMapConverter[String, String](options).asScala.toMap[String, String](scala.Predef.$conforms[(String, String)]))
|
|
43
|
46691
|
1965
-
1968
|
Select
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.sft
|
|
DtgAgeOffIterator.this.sft
|
|
43
|
46692
|
1965
-
1984
|
Select
|
scala.Option.get
|
|
org.locationtech.geomesa.utils.geotools.RichSimpleFeatureType.RichSimpleFeatureType(DtgAgeOffIterator.this.sft).getDtgIndex.get
|
|
43
|
46693
|
1954
-
1984
|
Apply
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.dtgIndex_=
|
|
DtgAgeOffIterator.this.dtgIndex_=(org.locationtech.geomesa.utils.geotools.RichSimpleFeatureType.RichSimpleFeatureType(DtgAgeOffIterator.this.sft).getDtgIndex.get)
|
|
43
|
46694
|
1954
-
1984
|
Block
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.dtgIndex_=
|
|
DtgAgeOffIterator.this.dtgIndex_=(org.locationtech.geomesa.utils.geotools.RichSimpleFeatureType.RichSimpleFeatureType(DtgAgeOffIterator.this.sft).getDtgIndex.get)
|
|
48
|
46695
|
2099
-
2106
|
Apply
|
org.apache.accumulo.core.data.Value.get
|
|
v.get()
|
|
49
|
46696
|
2118
-
2122
|
Literal
|
<nosymbol>
|
|
null
|
|
49
|
46697
|
2124
-
2126
|
Literal
|
<nosymbol>
|
|
-1
|
|
49
|
46698
|
2128
-
2130
|
Literal
|
<nosymbol>
|
|
-1
|
|
49
|
46699
|
2139
-
2140
|
Literal
|
<nosymbol>
|
|
0
|
|
49
|
46700
|
2142
-
2154
|
Select
|
scala.Array.length
|
|
value.length
|
|
49
|
46701
|
2156
-
2158
|
Literal
|
<nosymbol>
|
|
-1L
|
|
49
|
46702
|
2111
-
2159
|
Apply
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.accept
|
|
DtgAgeOffIterator.this.accept(null, -1, -1, value, 0, value.length, -1L)
|
|
53
|
46703
|
2270
-
2321
|
TypeApply
|
scala.Any.asInstanceOf
|
|
DtgAgeOffIterator.super.deepCopy(env).asInstanceOf[org.locationtech.geomesa.accumulo.iterators.DtgAgeOffIterator]
|
|
54
|
46704
|
2337
-
2340
|
Select
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.sft
|
|
DtgAgeOffIterator.this.sft
|
|
54
|
46705
|
2326
-
2340
|
Apply
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.sft_=
|
|
copy.sft_=(DtgAgeOffIterator.this.sft)
|
|
55
|
46706
|
2358
-
2363
|
Select
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.index
|
|
DtgAgeOffIterator.this.index
|
|
55
|
46707
|
2345
-
2363
|
Apply
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.index_=
|
|
copy.index_=(DtgAgeOffIterator.this.index)
|
|
56
|
46708
|
2386
-
2396
|
Select
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.reusableSf
|
|
DtgAgeOffIterator.this.reusableSf
|
|
56
|
46709
|
2368
-
2396
|
Apply
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.reusableSf_=
|
|
copy.reusableSf_=(DtgAgeOffIterator.this.reusableSf)
|
|
57
|
46710
|
2417
-
2425
|
Select
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.dtgIndex
|
|
DtgAgeOffIterator.this.dtgIndex
|
|
57
|
46711
|
2401
-
2425
|
Apply
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.dtgIndex_=
|
|
copy.dtgIndex_=(DtgAgeOffIterator.this.dtgIndex)
|
|
64
|
46712
|
2503
-
2516
|
Literal
|
<nosymbol>
|
|
"dtg-age-off"
|
|
71
|
46713
|
2783
-
2787
|
Select
|
org.locationtech.geomesa.accumulo.iterators.DtgAgeOffIterator.Name
|
|
DtgAgeOffIterator.this.Name
|
|
71
|
46714
|
2789
-
2815
|
Literal
|
<nosymbol>
|
|
classOf[org.locationtech.geomesa.accumulo.iterators.DtgAgeOffIterator]
|
|
71
|
46715
|
2753
-
2816
|
Apply
|
org.apache.accumulo.core.client.IteratorSetting.<init>
|
|
new org.apache.accumulo.core.client.IteratorSetting(priority, DtgAgeOffIterator.this.Name, classOf[org.locationtech.geomesa.accumulo.iterators.DtgAgeOffIterator])
|
|
72
|
46716
|
2902
-
2920
|
Apply
|
org.apache.accumulo.core.client.IteratorSetting.addOption
|
|
is.addOption(k, v)
|
|
72
|
46717
|
2902
-
2920
|
Block
|
org.apache.accumulo.core.client.IteratorSetting.addOption
|
|
is.addOption(k, v)
|
|
72
|
46718
|
2821
-
2922
|
Apply
|
scala.collection.IterableLike.foreach
|
|
org.locationtech.geomesa.index.filters.DtgAgeOffFilter.configure(sft, index, expiry, dtgField).foreach[Unit](((x0$1: (String, String)) => x0$1 match {
case (_1: String, _2: String)(String, String)((k @ _), (v @ _)) => is.addOption(k, v)
}))
|
|
78
|
46724
|
3061
-
3438
|
Apply
|
scala.Option.map
|
|
DtgAgeOffIterator.this.list(tableOps, table).map[org.locationtech.geomesa.utils.conf.FeatureExpiration.FeatureTimeExpiration](((is: org.apache.accumulo.core.client.IteratorSetting) => {
val attribute: String = sft.getDescriptor(scala.Predef.augmentString(is.getOptions().get(org.locationtech.geomesa.index.filters.DtgAgeOffFilter.Configuration.DtgOpt)).toInt).getLocalName();
val expiry: Long = java.time.Duration.parse(is.getOptions().get(org.locationtech.geomesa.index.filters.AgeOffFilter.Configuration.ExpiryOpt)).toMillis();
org.locationtech.geomesa.utils.conf.FeatureExpiration.FeatureTimeExpiration.apply(attribute, sft.indexOf(attribute), scala.concurrent.duration.Duration.apply(expiry, MILLISECONDS))
}))
|
|
78
|
46725
|
3061
-
3438
|
Block
|
scala.Option.map
|
|
DtgAgeOffIterator.this.list(tableOps, table).map[org.locationtech.geomesa.utils.conf.FeatureExpiration.FeatureTimeExpiration](((is: org.apache.accumulo.core.client.IteratorSetting) => {
val attribute: String = sft.getDescriptor(scala.Predef.augmentString(is.getOptions().get(org.locationtech.geomesa.index.filters.DtgAgeOffFilter.Configuration.DtgOpt)).toInt).getLocalName();
val expiry: Long = java.time.Duration.parse(is.getOptions().get(org.locationtech.geomesa.index.filters.AgeOffFilter.Configuration.ExpiryOpt)).toMillis();
org.locationtech.geomesa.utils.conf.FeatureExpiration.FeatureTimeExpiration.apply(attribute, sft.indexOf(attribute), scala.concurrent.duration.Duration.apply(expiry, MILLISECONDS))
}))
|
|
79
|
46719
|
3119
-
3212
|
Apply
|
org.geotools.api.feature.type.AttributeDescriptor.getLocalName
|
|
sft.getDescriptor(scala.Predef.augmentString(is.getOptions().get(org.locationtech.geomesa.index.filters.DtgAgeOffFilter.Configuration.DtgOpt)).toInt).getLocalName()
|
|
80
|
46720
|
3234
-
3324
|
Apply
|
java.time.Duration.toMillis
|
|
java.time.Duration.parse(is.getOptions().get(org.locationtech.geomesa.index.filters.AgeOffFilter.Configuration.ExpiryOpt)).toMillis()
|
|
81
|
46721
|
3366
-
3388
|
Apply
|
org.geotools.api.feature.simple.SimpleFeatureType.indexOf
|
|
sft.indexOf(attribute)
|
|
81
|
46722
|
3390
-
3429
|
Apply
|
scala.concurrent.duration.Duration.apply
|
|
scala.concurrent.duration.Duration.apply(expiry, MILLISECONDS)
|
|
81
|
46723
|
3333
-
3430
|
Apply
|
org.locationtech.geomesa.utils.conf.FeatureExpiration.FeatureTimeExpiration.apply
|
|
org.locationtech.geomesa.utils.conf.FeatureExpiration.FeatureTimeExpiration.apply(attribute, sft.indexOf(attribute), scala.concurrent.duration.Duration.apply(expiry, MILLISECONDS))
|
|
84
|
46726
|
3556
-
3560
|
Select
|
scala.None
|
|
scala.None
|
|
84
|
46727
|
3476
-
3560
|
Block
|
<nosymbol>
|
|
{
(if (DtgAgeOffIterator.this.logger.underlying.isErrorEnabled())
DtgAgeOffIterator.this.logger.underlying.error("Error converting iterator settings to FeatureExpiration:", e)
else
(): Unit);
scala.None
}
|
|
90
|
46728
|
3740
-
3760
|
Apply
|
org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope.values
|
|
org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope.values()
|
|
90
|
46729
|
3829
-
3833
|
Select
|
org.locationtech.geomesa.accumulo.iterators.DtgAgeOffIterator.Name
|
|
DtgAgeOffIterator.this.Name
|
|
90
|
46730
|
3794
-
3841
|
Apply
|
org.apache.accumulo.core.client.admin.TableOperations.getIteratorSetting
|
|
tableOps.getIteratorSetting(table, DtgAgeOffIterator.this.Name, scope)
|
|
90
|
46731
|
3787
-
3842
|
Apply
|
scala.Option.apply
|
|
scala.Option.apply[org.apache.accumulo.core.client.IteratorSetting](tableOps.getIteratorSetting(table, DtgAgeOffIterator.this.Name, scope))
|
|
90
|
46732
|
3787
-
3842
|
ApplyImplicitView
|
scala.Option.option2Iterable
|
|
scala.this.Option.option2Iterable[org.apache.accumulo.core.client.IteratorSetting](scala.Option.apply[org.apache.accumulo.core.client.IteratorSetting](tableOps.getIteratorSetting(table, DtgAgeOffIterator.this.Name, scope)))
|
|
90
|
46733
|
3740
-
3843
|
Apply
|
scala.collection.Iterator.flatMap
|
|
scala.Predef.refArrayOps[org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope](org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope.values()).iterator.flatMap[org.apache.accumulo.core.client.IteratorSetting](((scope: org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope) => scala.this.Option.option2Iterable[org.apache.accumulo.core.client.IteratorSetting](scala.Option.apply[org.apache.accumulo.core.client.IteratorSetting](tableOps.getIteratorSetting(table, DtgAgeOffIterator.this.Name, scope)))))
|
|
90
|
46734
|
3740
-
3854
|
Select
|
org.locationtech.geomesa.utils.conversions.ScalaImplicits.RichIterator.headOption
|
|
org.locationtech.geomesa.utils.conversions.ScalaImplicits.RichIterator[org.apache.accumulo.core.client.IteratorSetting](scala.Predef.refArrayOps[org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope](org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope.values()).iterator.flatMap[org.apache.accumulo.core.client.IteratorSetting](((scope: org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope) => scala.this.Option.option2Iterable[org.apache.accumulo.core.client.IteratorSetting](scala.Option.apply[org.apache.accumulo.core.client.IteratorSetting](tableOps.getIteratorSetting(table, DtgAgeOffIterator.this.Name, scope)))))).headOption
|
|
99
|
46738
|
4031
-
4172
|
Apply
|
scala.collection.IterableLike.foreach
|
|
index.getTableNames(index.getTableNames$default$1).foreach[Unit](((table: String) => tableOps.attachIterator(table, DtgAgeOffIterator.this.configure(sft, index, expiry, scala.Option.apply[String](dtg), DtgAgeOffIterator.this.configure$default$5))))
|
|
100
|
46735
|
4139
-
4150
|
Apply
|
scala.Option.apply
|
|
scala.Option.apply[String](dtg)
|
|
100
|
46736
|
4109
-
4151
|
Apply
|
org.locationtech.geomesa.accumulo.iterators.DtgAgeOffIterator.configure
|
|
DtgAgeOffIterator.this.configure(sft, index, expiry, scala.Option.apply[String](dtg), DtgAgeOffIterator.this.configure$default$5)
|
|
100
|
46737
|
4078
-
4152
|
Apply
|
org.apache.accumulo.core.client.admin.TableOperations.attachIterator
|
|
tableOps.attachIterator(table, DtgAgeOffIterator.this.configure(sft, index, expiry, scala.Option.apply[String](dtg), DtgAgeOffIterator.this.configure$default$5))
|
|
105
|
46739
|
4250
-
4270
|
Apply
|
org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope.values
|
|
org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope.values()
|
|
105
|
46740
|
4287
-
4342
|
Apply
|
java.lang.Object.!=
|
|
tableOps.getIteratorSetting(table, DtgAgeOffIterator.this.Name, scope).!=(null)
|
|
105
|
46741
|
4250
-
4343
|
Apply
|
scala.collection.IndexedSeqOptimized.exists
|
|
scala.Predef.refArrayOps[org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope](org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope.values()).exists(((scope: org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope) => tableOps.getIteratorSetting(table, DtgAgeOffIterator.this.Name, scope).!=(null)))
|
|
105
|
46746
|
4246
-
4246
|
Literal
|
<nosymbol>
|
|
()
|
|
105
|
46747
|
4246
-
4246
|
Block
|
<nosymbol>
|
|
()
|
|
106
|
46742
|
4384
-
4388
|
Select
|
org.locationtech.geomesa.accumulo.iterators.DtgAgeOffIterator.Name
|
|
DtgAgeOffIterator.this.Name
|
|
106
|
46743
|
4390
-
4437
|
Apply
|
java.util.EnumSet.allOf
|
|
java.util.EnumSet.allOf[org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope](classOf[org.apache.accumulo.core.iterators.IteratorUtil$IteratorScope])
|
|
106
|
46744
|
4353
-
4438
|
Apply
|
org.apache.accumulo.core.client.admin.TableOperations.removeIterator
|
|
tableOps.removeIterator(table, DtgAgeOffIterator.this.Name, java.util.EnumSet.allOf[org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope](classOf[org.apache.accumulo.core.iterators.IteratorUtil$IteratorScope]))
|
|
106
|
46745
|
4353
-
4438
|
Block
|
org.apache.accumulo.core.client.admin.TableOperations.removeIterator
|
|
tableOps.removeIterator(table, DtgAgeOffIterator.this.Name, java.util.EnumSet.allOf[org.apache.accumulo.core.iterators.IteratorUtil.IteratorScope](classOf[org.apache.accumulo.core.iterators.IteratorUtil$IteratorScope]))
|