| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
55
|
47500
|
2476
-
2493
|
Apply
|
java.lang.Object.!=
|
|
attribute.!=(null)
|
|
55
|
47501
|
2495
-
2526
|
Literal
|
<nosymbol>
|
|
"Attribute is a required field"
|
|
55
|
47502
|
2468
-
2527
|
Apply
|
scala.Predef.require
|
|
scala.Predef.require(attribute.!=(null), "Attribute is a required field")
|
|
59
|
47503
|
2694
-
2710
|
Apply
|
java.lang.Boolean.booleanValue
|
|
x$1.booleanValue()
|
|
59
|
47504
|
2672
-
2711
|
Apply
|
scala.Option.forall
|
|
scala.Option.apply[Boolean](cached).forall(((x$1: Boolean) => x$1.booleanValue()))
|
|
59
|
47505
|
2633
-
2712
|
Apply
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.MinMaxVisitor.<init>
|
|
new org.locationtech.geomesa.process.analytic.MinMaxProcess.MinMaxVisitor(features, attribute, scala.Option.apply[Boolean](cached).forall(((x$1: Boolean) => x$1.booleanValue())))
|
|
60
|
47506
|
2717
-
2766
|
Apply
|
org.locationtech.geomesa.index.geotools.GeoMesaFeatureCollection.visit
|
|
org.locationtech.geomesa.index.geotools.GeoMesaFeatureCollection.visit(features, visitor, org.locationtech.geomesa.index.geotools.GeoMesaFeatureCollection.visit$default$3)
|
|
61
|
47507
|
2771
-
2796
|
Select
|
org.locationtech.geomesa.process.FeatureResult.results
|
|
visitor.getResult().results
|
|
75
|
47508
|
3197
-
3232
|
TypeApply
|
scala.Any.asInstanceOf
|
|
feature.asInstanceOf[org.geotools.api.feature.simple.SimpleFeature]
|
|
75
|
47509
|
3184
-
3233
|
Apply
|
org.locationtech.geomesa.utils.stats.Stat.observe
|
|
MinMaxVisitor.this.stat.observe(feature.asInstanceOf[org.geotools.api.feature.simple.SimpleFeature])
|
|
78
|
47510
|
3291
-
3309
|
Apply
|
java.lang.Object.!=
|
|
MinMaxVisitor.this.resultCalc.!=(null)
|
|
79
|
47511
|
3321
-
3331
|
Select
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.MinMaxVisitor.resultCalc
|
|
MinMaxVisitor.this.resultCalc
|
|
79
|
47512
|
3321
-
3331
|
Block
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.MinMaxVisitor.resultCalc
|
|
MinMaxVisitor.this.resultCalc
|
|
81
|
47513
|
3368
-
3379
|
Select
|
org.locationtech.geomesa.utils.stats.Stat.toJson
|
|
MinMaxVisitor.this.stat.toJson
|
|
81
|
47514
|
3355
-
3380
|
Apply
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.createResult
|
|
MinMaxProcess.this.createResult(MinMaxVisitor.this.stat.toJson)
|
|
81
|
47515
|
3355
-
3380
|
Block
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.createResult
|
|
MinMaxProcess.this.createResult(MinMaxVisitor.this.stat.toJson)
|
|
88
|
47516
|
3578
-
3597
|
Apply
|
org.geotools.api.data.FeatureSource.getDataStore
|
|
source.getDataStore()
|
|
90
|
47517
|
3689
-
3705
|
Apply
|
org.geotools.api.data.FeatureSource.getSchema
|
|
source.getSchema()
|
|
90
|
47518
|
3707
-
3716
|
Select
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.MinMaxVisitor.attribute
|
|
MinMaxVisitor.this.attribute
|
|
90
|
47519
|
3718
-
3733
|
Apply
|
org.geotools.api.data.Query.getFilter
|
|
query.getFilter()
|
|
90
|
47520
|
3735
-
3742
|
Select
|
scala.Boolean.unary_!
|
|
MinMaxVisitor.this.cached.unary_!
|
|
90
|
47521
|
3665
-
3743
|
Apply
|
org.locationtech.geomesa.index.stats.GeoMesaStats.getMinMax
|
|
ds.stats.getMinMax[Any](source.getSchema(), MinMaxVisitor.this.attribute, query.getFilter(), MinMaxVisitor.this.cached.unary_!)
|
|
90
|
47527
|
3652
-
3864
|
Apply
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.MinMaxVisitor.resultCalc_=
|
|
MinMaxVisitor.this.resultCalc_=(ds.stats.getMinMax[Any](source.getSchema(), MinMaxVisitor.this.attribute, query.getFilter(), MinMaxVisitor.this.cached.unary_!) match {
case scala.None => MinMaxProcess.this.createResult("{}")
case (value: org.locationtech.geomesa.utils.stats.MinMax[Any])Some[org.locationtech.geomesa.utils.stats.MinMax[Any]]((mm @ _)) => MinMaxProcess.this.createResult(mm.toJson)
})
|
|
90
|
47528
|
3652
-
3864
|
Block
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.MinMaxVisitor.resultCalc_=
|
|
MinMaxVisitor.this.resultCalc_=(ds.stats.getMinMax[Any](source.getSchema(), MinMaxVisitor.this.attribute, query.getFilter(), MinMaxVisitor.this.cached.unary_!) match {
case scala.None => MinMaxProcess.this.createResult("{}")
case (value: org.locationtech.geomesa.utils.stats.MinMax[Any])Some[org.locationtech.geomesa.utils.stats.MinMax[Any]]((mm @ _)) => MinMaxProcess.this.createResult(mm.toJson)
})
|
|
91
|
47522
|
3781
-
3799
|
Apply
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.createResult
|
|
MinMaxProcess.this.createResult("{}")
|
|
91
|
47523
|
3781
-
3799
|
Block
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.createResult
|
|
MinMaxProcess.this.createResult("{}")
|
|
92
|
47524
|
3842
-
3851
|
Select
|
org.locationtech.geomesa.utils.stats.Stat.toJson
|
|
mm.toJson
|
|
92
|
47525
|
3829
-
3852
|
Apply
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.createResult
|
|
MinMaxProcess.this.createResult(mm.toJson)
|
|
92
|
47526
|
3829
-
3852
|
Block
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.createResult
|
|
MinMaxProcess.this.createResult(mm.toJson)
|
|
95
|
47532
|
3882
-
4034
|
Block
|
<nosymbol>
|
|
{
(if (MinMaxVisitor.this.logger.underlying.isWarnEnabled())
MinMaxVisitor.this.logger.underlying.warn("Running unoptimized min/max query on {}", (ds.getClass().getName(): AnyRef))
else
(): Unit);
org.locationtech.geomesa.utils.collection.SelfClosingIterator.apply(MinMaxVisitor.this.features.features()).foreach[Unit]({
((feature: org.geotools.api.feature.Feature) => MinMaxVisitor.this.visit(feature))
})
}
|
|
97
|
47529
|
4001
-
4018
|
Apply
|
org.geotools.data.simple.SimpleFeatureCollection.features
|
|
MinMaxVisitor.this.features.features()
|
|
97
|
47530
|
4028
-
4033
|
Apply
|
org.locationtech.geomesa.process.analytic.MinMaxProcess.MinMaxVisitor.visit
|
|
MinMaxVisitor.this.visit(feature)
|
|
97
|
47531
|
3981
-
4034
|
Apply
|
scala.collection.Iterator.foreach
|
|
org.locationtech.geomesa.utils.collection.SelfClosingIterator.apply(MinMaxVisitor.this.features.features()).foreach[Unit]({
((feature: org.geotools.api.feature.Feature) => MinMaxVisitor.this.visit(feature))
})
|
|
103
|
47533
|
4150
-
4168
|
Select
|
org.locationtech.geomesa.index.iterators.StatsScan.StatsSft
|
|
org.locationtech.geomesa.index.iterators.StatsScan.StatsSft
|
|
103
|
47534
|
4170
-
4172
|
Literal
|
<nosymbol>
|
|
""
|
|
103
|
47535
|
4186
-
4209
|
Select
|
org.locationtech.geomesa.utils.geotools.GeometryUtils.zeroPoint
|
|
org.locationtech.geomesa.utils.geotools.GeometryUtils.zeroPoint
|
|
103
|
47536
|
4174
-
4210
|
ApplyToImplicitArgs
|
scala.Array.apply
|
|
scala.Array.apply[AnyRef](stat, org.locationtech.geomesa.utils.geotools.GeometryUtils.zeroPoint)((ClassTag.AnyRef: scala.reflect.ClassTag[AnyRef]))
|
|
103
|
47537
|
4127
-
4211
|
Apply
|
org.locationtech.geomesa.features.ScalaSimpleFeature.<init>
|
|
new org.locationtech.geomesa.features.ScalaSimpleFeature(org.locationtech.geomesa.index.iterators.StatsScan.StatsSft, "", scala.Array.apply[AnyRef](stat, org.locationtech.geomesa.utils.geotools.GeometryUtils.zeroPoint)((ClassTag.AnyRef: scala.reflect.ClassTag[AnyRef])), features.this.ScalaSimpleFeature.<init>$default$4)
|
|
104
|
47538
|
4256
-
4274
|
Select
|
org.locationtech.geomesa.index.iterators.StatsScan.StatsSft
|
|
org.locationtech.geomesa.index.iterators.StatsScan.StatsSft
|
|
104
|
47539
|
4230
-
4279
|
Apply
|
org.geotools.data.collection.ListFeatureCollection.<init>
|
|
new org.geotools.data.collection.ListFeatureCollection(org.locationtech.geomesa.index.iterators.StatsScan.StatsSft, sf)
|
|
104
|
47540
|
4216
-
4280
|
Apply
|
org.locationtech.geomesa.process.FeatureResult.apply
|
|
org.locationtech.geomesa.process.FeatureResult.apply(new org.geotools.data.collection.ListFeatureCollection(org.locationtech.geomesa.index.iterators.StatsScan.StatsSft, sf))
|