-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Forrest Feaser
committed
Dec 13, 2024
1 parent
3c77df2
commit a530c4c
Showing
19 changed files
with
103 additions
and
113 deletions.
There are no files selected for viewing
40 changes: 0 additions & 40 deletions
40
...api/src/main/scala/org/locationtech/geomesa/fs/storage/api/PathFilterFactoryFactory.scala
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ources/META-INF/services/org.locationtech.geomesa.fs.storage.api.PathFilterFactoryFactory
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...NF/services/org.locationtech.geomesa.fs.storage.converter.pathfilter.PathFilteringFactory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.locationtech.geomesa.fs.storage.converter.pathfilter.DtgPathFiltering$DtgPathFilteringFactory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...scala/org/locationtech/geomesa/fs/storage/converter/pathfilter/PathFilteringFactory.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/*********************************************************************** | ||
* Copyright (c) 2013-2024 Commonwealth Computer Research, Inc. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Apache License, Version 2.0 | ||
* which accompanies this distribution and is available at | ||
* http://www.opensource.org/licenses/apache2.0.php. | ||
***********************************************************************/ | ||
|
||
package org.locationtech.geomesa.fs.storage.converter.pathfilter | ||
|
||
import org.locationtech.geomesa.fs.storage.api.NamedOptions | ||
|
||
import java.util.ServiceLoader | ||
|
||
trait PathFilteringFactory { | ||
def load(config: NamedOptions): Option[PathFiltering] | ||
} | ||
|
||
object PathFilteringFactory { | ||
|
||
import scala.collection.JavaConverters._ | ||
|
||
private lazy val factories = ServiceLoader.load(classOf[PathFilteringFactory]).asScala.toSeq | ||
|
||
def load(config: NamedOptions): Option[PathFiltering] = factories.toStream.flatMap(_.load(config)).headOption | ||
} |
2 changes: 1 addition & 1 deletion
2
...torage-convert/src/test/resources/example-convert-test-2/2024/12/12/data-202412120100.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ID,Name,Age,Dtg,Lon,Dat | ||
8,Dean,17,2024-12-11T23:50:00.000Z,0.0,0.0 | ||
9,Minerva,17,2024-12-12T00:30:00.000Z,0.0,0.0 | ||
9,Minerva,57,2024-12-12T00:30:00.000Z,0.0,0.0 |
2 changes: 1 addition & 1 deletion
2
...torage-convert/src/test/resources/example-convert-test-2/2024/12/12/data-202412120600.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
ID,Name,Age,Dtg,Lon,Dat | ||
10,Luna,17,2024-12-12T03:00:00.000Z,0.0,0.0 | ||
11,Dudley,17,2024-12-12T05:00:00.000Z,0.0,0.0 | ||
11,Dudley,19,2024-12-12T05:00:00.000Z,0.0,0.0 |
Oops, something went wrong.