| Line |
Stmt Id |
Pos |
Tree |
Symbol |
Tests |
Code |
|
25
|
180
|
1158
-
1182
|
Apply
|
org.locationtech.geomesa.jobs.mapreduce.AvroFileRecordReader.<init>
|
|
new AvroFileRecordReader()
|
|
30
|
181
|
1251
-
1293
|
Literal
|
<nosymbol>
|
|
"org.locationtech.geomesa.jobs.input.avro"
|
|
31
|
182
|
1310
-
1316
|
Literal
|
<nosymbol>
|
|
"read"
|
|
35
|
183
|
1405
-
1438
|
Select
|
org.locationtech.geomesa.jobs.mapreduce.FileStreamInputFormat.TypeNameKey
|
|
FileStreamInputFormat.TypeNameKey
|
|
35
|
184
|
1380
-
1449
|
Apply
|
org.apache.hadoop.conf.Configuration.set
|
|
job.getConfiguration().set(FileStreamInputFormat.TypeNameKey, typeName)
|
|
45
|
185
|
1815
-
1848
|
Select
|
org.locationtech.geomesa.jobs.mapreduce.FileStreamInputFormat.TypeNameKey
|
|
FileStreamInputFormat.TypeNameKey
|
|
45
|
186
|
1786
-
1849
|
Apply
|
org.apache.hadoop.conf.Configuration.get
|
|
context.getConfiguration().get(FileStreamInputFormat.TypeNameKey)
|
|
46
|
187
|
1867
-
1897
|
Apply
|
org.locationtech.geomesa.features.avro.io.AvroDataFileReader.<init>
|
|
new org.locationtech.geomesa.features.avro.io.AvroDataFileReader(stream)
|
|
47
|
188
|
1916
-
1929
|
Select
|
org.locationtech.geomesa.features.avro.io.AvroDataFileReader.getSft
|
|
reader.getSft
|
|
48
|
189
|
1967
-
1981
|
Select
|
org.locationtech.geomesa.jobs.mapreduce.AvroFileInputFormat.Counters.Group
|
|
AvroFileInputFormat.Counters.Group
|
|
48
|
190
|
1983
-
1996
|
Select
|
org.locationtech.geomesa.jobs.mapreduce.AvroFileInputFormat.Counters.Read
|
|
AvroFileInputFormat.Counters.Read
|
|
48
|
191
|
1948
-
1997
|
Apply
|
org.apache.hadoop.mapreduce.TaskAttemptContext.getCounter
|
|
context.getCounter(AvroFileInputFormat.Counters.Group, AvroFileInputFormat.Counters.Read)
|
|
50
|
192
|
2019
-
2023
|
Literal
|
<nosymbol>
|
|
null
|
|
50
|
193
|
2027
-
2058
|
Apply
|
java.lang.Object.==
|
|
dataSft.getTypeName().==(typeName)
|
|
50
|
194
|
2007
-
2058
|
Apply
|
scala.Boolean.||
|
|
typeName.==(null).||(dataSft.getTypeName().==(typeName))
|
|
51
|
199
|
2068
-
2071
|
Apply
|
org.locationtech.geomesa.jobs.mapreduce.AvroFileRecordReader.$anon.<init>
|
|
new $anon()
|
|
51
|
200
|
2068
-
2339
|
Block
|
<nosymbol>
|
|
{
final class $anon extends AnyRef with Iterator[org.geotools.api.feature.simple.SimpleFeature] with java.io.Closeable {
def <init>(): <$anon: Iterator[org.geotools.api.feature.simple.SimpleFeature] with java.io.Closeable> = {
$anon.super.<init>();
()
};
override def hasNext: Boolean = reader.hasNext;
override def next(): org.geotools.api.feature.simple.SimpleFeature = {
counter.increment(1L);
reader.next()
};
override def close(): Unit = reader.close()
};
new $anon()
}
|
|
52
|
195
|
2153
-
2167
|
Select
|
org.locationtech.geomesa.features.avro.io.AvroDataFileReader.hasNext
|
|
reader.hasNext
|
|
54
|
196
|
2225
-
2245
|
Apply
|
org.apache.hadoop.mapreduce.Counter.increment
|
|
counter.increment(1L)
|
|
55
|
197
|
2256
-
2269
|
Apply
|
org.locationtech.geomesa.features.avro.io.AvroDataFileReader.next
|
|
reader.next()
|
|
57
|
198
|
2317
-
2331
|
Apply
|
org.locationtech.geomesa.features.avro.io.AvroDataFileReader.close
|
|
reader.close()
|
|
59
|
210
|
2351
-
2783
|
Block
|
<nosymbol>
|
|
{
val sft: org.geotools.api.feature.simple.SimpleFeatureType = org.locationtech.geomesa.utils.geotools.SimpleFeatureTypes.renameSft(dataSft, typeName);
{
final class $anon extends AnyRef with Iterator[org.geotools.api.feature.simple.SimpleFeature] with java.io.Closeable {
def <init>(): <$anon: Iterator[org.geotools.api.feature.simple.SimpleFeature] with java.io.Closeable> = {
$anon.super.<init>();
()
};
override def hasNext: Boolean = reader.hasNext;
override def next(): org.geotools.api.feature.simple.SimpleFeature = {
val sf: org.geotools.api.feature.simple.SimpleFeature = reader.next();
counter.increment(1L);
new org.locationtech.geomesa.features.ScalaSimpleFeature(sft, sf.getID(), sf.getAttributes().toArray(), features.this.ScalaSimpleFeature.<init>$default$4)
};
override def close(): Unit = reader.close()
};
new $anon()
}
}
|
|
60
|
201
|
2369
-
2416
|
Apply
|
org.locationtech.geomesa.utils.geotools.SimpleFeatureTypes.renameSft
|
|
org.locationtech.geomesa.utils.geotools.SimpleFeatureTypes.renameSft(dataSft, typeName)
|
|
61
|
209
|
2423
-
2426
|
Apply
|
org.locationtech.geomesa.jobs.mapreduce.AvroFileRecordReader.$anon.<init>
|
|
new $anon()
|
|
62
|
202
|
2508
-
2522
|
Select
|
org.locationtech.geomesa.features.avro.io.AvroDataFileReader.hasNext
|
|
reader.hasNext
|
|
64
|
203
|
2589
-
2602
|
Apply
|
org.locationtech.geomesa.features.avro.io.AvroDataFileReader.next
|
|
reader.next()
|
|
65
|
204
|
2613
-
2633
|
Apply
|
org.apache.hadoop.mapreduce.Counter.increment
|
|
counter.increment(1L)
|
|
66
|
205
|
2672
-
2680
|
Apply
|
org.geotools.api.feature.simple.SimpleFeature.getID
|
|
sf.getID()
|
|
66
|
206
|
2682
-
2706
|
Apply
|
java.util.List.toArray
|
|
sf.getAttributes().toArray()
|
|
66
|
207
|
2644
-
2707
|
Apply
|
org.locationtech.geomesa.features.ScalaSimpleFeature.<init>
|
|
new org.locationtech.geomesa.features.ScalaSimpleFeature(sft, sf.getID(), sf.getAttributes().toArray(), features.this.ScalaSimpleFeature.<init>$default$4)
|
|
68
|
208
|
2755
-
2769
|
Apply
|
org.locationtech.geomesa.features.avro.io.AvroDataFileReader.close
|
|
reader.close()
|