Conversation
# Conflicts: # analytics/javaspark/src/main/java/mil/nga/giat/geowave/analytic/javaspark/GeoWaveRDD.java # analytics/javaspark/src/main/resources/META-INF/services/mil.nga.giat.geowave.core.cli.spi.CLIOperationProviderSpi # extensions/adapters/vector/src/main/java/mil/nga/giat/geowave/adapter/vector/util/FeatureDataUtils.java # extensions/adapters/vector/src/main/java/mil/nga/giat/geowave/adapter/vector/utils/DateUtilities.java # extensions/adapters/vector/src/main/java/mil/nga/giat/geowave/adapter/vector/utils/GeometryUtils.java # pom.xml # test/src/test/java/mil/nga/giat/geowave/test/javaspark/GeoWaveJavaSparkIT.java # test/src/test/java/mil/nga/giat/geowave/test/javaspark/GeoWaveJavaSparkKMeansIT.java
rfecher
reviewed
Aug 3, 2017
| import javax.measure.unit.Unit; | ||
|
|
||
| import mil.nga.giat.geowave.adapter.vector.plugin.GeoWaveGTDataStore; | ||
| import mil.nga.giat.geowave.adapter.vector.stats.FeatureBoundingBoxStatistics; |
rfecher
reviewed
Aug 3, 2017
| } | ||
|
|
||
| public static String getFirstTimeField( | ||
| final DataStorePluginOptions dataStore, |
rfecher
reviewed
Aug 3, 2017
|
|
||
| public static ByteArrayId getFirstFeatureAdapter( | ||
| DataStorePluginOptions dataStore ) { | ||
| CloseableIterator<DataAdapter<?>> adapterIt = dataStore.createAdapterStore().getAdapters(); |
rfecher
reviewed
Aug 3, 2017
| private final static Logger LOGGER = LoggerFactory.getLogger(GeoWaveJavaSparkSQLIT.class); | ||
|
|
||
| @GeoWaveTestStore(value = { | ||
| // GeoWaveStoreType.ACCUMULO, |
rfecher
reviewed
Aug 3, 2017
| @@ -0,0 +1,3 @@ | |||
| {"name":"Michael"} | |||
rfecher
reviewed
Aug 3, 2017
| @@ -0,0 +1,6 @@ | |||
| 0.0 0.0 0.0 | |||
rfecher
reviewed
Aug 3, 2017
| @@ -0,0 +1,368 @@ | |||
| /* | |||
rfecher
reviewed
Aug 3, 2017
| package mil.nga.giat.geowave.analytic.javaspark.kmeans; | ||
|
|
||
| import org.apache.spark.SparkConf; | ||
| import org.apache.spark.api.java.JavaSparkContext; |
rfecher
reviewed
Aug 3, 2017
| @@ -0,0 +1,314 @@ | |||
| package mil.nga.giat.geowave.analytic.javaspark; | |||
|
|
|||
rfecher
reviewed
Aug 3, 2017
| UDF2<String, String, Boolean> | ||
| { | ||
| private final static Logger LOGGER = LoggerFactory.getLogger(GeomFunction.class); | ||
| protected GeomReader geomReader = new GeomReader(); |
Contributor
There was a problem hiding this comment.
this is why the reader must be serializable (I think marking this transient shouldn't require it to be serializable)
rfecher
reviewed
Aug 3, 2017
| private static Logger LOGGER = LoggerFactory.getLogger(SimpleFeatureDataFrame.class); | ||
|
|
||
| private final StructType schema; | ||
| private final GeomWriter geomWriter = new GeomWriter(); |
Contributor
There was a problem hiding this comment.
again, this is where its required to be serializable (we can consider marking it transient)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.