| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
31
|
223
|
1151
-
1152
|
Literal
|
<nosymbol>
|
|
0L
|
|
88
|
224
|
2351
-
2366
|
Literal
|
<nosymbol>
|
|
"inputFilePath"
|
|
96
|
225
|
2500
-
2522
|
Select
|
org.locationtech.geomesa.convert2.metrics.ConverterMetrics.empty
|
|
org.locationtech.geomesa.convert2.metrics.ConverterMetrics.empty
|
|
97
|
226
|
2541
-
2567
|
Apply
|
org.locationtech.geomesa.convert2.metrics.ConverterMetrics.counter
|
|
metrics.counter("success")
|
|
98
|
227
|
2587
-
2613
|
Apply
|
org.locationtech.geomesa.convert2.metrics.ConverterMetrics.counter
|
|
metrics.counter("failure")
|
|
99
|
228
|
2648
-
2659
|
ApplyToImplicitArgs
|
scala.Array.empty
|
|
scala.Array.empty[org.locationtech.geomesa.convert2.Field]((ClassTag.apply[org.locationtech.geomesa.convert2.Field](classOf[org.locationtech.geomesa.convert2.package$$Field]): scala.reflect.ClassTag[org.locationtech.geomesa.convert2.Field]))
|
|
99
|
229
|
2661
-
2670
|
TypeApply
|
scala.collection.immutable.Map.empty
|
|
scala.Predef.Map.empty[String, Nothing]
|
|
99
|
230
|
2672
-
2681
|
TypeApply
|
scala.collection.immutable.Map.empty
|
|
scala.Predef.Map.empty[String, Nothing]
|
|
99
|
231
|
2618
-
2710
|
Apply
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.<init>
|
|
new EvaluationContext.this.StatefulEvaluationContext(scala.Array.empty[org.locationtech.geomesa.convert2.Field]((ClassTag.apply[org.locationtech.geomesa.convert2.Field](classOf[org.locationtech.geomesa.convert2.package$$Field]): scala.reflect.ClassTag[org.locationtech.geomesa.convert2.Field])), scala.Predef.Map.empty[String, Nothing], scala.Predef.Map.empty[String, Nothing], metrics, success, failures, EvaluationContext.this.StatefulEvaluationContext.<init>$default$7)
|
|
120
|
232
|
3317
-
3331
|
ApplyToImplicitArgs
|
scala.collection.TraversableOnce.toArray
|
|
fields.toArray[org.locationtech.geomesa.convert2.Field]((ClassTag.apply[org.locationtech.geomesa.convert2.Field](classOf[org.locationtech.geomesa.convert2.package$$Field]): scala.reflect.ClassTag[org.locationtech.geomesa.convert2.Field]))
|
|
120
|
233
|
3287
-
3381
|
Apply
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.<init>
|
|
new EvaluationContext.this.StatefulEvaluationContext(fields.toArray[org.locationtech.geomesa.convert2.Field]((ClassTag.apply[org.locationtech.geomesa.convert2.Field](classOf[org.locationtech.geomesa.convert2.package$$Field]): scala.reflect.ClassTag[org.locationtech.geomesa.convert2.Field])), globalValues, caches, metrics, success, failure, EvaluationContext.this.StatefulEvaluationContext.<init>$default$7)
|
|
129
|
234
|
3581
-
3605
|
Apply
|
scala.Predef.ArrowAssoc.->
|
|
scala.Predef.ArrowAssoc[String](EvaluationContext.this.InputFilePathKey).->[String](file)
|
|
129
|
235
|
3577
-
3606
|
Apply
|
scala.collection.generic.GenMapFactory.apply
|
|
scala.Predef.Map.apply[String, String](scala.Predef.ArrowAssoc[String](EvaluationContext.this.InputFilePathKey).->[String](file))
|
|
139
|
236
|
3829
-
3833
|
Literal
|
<nosymbol>
|
|
null
|
|
143
|
237
|
3963
-
3964
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.FieldValueAccessor.i
|
|
FieldValueAccessor.this.i
|
|
143
|
238
|
3956
-
3965
|
Apply
|
scala.Array.apply
|
|
FieldValueAccessor.this.values.apply(FieldValueAccessor.this.i)
|
|
147
|
239
|
4073
-
4078
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.GlobalFieldAccessor.value
|
|
GlobalFieldAccessor.this.value
|
|
183
|
240
|
5025
-
5041
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.InputFilePathKey
|
|
EvaluationContext.this.InputFilePathKey
|
|
183
|
241
|
5013
-
5071
|
TypeApply
|
scala.Any.asInstanceOf
|
|
RichEvaluationContext.this.ec.accessor(EvaluationContext.this.InputFilePathKey).apply().asInstanceOf[String]
|
|
183
|
242
|
5006
-
5072
|
Apply
|
scala.Option.apply
|
|
scala.Option.apply[String](RichEvaluationContext.this.ec.accessor(EvaluationContext.this.InputFilePathKey).apply().asInstanceOf[String])
|
|
205
|
243
|
5806
-
5819
|
Select
|
scala.Array.length
|
|
StatefulEvaluationContext.this.fields.length
|
|
205
|
244
|
5786
-
5820
|
ApplyToImplicitArgs
|
scala.Array.ofDim
|
|
scala.Array.ofDim[AnyRef](StatefulEvaluationContext.this.fields.length)((ClassTag.AnyRef: scala.reflect.ClassTag[AnyRef]))
|
|
207
|
245
|
5926
-
5927
|
Literal
|
<nosymbol>
|
|
1
|
|
207
|
246
|
5906
-
5928
|
ApplyToImplicitArgs
|
scala.Array.ofDim
|
|
scala.Array.ofDim[AnyRef](1)((ClassTag.AnyRef: scala.reflect.ClassTag[AnyRef]))
|
|
210
|
247
|
6115
-
6121
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.fields
|
|
StatefulEvaluationContext.this.fields
|
|
210
|
248
|
6143
-
6162
|
Apply
|
org.locationtech.geomesa.convert.EvaluationContext.ContextDependent.withContext
|
|
x$2.withContext(this)
|
|
210
|
249
|
6126
-
6163
|
Apply
|
scala.Option.map
|
|
x$1.transforms.map[org.locationtech.geomesa.convert2.transforms.Expression](((x$2: org.locationtech.geomesa.convert2.transforms.Expression) => x$2.withContext(this)))
|
|
210
|
250
|
6125
-
6125
|
ApplyToImplicitArgs
|
scala.Array.canBuildFrom
|
|
scala.this.Array.canBuildFrom[Option[org.locationtech.geomesa.convert2.transforms.Expression]]((ClassTag.apply[Option[org.locationtech.geomesa.convert2.transforms.Expression]](classOf[scala.Option]): scala.reflect.ClassTag[Option[org.locationtech.geomesa.convert2.transforms.Expression]]))
|
|
210
|
251
|
6115
-
6164
|
ApplyToImplicitArgs
|
scala.collection.TraversableLike.map
|
|
scala.Predef.refArrayOps[org.locationtech.geomesa.convert2.Field](StatefulEvaluationContext.this.fields).map[Option[org.locationtech.geomesa.convert2.transforms.Expression], Array[Option[org.locationtech.geomesa.convert2.transforms.Expression]]](((x$1: org.locationtech.geomesa.convert2.Field) => x$1.transforms.map[org.locationtech.geomesa.convert2.transforms.Expression](((x$2: org.locationtech.geomesa.convert2.transforms.Expression) => x$2.withContext(this)))))(scala.this.Array.canBuildFrom[Option[org.locationtech.geomesa.convert2.transforms.Expression]]((ClassTag.apply[Option[org.locationtech.geomesa.convert2.transforms.Expression]](classOf[scala.Option]): scala.reflect.ClassTag[Option[org.locationtech.geomesa.convert2.transforms.Expression]])))
|
|
213
|
252
|
6239
-
6245
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.fields
|
|
StatefulEvaluationContext.this.fields
|
|
213
|
253
|
6257
-
6271
|
Apply
|
java.lang.Object.==
|
|
x$3.name.==(name)
|
|
213
|
254
|
6239
-
6272
|
Apply
|
scala.collection.GenSeqLike.indexWhere
|
|
scala.Predef.refArrayOps[org.locationtech.geomesa.convert2.Field](StatefulEvaluationContext.this.fields).indexWhere(((x$3: org.locationtech.geomesa.convert2.Field) => x$3.name.==(name)))
|
|
214
|
255
|
6283
-
6289
|
Apply
|
scala.Int.>=
|
|
i.>=(0)
|
|
214
|
256
|
6316
-
6322
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.values
|
|
StatefulEvaluationContext.this.values
|
|
214
|
257
|
6293
-
6326
|
Apply
|
org.locationtech.geomesa.convert.EvaluationContext.FieldValueAccessor.<init>
|
|
new EvaluationContext.this.FieldValueAccessor(StatefulEvaluationContext.this.values, i)
|
|
214
|
258
|
6293
-
6326
|
Block
|
org.locationtech.geomesa.convert.EvaluationContext.FieldValueAccessor.<init>
|
|
new EvaluationContext.this.FieldValueAccessor(StatefulEvaluationContext.this.values, i)
|
|
215
|
259
|
6344
-
6366
|
Apply
|
scala.collection.MapLike.get
|
|
StatefulEvaluationContext.this.globalValues.get(name)
|
|
215
|
264
|
6344
-
6486
|
Match
|
<nosymbol>
|
|
StatefulEvaluationContext.this.globalValues.get(name) match {
case (value: AnyRef)Some[AnyRef]((value @ _)) => new EvaluationContext.this.GlobalFieldAccessor(value)
case scala.None => EvaluationContext.this.NullFieldAccessor
}
|
|
216
|
260
|
6405
-
6435
|
Apply
|
org.locationtech.geomesa.convert.EvaluationContext.GlobalFieldAccessor.<init>
|
|
new EvaluationContext.this.GlobalFieldAccessor(value)
|
|
216
|
261
|
6405
-
6435
|
Block
|
org.locationtech.geomesa.convert.EvaluationContext.GlobalFieldAccessor.<init>
|
|
new EvaluationContext.this.GlobalFieldAccessor(value)
|
|
217
|
262
|
6459
-
6476
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.NullFieldAccessor
|
|
EvaluationContext.this.NullFieldAccessor
|
|
217
|
263
|
6459
-
6476
|
Block
|
org.locationtech.geomesa.convert.EvaluationContext.NullFieldAccessor
|
|
EvaluationContext.this.NullFieldAccessor
|
|
223
|
265
|
6607
-
6608
|
Literal
|
<nosymbol>
|
|
0
|
|
225
|
266
|
6707
-
6720
|
Select
|
scala.Array.length
|
|
StatefulEvaluationContext.this.values.length
|
|
225
|
267
|
6703
-
6720
|
Apply
|
scala.Int.<
|
|
i.<(StatefulEvaluationContext.this.values.length)
|
|
225
|
288
|
6722
-
6722
|
Apply
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.while$1
|
|
while$1()
|
|
225
|
289
|
6722
-
7181
|
Block
|
<nosymbol>
|
|
{
{
StatefulEvaluationContext.this.values.update(i, try {
val fieldArgs: Array[AnyRef] = StatefulEvaluationContext.this.fields.apply(i).fieldArg match {
case scala.None => args
case (value: Array[AnyRef] => AnyRef)Some[Array[AnyRef] => AnyRef]((f @ _)) => {
StatefulEvaluationContext.this.fieldArray.update(0, f.apply(args));
StatefulEvaluationContext.this.fieldArray
}
};
StatefulEvaluationContext.this.transforms.apply(i) match {
case (value: org.locationtech.geomesa.convert2.transforms.Expression)Some[org.locationtech.geomesa.convert2.transforms.Expression]((t @ _)) => t.apply(fieldArgs)
case scala.None => fieldArgs.apply(0)
}
} catch {
case scala.util.control.NonFatal.unapply(<unapply-selector>) <unapply> ((e @ _)) => return scala.`package`.Left.apply[org.locationtech.geomesa.convert.EvaluationContext.EvaluationError, Nothing](EvaluationContext.this.EvaluationError.apply(StatefulEvaluationContext.this.fields.apply(i).name, StatefulEvaluationContext.this.line, e))
});
i = i.+(1)
};
while$1()
}
|
|
225
|
290
|
6696
-
6696
|
Literal
|
<nosymbol>
|
|
()
|
|
225
|
291
|
6696
-
6696
|
Block
|
<nosymbol>
|
|
()
|
|
226
|
280
|
6760
-
7046
|
Block
|
<nosymbol>
|
|
{
val fieldArgs: Array[AnyRef] = StatefulEvaluationContext.this.fields.apply(i).fieldArg match {
case scala.None => args
case (value: Array[AnyRef] => AnyRef)Some[Array[AnyRef] => AnyRef]((f @ _)) => {
StatefulEvaluationContext.this.fieldArray.update(0, f.apply(args));
StatefulEvaluationContext.this.fieldArray
}
};
StatefulEvaluationContext.this.transforms.apply(i) match {
case (value: org.locationtech.geomesa.convert2.transforms.Expression)Some[org.locationtech.geomesa.convert2.transforms.Expression]((t @ _)) => t.apply(fieldArgs)
case scala.None => fieldArgs.apply(0)
}
}
|
|
226
|
286
|
6732
-
7158
|
Apply
|
scala.Array.update
|
|
StatefulEvaluationContext.this.values.update(i, try {
val fieldArgs: Array[AnyRef] = StatefulEvaluationContext.this.fields.apply(i).fieldArg match {
case scala.None => args
case (value: Array[AnyRef] => AnyRef)Some[Array[AnyRef] => AnyRef]((f @ _)) => {
StatefulEvaluationContext.this.fieldArray.update(0, f.apply(args));
StatefulEvaluationContext.this.fieldArray
}
};
StatefulEvaluationContext.this.transforms.apply(i) match {
case (value: org.locationtech.geomesa.convert2.transforms.Expression)Some[org.locationtech.geomesa.convert2.transforms.Expression]((t @ _)) => t.apply(fieldArgs)
case scala.None => fieldArgs.apply(0)
}
} catch {
case scala.util.control.NonFatal.unapply(<unapply-selector>) <unapply> ((e @ _)) => return scala.`package`.Left.apply[org.locationtech.geomesa.convert.EvaluationContext.EvaluationError, Nothing](EvaluationContext.this.EvaluationError.apply(StatefulEvaluationContext.this.fields.apply(i).name, StatefulEvaluationContext.this.line, e))
})
|
|
227
|
268
|
6776
-
6794
|
Select
|
org.locationtech.geomesa.convert2.Field.fieldArg
|
|
StatefulEvaluationContext.this.fields.apply(i).fieldArg
|
|
228
|
269
|
6828
-
6832
|
Ident
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.args
|
|
args
|
|
229
|
270
|
6872
-
6873
|
Literal
|
<nosymbol>
|
|
0
|
|
229
|
271
|
6877
-
6890
|
Apply
|
scala.Function1.apply
|
|
f.apply(args)
|
|
229
|
272
|
6861
-
6890
|
Apply
|
scala.Array.update
|
|
StatefulEvaluationContext.this.fieldArray.update(0, f.apply(args))
|
|
229
|
273
|
6892
-
6902
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.fieldArray
|
|
StatefulEvaluationContext.this.fieldArray
|
|
229
|
274
|
6858
-
6902
|
Block
|
<nosymbol>
|
|
{
StatefulEvaluationContext.this.fieldArray.update(0, f.apply(args));
StatefulEvaluationContext.this.fieldArray
}
|
|
231
|
275
|
6925
-
6938
|
Apply
|
scala.Array.apply
|
|
StatefulEvaluationContext.this.transforms.apply(i)
|
|
232
|
276
|
6975
-
6993
|
Apply
|
org.locationtech.geomesa.convert2.transforms.Expression.apply
|
|
t.apply(fieldArgs)
|
|
232
|
277
|
6975
-
6993
|
Block
|
org.locationtech.geomesa.convert2.transforms.Expression.apply
|
|
t.apply(fieldArgs)
|
|
233
|
278
|
7022
-
7034
|
Apply
|
scala.Array.apply
|
|
fieldArgs.apply(0)
|
|
233
|
279
|
7022
-
7034
|
Block
|
scala.Array.apply
|
|
fieldArgs.apply(0)
|
|
236
|
281
|
7123
-
7137
|
Select
|
org.locationtech.geomesa.convert2.Field.name
|
|
StatefulEvaluationContext.this.fields.apply(i).name
|
|
236
|
282
|
7139
-
7143
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.line
|
|
StatefulEvaluationContext.this.line
|
|
236
|
283
|
7107
-
7147
|
Apply
|
org.locationtech.geomesa.convert.EvaluationContext.EvaluationError.apply
|
|
EvaluationContext.this.EvaluationError.apply(StatefulEvaluationContext.this.fields.apply(i).name, StatefulEvaluationContext.this.line, e)
|
|
236
|
284
|
7102
-
7148
|
Apply
|
scala.util.Left.apply
|
|
scala.`package`.Left.apply[org.locationtech.geomesa.convert.EvaluationContext.EvaluationError, Nothing](EvaluationContext.this.EvaluationError.apply(StatefulEvaluationContext.this.fields.apply(i).name, StatefulEvaluationContext.this.line, e))
|
|
236
|
285
|
7095
-
7148
|
Return
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.evaluate
|
|
return scala.`package`.Left.apply[org.locationtech.geomesa.convert.EvaluationContext.EvaluationError, Nothing](EvaluationContext.this.EvaluationError.apply(StatefulEvaluationContext.this.fields.apply(i).name, StatefulEvaluationContext.this.line, e))
|
|
238
|
287
|
7167
-
7173
|
Apply
|
scala.Int.+
|
|
i.+(1)
|
|
240
|
292
|
7194
-
7200
|
Select
|
org.locationtech.geomesa.convert.EvaluationContext.StatefulEvaluationContext.values
|
|
StatefulEvaluationContext.this.values
|
|
240
|
293
|
7188
-
7201
|
Apply
|
scala.util.Right.apply
|
|
scala.`package`.Right.apply[Nothing, Array[AnyRef]](StatefulEvaluationContext.this.values)
|