From 58d4b50787abd2ba1dc4a94e4803e581099e52de Mon Sep 17 00:00:00 2001 From: acezen Date: Tue, 7 May 2024 03:56:54 +0000 Subject: [PATCH 1/9] Move java and spark to the same dir Signed-off-by: acezen --- README.md | 8 ++++---- {java => maven-projects/java}/.gitignore | 0 {java => maven-projects/java}/CMakeLists.txt | 0 {java => maven-projects/java}/README.md | 0 {java => maven-projects/java}/build.xml | 0 {java => maven-projects/java}/cmake/graphar-cpp.cmake | 0 {java => maven-projects/java}/pom.xml | 0 .../ffi/jni_org_apache_graphar_arrow_ArrowTableStatic.cc | 0 .../main/java/org/apache/graphar/arrow/ArrowArray.java | 0 .../main/java/org/apache/graphar/arrow/ArrowResult.java | 0 .../main/java/org/apache/graphar/arrow/ArrowStatus.java | 0 .../main/java/org/apache/graphar/arrow/ArrowTable.java | 0 .../java/org/apache/graphar/arrow/StructArrowArray.java | 0 .../java/org/apache/graphar/arrow/StructArrowSchema.java | 0 .../main/java/org/apache/graphar/arrow/package-info.java | 0 .../src/main/java/org/apache/graphar/edges/Edge.java | 0 .../src/main/java/org/apache/graphar/edges/EdgeIter.java | 0 .../java/org/apache/graphar/edges/EdgesCollection.java | 0 .../main/java/org/apache/graphar/edges/package-info.java | 0 .../main/java/org/apache/graphar/graphinfo/EdgeInfo.java | 0 .../main/java/org/apache/graphar/graphinfo/GraphInfo.java | 0 .../main/java/org/apache/graphar/graphinfo/Property.java | 0 .../java/org/apache/graphar/graphinfo/PropertyGroup.java | 0 .../java/org/apache/graphar/graphinfo/VertexInfo.java | 0 .../java/org/apache/graphar/graphinfo/package-info.java | 0 .../readers/arrowchunk/AdjListArrowChunkReader.java | 0 .../readers/arrowchunk/AdjListOffsetArrowChunkReader.java | 0 .../arrowchunk/AdjListPropertyArrowChunkReader.java | 0 .../arrowchunk/VertexPropertyArrowChunkReader.java | 0 .../apache/graphar/readers/arrowchunk/package-info.java | 0 .../graphar/readers/chunkinfo/AdjListChunkInfoReader.java | 0 .../readers/chunkinfo/AdjListPropertyChunkInfoReader.java | 0 .../readers/chunkinfo/VertexPropertyChunkInfoReader.java | 0 .../apache/graphar/readers/chunkinfo/package-info.java | 0 .../src/main/java/org/apache/graphar/stdcxx/StdMap.java | 0 .../src/main/java/org/apache/graphar/stdcxx/StdPair.java | 0 .../main/java/org/apache/graphar/stdcxx/StdSharedPtr.java | 0 .../main/java/org/apache/graphar/stdcxx/StdString.java | 0 .../java/org/apache/graphar/stdcxx/StdUnorderedMap.java | 0 .../main/java/org/apache/graphar/stdcxx/StdVector.java | 0 .../main/java/org/apache/graphar/stdcxx/package-info.java | 0 .../main/java/org/apache/graphar/types/AdjListType.java | 0 .../src/main/java/org/apache/graphar/types/DataType.java | 0 .../src/main/java/org/apache/graphar/types/FileType.java | 0 .../src/main/java/org/apache/graphar/types/Type.java | 0 .../main/java/org/apache/graphar/types/ValidateLevel.java | 0 .../main/java/org/apache/graphar/types/package-info.java | 0 .../main/java/org/apache/graphar/util/CppClassName.java | 0 .../main/java/org/apache/graphar/util/CppHeaderName.java | 0 .../main/java/org/apache/graphar/util/GeneralParams.java | 0 .../org/apache/graphar/util/GrapharStaticFunctions.java | 0 .../main/java/org/apache/graphar/util/IndexConverter.java | 0 .../main/java/org/apache/graphar/util/InfoVersion.java | 0 .../main/java/org/apache/graphar/util/JNILibraryName.java | 0 .../src/main/java/org/apache/graphar/util/Result.java | 0 .../src/main/java/org/apache/graphar/util/Status.java | 0 .../src/main/java/org/apache/graphar/util/StatusCode.java | 0 .../java}/src/main/java/org/apache/graphar/util/Yaml.java | 0 .../main/java/org/apache/graphar/util/package-info.java | 0 .../src/main/java/org/apache/graphar/vertices/Vertex.java | 0 .../main/java/org/apache/graphar/vertices/VertexIter.java | 0 .../org/apache/graphar/vertices/VerticesCollection.java | 0 .../java/org/apache/graphar/vertices/package-info.java | 0 .../java/org/apache/graphar/writers/EdgeChunkWriter.java | 0 .../org/apache/graphar/writers/VertexPropertyWriter.java | 0 .../java/org/apache/graphar/writers/builder/Edge.java | 0 .../org/apache/graphar/writers/builder/EdgesBuilder.java | 0 .../java/org/apache/graphar/writers/builder/Vertex.java | 0 .../apache/graphar/writers/builder/VerticesBuilder.java | 0 .../org/apache/graphar/writers/builder/package-info.java | 0 .../java/org/apache/graphar/writers/package-info.java | 0 .../org/apache/graphar/edges/EdgesCollectionTest.java | 0 .../java/org/apache/graphar/graphinfo/EdgeInfoTest.java | 0 .../java/org/apache/graphar/graphinfo/GraphInfoTest.java | 0 .../java/org/apache/graphar/graphinfo/VertexInfoTest.java | 0 .../readers/arrowchunk/AdjListArrowChunkReaderTest.java | 0 .../arrowchunk/AdjListOffsetArrowChunkReaderTest.java | 0 .../arrowchunk/AdjListPropertyArrowChunkReaderTest.java | 0 .../arrowchunk/VertexPropertyArrowChunkReaderTest.java | 0 .../readers/chunkinfo/AdjListChunkInfoReaderTest.java | 0 .../chunkinfo/AdjListPropertyChunkInfoReaderTest.java | 0 .../chunkinfo/VertexPropertyChunkInfoReaderTest.java | 0 .../java/org/apache/graphar/util/InfoVersionTest.java | 0 .../apache/graphar/vertices/VerticesCollectionTest.java | 0 .../org/apache/graphar/writers/EdgeChunkWriterTest.java | 0 .../apache/graphar/writers/VertexPropertyWriterTest.java | 0 .../apache/graphar/writers/builder/EdgesBuilderTest.java | 0 .../graphar/writers/builder/VerticesBuilderTest.java | 0 pom.xml => maven-projects/pom.xml | 2 +- {spark => maven-projects/spark}/.gitignore | 0 {spark => maven-projects/spark}/.scalafix.conf | 0 {spark => maven-projects/spark}/.scalafmt.conf | 0 {spark => maven-projects/spark}/README.md | 0 .../spark}/datasources-32/.scalafmt.conf | 0 {spark => maven-projects/spark}/datasources-32/pom.xml | 0 .../src/main/java/org/apache/graphar/GeneralParams.java | 0 .../apache/graphar/datasources/GarCommitProtocol.scala | 0 .../org/apache/graphar/datasources/GarDataSource.scala | 0 .../scala/org/apache/graphar/datasources/GarScan.scala | 0 .../org/apache/graphar/datasources/GarScanBuilder.scala | 0 .../scala/org/apache/graphar/datasources/GarTable.scala | 0 .../org/apache/graphar/datasources/GarWriterBuilder.scala | 0 .../apache/graphar/datasources/csv/CSVWriterBuilder.scala | 0 .../apache/graphar/datasources/orc/OrcOutputWriter.scala | 0 .../apache/graphar/datasources/orc/OrcWriteBuilder.scala | 0 .../datasources/parquet/ParquetWriterBuilder.scala | 0 .../spark}/datasources-33/.scalafmt.conf | 0 {spark => maven-projects/spark}/datasources-33/pom.xml | 0 .../src/main/java/org/apache/graphar/GeneralParams.java | 0 .../apache/graphar/datasources/GarCommitProtocol.scala | 0 .../org/apache/graphar/datasources/GarDataSource.scala | 0 .../scala/org/apache/graphar/datasources/GarScan.scala | 0 .../org/apache/graphar/datasources/GarScanBuilder.scala | 0 .../scala/org/apache/graphar/datasources/GarTable.scala | 0 .../org/apache/graphar/datasources/GarWriterBuilder.scala | 0 .../apache/graphar/datasources/csv/CSVWriterBuilder.scala | 0 .../apache/graphar/datasources/orc/OrcOutputWriter.scala | 0 .../apache/graphar/datasources/orc/OrcWriteBuilder.scala | 0 .../datasources/parquet/ParquetWriterBuilder.scala | 0 {spark => maven-projects/spark}/graphar/.scalafmt.conf | 0 {spark => maven-projects/spark}/graphar/pom.xml | 0 .../src/main/java/org/apache/graphar/GeneralParams.java | 0 .../src/main/scala/org/apache/graphar/EdgeInfo.scala | 0 .../src/main/scala/org/apache/graphar/GraphInfo.scala | 0 .../src/main/scala/org/apache/graphar/VertexInfo.scala | 0 .../scala/org/apache/graphar/example/GraphAr2Nebula.scala | 0 .../scala/org/apache/graphar/example/GraphAr2Neo4j.scala | 0 .../scala/org/apache/graphar/example/Nebula2GraphAr.scala | 0 .../scala/org/apache/graphar/example/Neo4j2GraphAr.scala | 0 .../main/scala/org/apache/graphar/graph/GraphReader.scala | 0 .../scala/org/apache/graphar/graph/GraphTransformer.scala | 0 .../main/scala/org/apache/graphar/graph/GraphWriter.scala | 0 .../main/scala/org/apache/graphar/importer/Neo4j.scala | 0 .../main/scala/org/apache/graphar/reader/EdgeReader.scala | 0 .../scala/org/apache/graphar/reader/VertexReader.scala | 0 .../scala/org/apache/graphar/util/DataFrameConcat.scala | 0 .../main/scala/org/apache/graphar/util/FileSystem.scala | 0 .../scala/org/apache/graphar/util/IndexGenerator.scala | 0 .../main/scala/org/apache/graphar/util/Patitioner.scala | 0 .../src/main/scala/org/apache/graphar/util/Utils.scala | 0 .../main/scala/org/apache/graphar/writer/EdgeWriter.scala | 0 .../scala/org/apache/graphar/writer/VertexWriter.scala | 0 .../spark}/graphar/src/test/resources/gar-test | 0 .../test/scala/org/apache/graphar/ComputeExample.scala | 0 .../src/test/scala/org/apache/graphar/TestGraphInfo.scala | 0 .../test/scala/org/apache/graphar/TestGraphReader.scala | 0 .../scala/org/apache/graphar/TestGraphTransformer.scala | 0 .../test/scala/org/apache/graphar/TestGraphWriter.scala | 0 .../scala/org/apache/graphar/TestIndexGenerator.scala | 0 .../src/test/scala/org/apache/graphar/TestReader.scala | 0 .../src/test/scala/org/apache/graphar/TestWriter.scala | 0 .../test/scala/org/apache/graphar/TransformExample.scala | 0 {spark => maven-projects/spark}/import/neo4j.json | 0 {spark => maven-projects/spark}/import/neo4j.sh | 0 {spark => maven-projects/spark}/pom.xml | 0 {spark => maven-projects/spark}/scripts/build.sh | 0 .../spark}/scripts/deploy-nebula-default-data.sh | 0 .../spark}/scripts/deploy-neo4j-movie-data.sh | 0 .../spark}/scripts/get-nebula-to-home.sh | 0 .../spark}/scripts/get-neo4j-to-home.sh | 0 .../spark}/scripts/get-spark-to-home.sh | 0 .../spark}/scripts/run-graphar2nebula.sh | 0 .../spark}/scripts/run-graphar2neo4j.sh | 0 .../spark}/scripts/run-nebula2graphar.sh | 0 .../spark}/scripts/run-neo4j2graphar.sh | 0 165 files changed, 5 insertions(+), 5 deletions(-) rename {java => maven-projects/java}/.gitignore (100%) rename {java => maven-projects/java}/CMakeLists.txt (100%) rename {java => maven-projects/java}/README.md (100%) rename {java => maven-projects/java}/build.xml (100%) rename {java => maven-projects/java}/cmake/graphar-cpp.cmake (100%) rename {java => maven-projects/java}/pom.xml (100%) rename {java => maven-projects/java}/src/main/cpp/ffi/jni_org_apache_graphar_arrow_ArrowTableStatic.cc (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/arrow/ArrowArray.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/arrow/ArrowResult.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/arrow/ArrowStatus.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/arrow/ArrowTable.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/arrow/StructArrowArray.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/arrow/StructArrowSchema.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/arrow/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/edges/Edge.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/edges/EdgeIter.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/edges/EdgesCollection.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/edges/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/graphinfo/EdgeInfo.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/graphinfo/GraphInfo.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/graphinfo/Property.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/graphinfo/PropertyGroup.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/graphinfo/VertexInfo.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/graphinfo/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReader.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReader.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReader.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReader.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/readers/arrowchunk/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReader.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReader.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReader.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/readers/chunkinfo/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/stdcxx/StdMap.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/stdcxx/StdPair.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/stdcxx/StdSharedPtr.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/stdcxx/StdString.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/stdcxx/StdUnorderedMap.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/stdcxx/StdVector.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/stdcxx/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/types/AdjListType.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/types/DataType.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/types/FileType.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/types/Type.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/types/ValidateLevel.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/types/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/CppClassName.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/CppHeaderName.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/GeneralParams.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/GrapharStaticFunctions.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/IndexConverter.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/InfoVersion.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/JNILibraryName.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/Result.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/Status.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/StatusCode.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/Yaml.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/util/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/vertices/Vertex.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/vertices/VertexIter.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/vertices/VerticesCollection.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/vertices/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/writers/EdgeChunkWriter.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/writers/VertexPropertyWriter.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/writers/builder/Edge.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/writers/builder/EdgesBuilder.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/writers/builder/Vertex.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/writers/builder/VerticesBuilder.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/writers/builder/package-info.java (100%) rename {java => maven-projects/java}/src/main/java/org/apache/graphar/writers/package-info.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/edges/EdgesCollectionTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/graphinfo/EdgeInfoTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/graphinfo/GraphInfoTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/graphinfo/VertexInfoTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReaderTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReaderTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReaderTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReaderTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReaderTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReaderTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReaderTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/util/InfoVersionTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/vertices/VerticesCollectionTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/writers/EdgeChunkWriterTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/writers/VertexPropertyWriterTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/writers/builder/EdgesBuilderTest.java (100%) rename {java => maven-projects/java}/src/test/java/org/apache/graphar/writers/builder/VerticesBuilderTest.java (100%) rename pom.xml => maven-projects/pom.xml (98%) rename {spark => maven-projects/spark}/.gitignore (100%) rename {spark => maven-projects/spark}/.scalafix.conf (100%) rename {spark => maven-projects/spark}/.scalafmt.conf (100%) rename {spark => maven-projects/spark}/README.md (100%) rename {spark => maven-projects/spark}/datasources-32/.scalafmt.conf (100%) rename {spark => maven-projects/spark}/datasources-32/pom.xml (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/java/org/apache/graphar/GeneralParams.java (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScan.scala (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/GarTable.scala (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala (100%) rename {spark => maven-projects/spark}/datasources-32/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala (100%) rename {spark => maven-projects/spark}/datasources-33/.scalafmt.conf (100%) rename {spark => maven-projects/spark}/datasources-33/pom.xml (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/java/org/apache/graphar/GeneralParams.java (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScan.scala (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/GarTable.scala (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala (100%) rename {spark => maven-projects/spark}/datasources-33/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala (100%) rename {spark => maven-projects/spark}/graphar/.scalafmt.conf (100%) rename {spark => maven-projects/spark}/graphar/pom.xml (100%) rename {spark => maven-projects/spark}/graphar/src/main/java/org/apache/graphar/GeneralParams.java (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/EdgeInfo.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/GraphInfo.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/VertexInfo.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Nebula.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Neo4j.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/example/Nebula2GraphAr.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/example/Neo4j2GraphAr.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/graph/GraphReader.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/graph/GraphTransformer.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/graph/GraphWriter.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/importer/Neo4j.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/reader/EdgeReader.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/reader/VertexReader.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/util/DataFrameConcat.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/util/FileSystem.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/util/IndexGenerator.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/util/Patitioner.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/util/Utils.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/writer/EdgeWriter.scala (100%) rename {spark => maven-projects/spark}/graphar/src/main/scala/org/apache/graphar/writer/VertexWriter.scala (100%) rename {spark => maven-projects/spark}/graphar/src/test/resources/gar-test (100%) rename {spark => maven-projects/spark}/graphar/src/test/scala/org/apache/graphar/ComputeExample.scala (100%) rename {spark => maven-projects/spark}/graphar/src/test/scala/org/apache/graphar/TestGraphInfo.scala (100%) rename {spark => maven-projects/spark}/graphar/src/test/scala/org/apache/graphar/TestGraphReader.scala (100%) rename {spark => maven-projects/spark}/graphar/src/test/scala/org/apache/graphar/TestGraphTransformer.scala (100%) rename {spark => maven-projects/spark}/graphar/src/test/scala/org/apache/graphar/TestGraphWriter.scala (100%) rename {spark => maven-projects/spark}/graphar/src/test/scala/org/apache/graphar/TestIndexGenerator.scala (100%) rename {spark => maven-projects/spark}/graphar/src/test/scala/org/apache/graphar/TestReader.scala (100%) rename {spark => maven-projects/spark}/graphar/src/test/scala/org/apache/graphar/TestWriter.scala (100%) rename {spark => maven-projects/spark}/graphar/src/test/scala/org/apache/graphar/TransformExample.scala (100%) rename {spark => maven-projects/spark}/import/neo4j.json (100%) rename {spark => maven-projects/spark}/import/neo4j.sh (100%) rename {spark => maven-projects/spark}/pom.xml (100%) rename {spark => maven-projects/spark}/scripts/build.sh (100%) rename {spark => maven-projects/spark}/scripts/deploy-nebula-default-data.sh (100%) rename {spark => maven-projects/spark}/scripts/deploy-neo4j-movie-data.sh (100%) rename {spark => maven-projects/spark}/scripts/get-nebula-to-home.sh (100%) rename {spark => maven-projects/spark}/scripts/get-neo4j-to-home.sh (100%) rename {spark => maven-projects/spark}/scripts/get-spark-to-home.sh (100%) rename {spark => maven-projects/spark}/scripts/run-graphar2nebula.sh (100%) rename {spark => maven-projects/spark}/scripts/run-graphar2neo4j.sh (100%) rename {spark => maven-projects/spark}/scripts/run-nebula2graphar.sh (100%) rename {spark => maven-projects/spark}/scripts/run-neo4j2graphar.sh (100%) diff --git a/README.md b/README.md index 881709640..d9daa8ec5 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,7 @@ programming language. ### The C++ Library See [GraphAr C++ -Library](https://github.com/apache/incubator-graphar/tree/main/cpp) for +Library](./cpp) for details about the building of the C++ library. ### The Java Library @@ -213,20 +213,20 @@ The GraphAr Java library is created with bindings to the C++ library (currently at version v0.10.0), utilizing [Alibaba-FastFFI](https://github.com/alibaba/fastFFI) for implementation. See [GraphAr Java -Library](https://github.com/apache/incubator-graphar/tree/main/java) for +Library](./maven-projects/java) for details about the building of the Java library. ### The Spark Library See [GraphAr Spark -Library](https://github.com/apache/incubator-graphar/tree/main/spark) +Library](./maven-projects/spark) for details about the Spark library. ### The PySpark Library The GraphAr PySpark library is developed as bindings to the GraphAr Spark library. See [GraphAr PySpark -Library](https://github.com/apache/incubator-graphar/tree/main/pyspark) +Library](./pyspark) for details about the PySpark library. ## Contributing diff --git a/java/.gitignore b/maven-projects/java/.gitignore similarity index 100% rename from java/.gitignore rename to maven-projects/java/.gitignore diff --git a/java/CMakeLists.txt b/maven-projects/java/CMakeLists.txt similarity index 100% rename from java/CMakeLists.txt rename to maven-projects/java/CMakeLists.txt diff --git a/java/README.md b/maven-projects/java/README.md similarity index 100% rename from java/README.md rename to maven-projects/java/README.md diff --git a/java/build.xml b/maven-projects/java/build.xml similarity index 100% rename from java/build.xml rename to maven-projects/java/build.xml diff --git a/java/cmake/graphar-cpp.cmake b/maven-projects/java/cmake/graphar-cpp.cmake similarity index 100% rename from java/cmake/graphar-cpp.cmake rename to maven-projects/java/cmake/graphar-cpp.cmake diff --git a/java/pom.xml b/maven-projects/java/pom.xml similarity index 100% rename from java/pom.xml rename to maven-projects/java/pom.xml diff --git a/java/src/main/cpp/ffi/jni_org_apache_graphar_arrow_ArrowTableStatic.cc b/maven-projects/java/src/main/cpp/ffi/jni_org_apache_graphar_arrow_ArrowTableStatic.cc similarity index 100% rename from java/src/main/cpp/ffi/jni_org_apache_graphar_arrow_ArrowTableStatic.cc rename to maven-projects/java/src/main/cpp/ffi/jni_org_apache_graphar_arrow_ArrowTableStatic.cc diff --git a/java/src/main/java/org/apache/graphar/arrow/ArrowArray.java b/maven-projects/java/src/main/java/org/apache/graphar/arrow/ArrowArray.java similarity index 100% rename from java/src/main/java/org/apache/graphar/arrow/ArrowArray.java rename to maven-projects/java/src/main/java/org/apache/graphar/arrow/ArrowArray.java diff --git a/java/src/main/java/org/apache/graphar/arrow/ArrowResult.java b/maven-projects/java/src/main/java/org/apache/graphar/arrow/ArrowResult.java similarity index 100% rename from java/src/main/java/org/apache/graphar/arrow/ArrowResult.java rename to maven-projects/java/src/main/java/org/apache/graphar/arrow/ArrowResult.java diff --git a/java/src/main/java/org/apache/graphar/arrow/ArrowStatus.java b/maven-projects/java/src/main/java/org/apache/graphar/arrow/ArrowStatus.java similarity index 100% rename from java/src/main/java/org/apache/graphar/arrow/ArrowStatus.java rename to maven-projects/java/src/main/java/org/apache/graphar/arrow/ArrowStatus.java diff --git a/java/src/main/java/org/apache/graphar/arrow/ArrowTable.java b/maven-projects/java/src/main/java/org/apache/graphar/arrow/ArrowTable.java similarity index 100% rename from java/src/main/java/org/apache/graphar/arrow/ArrowTable.java rename to maven-projects/java/src/main/java/org/apache/graphar/arrow/ArrowTable.java diff --git a/java/src/main/java/org/apache/graphar/arrow/StructArrowArray.java b/maven-projects/java/src/main/java/org/apache/graphar/arrow/StructArrowArray.java similarity index 100% rename from java/src/main/java/org/apache/graphar/arrow/StructArrowArray.java rename to maven-projects/java/src/main/java/org/apache/graphar/arrow/StructArrowArray.java diff --git a/java/src/main/java/org/apache/graphar/arrow/StructArrowSchema.java b/maven-projects/java/src/main/java/org/apache/graphar/arrow/StructArrowSchema.java similarity index 100% rename from java/src/main/java/org/apache/graphar/arrow/StructArrowSchema.java rename to maven-projects/java/src/main/java/org/apache/graphar/arrow/StructArrowSchema.java diff --git a/java/src/main/java/org/apache/graphar/arrow/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/arrow/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/arrow/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/arrow/package-info.java diff --git a/java/src/main/java/org/apache/graphar/edges/Edge.java b/maven-projects/java/src/main/java/org/apache/graphar/edges/Edge.java similarity index 100% rename from java/src/main/java/org/apache/graphar/edges/Edge.java rename to maven-projects/java/src/main/java/org/apache/graphar/edges/Edge.java diff --git a/java/src/main/java/org/apache/graphar/edges/EdgeIter.java b/maven-projects/java/src/main/java/org/apache/graphar/edges/EdgeIter.java similarity index 100% rename from java/src/main/java/org/apache/graphar/edges/EdgeIter.java rename to maven-projects/java/src/main/java/org/apache/graphar/edges/EdgeIter.java diff --git a/java/src/main/java/org/apache/graphar/edges/EdgesCollection.java b/maven-projects/java/src/main/java/org/apache/graphar/edges/EdgesCollection.java similarity index 100% rename from java/src/main/java/org/apache/graphar/edges/EdgesCollection.java rename to maven-projects/java/src/main/java/org/apache/graphar/edges/EdgesCollection.java diff --git a/java/src/main/java/org/apache/graphar/edges/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/edges/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/edges/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/edges/package-info.java diff --git a/java/src/main/java/org/apache/graphar/graphinfo/EdgeInfo.java b/maven-projects/java/src/main/java/org/apache/graphar/graphinfo/EdgeInfo.java similarity index 100% rename from java/src/main/java/org/apache/graphar/graphinfo/EdgeInfo.java rename to maven-projects/java/src/main/java/org/apache/graphar/graphinfo/EdgeInfo.java diff --git a/java/src/main/java/org/apache/graphar/graphinfo/GraphInfo.java b/maven-projects/java/src/main/java/org/apache/graphar/graphinfo/GraphInfo.java similarity index 100% rename from java/src/main/java/org/apache/graphar/graphinfo/GraphInfo.java rename to maven-projects/java/src/main/java/org/apache/graphar/graphinfo/GraphInfo.java diff --git a/java/src/main/java/org/apache/graphar/graphinfo/Property.java b/maven-projects/java/src/main/java/org/apache/graphar/graphinfo/Property.java similarity index 100% rename from java/src/main/java/org/apache/graphar/graphinfo/Property.java rename to maven-projects/java/src/main/java/org/apache/graphar/graphinfo/Property.java diff --git a/java/src/main/java/org/apache/graphar/graphinfo/PropertyGroup.java b/maven-projects/java/src/main/java/org/apache/graphar/graphinfo/PropertyGroup.java similarity index 100% rename from java/src/main/java/org/apache/graphar/graphinfo/PropertyGroup.java rename to maven-projects/java/src/main/java/org/apache/graphar/graphinfo/PropertyGroup.java diff --git a/java/src/main/java/org/apache/graphar/graphinfo/VertexInfo.java b/maven-projects/java/src/main/java/org/apache/graphar/graphinfo/VertexInfo.java similarity index 100% rename from java/src/main/java/org/apache/graphar/graphinfo/VertexInfo.java rename to maven-projects/java/src/main/java/org/apache/graphar/graphinfo/VertexInfo.java diff --git a/java/src/main/java/org/apache/graphar/graphinfo/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/graphinfo/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/graphinfo/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/graphinfo/package-info.java diff --git a/java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReader.java b/maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReader.java similarity index 100% rename from java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReader.java rename to maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReader.java diff --git a/java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReader.java b/maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReader.java similarity index 100% rename from java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReader.java rename to maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReader.java diff --git a/java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReader.java b/maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReader.java similarity index 100% rename from java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReader.java rename to maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReader.java diff --git a/java/src/main/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReader.java b/maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReader.java similarity index 100% rename from java/src/main/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReader.java rename to maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReader.java diff --git a/java/src/main/java/org/apache/graphar/readers/arrowchunk/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/readers/arrowchunk/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/readers/arrowchunk/package-info.java diff --git a/java/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReader.java b/maven-projects/java/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReader.java similarity index 100% rename from java/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReader.java rename to maven-projects/java/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReader.java diff --git a/java/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReader.java b/maven-projects/java/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReader.java similarity index 100% rename from java/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReader.java rename to maven-projects/java/src/main/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReader.java diff --git a/java/src/main/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReader.java b/maven-projects/java/src/main/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReader.java similarity index 100% rename from java/src/main/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReader.java rename to maven-projects/java/src/main/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReader.java diff --git a/java/src/main/java/org/apache/graphar/readers/chunkinfo/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/readers/chunkinfo/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/readers/chunkinfo/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/readers/chunkinfo/package-info.java diff --git a/java/src/main/java/org/apache/graphar/stdcxx/StdMap.java b/maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdMap.java similarity index 100% rename from java/src/main/java/org/apache/graphar/stdcxx/StdMap.java rename to maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdMap.java diff --git a/java/src/main/java/org/apache/graphar/stdcxx/StdPair.java b/maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdPair.java similarity index 100% rename from java/src/main/java/org/apache/graphar/stdcxx/StdPair.java rename to maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdPair.java diff --git a/java/src/main/java/org/apache/graphar/stdcxx/StdSharedPtr.java b/maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdSharedPtr.java similarity index 100% rename from java/src/main/java/org/apache/graphar/stdcxx/StdSharedPtr.java rename to maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdSharedPtr.java diff --git a/java/src/main/java/org/apache/graphar/stdcxx/StdString.java b/maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdString.java similarity index 100% rename from java/src/main/java/org/apache/graphar/stdcxx/StdString.java rename to maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdString.java diff --git a/java/src/main/java/org/apache/graphar/stdcxx/StdUnorderedMap.java b/maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdUnorderedMap.java similarity index 100% rename from java/src/main/java/org/apache/graphar/stdcxx/StdUnorderedMap.java rename to maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdUnorderedMap.java diff --git a/java/src/main/java/org/apache/graphar/stdcxx/StdVector.java b/maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdVector.java similarity index 100% rename from java/src/main/java/org/apache/graphar/stdcxx/StdVector.java rename to maven-projects/java/src/main/java/org/apache/graphar/stdcxx/StdVector.java diff --git a/java/src/main/java/org/apache/graphar/stdcxx/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/stdcxx/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/stdcxx/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/stdcxx/package-info.java diff --git a/java/src/main/java/org/apache/graphar/types/AdjListType.java b/maven-projects/java/src/main/java/org/apache/graphar/types/AdjListType.java similarity index 100% rename from java/src/main/java/org/apache/graphar/types/AdjListType.java rename to maven-projects/java/src/main/java/org/apache/graphar/types/AdjListType.java diff --git a/java/src/main/java/org/apache/graphar/types/DataType.java b/maven-projects/java/src/main/java/org/apache/graphar/types/DataType.java similarity index 100% rename from java/src/main/java/org/apache/graphar/types/DataType.java rename to maven-projects/java/src/main/java/org/apache/graphar/types/DataType.java diff --git a/java/src/main/java/org/apache/graphar/types/FileType.java b/maven-projects/java/src/main/java/org/apache/graphar/types/FileType.java similarity index 100% rename from java/src/main/java/org/apache/graphar/types/FileType.java rename to maven-projects/java/src/main/java/org/apache/graphar/types/FileType.java diff --git a/java/src/main/java/org/apache/graphar/types/Type.java b/maven-projects/java/src/main/java/org/apache/graphar/types/Type.java similarity index 100% rename from java/src/main/java/org/apache/graphar/types/Type.java rename to maven-projects/java/src/main/java/org/apache/graphar/types/Type.java diff --git a/java/src/main/java/org/apache/graphar/types/ValidateLevel.java b/maven-projects/java/src/main/java/org/apache/graphar/types/ValidateLevel.java similarity index 100% rename from java/src/main/java/org/apache/graphar/types/ValidateLevel.java rename to maven-projects/java/src/main/java/org/apache/graphar/types/ValidateLevel.java diff --git a/java/src/main/java/org/apache/graphar/types/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/types/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/types/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/types/package-info.java diff --git a/java/src/main/java/org/apache/graphar/util/CppClassName.java b/maven-projects/java/src/main/java/org/apache/graphar/util/CppClassName.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/CppClassName.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/CppClassName.java diff --git a/java/src/main/java/org/apache/graphar/util/CppHeaderName.java b/maven-projects/java/src/main/java/org/apache/graphar/util/CppHeaderName.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/CppHeaderName.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/CppHeaderName.java diff --git a/java/src/main/java/org/apache/graphar/util/GeneralParams.java b/maven-projects/java/src/main/java/org/apache/graphar/util/GeneralParams.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/GeneralParams.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/GeneralParams.java diff --git a/java/src/main/java/org/apache/graphar/util/GrapharStaticFunctions.java b/maven-projects/java/src/main/java/org/apache/graphar/util/GrapharStaticFunctions.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/GrapharStaticFunctions.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/GrapharStaticFunctions.java diff --git a/java/src/main/java/org/apache/graphar/util/IndexConverter.java b/maven-projects/java/src/main/java/org/apache/graphar/util/IndexConverter.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/IndexConverter.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/IndexConverter.java diff --git a/java/src/main/java/org/apache/graphar/util/InfoVersion.java b/maven-projects/java/src/main/java/org/apache/graphar/util/InfoVersion.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/InfoVersion.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/InfoVersion.java diff --git a/java/src/main/java/org/apache/graphar/util/JNILibraryName.java b/maven-projects/java/src/main/java/org/apache/graphar/util/JNILibraryName.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/JNILibraryName.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/JNILibraryName.java diff --git a/java/src/main/java/org/apache/graphar/util/Result.java b/maven-projects/java/src/main/java/org/apache/graphar/util/Result.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/Result.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/Result.java diff --git a/java/src/main/java/org/apache/graphar/util/Status.java b/maven-projects/java/src/main/java/org/apache/graphar/util/Status.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/Status.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/Status.java diff --git a/java/src/main/java/org/apache/graphar/util/StatusCode.java b/maven-projects/java/src/main/java/org/apache/graphar/util/StatusCode.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/StatusCode.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/StatusCode.java diff --git a/java/src/main/java/org/apache/graphar/util/Yaml.java b/maven-projects/java/src/main/java/org/apache/graphar/util/Yaml.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/Yaml.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/Yaml.java diff --git a/java/src/main/java/org/apache/graphar/util/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/util/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/util/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/util/package-info.java diff --git a/java/src/main/java/org/apache/graphar/vertices/Vertex.java b/maven-projects/java/src/main/java/org/apache/graphar/vertices/Vertex.java similarity index 100% rename from java/src/main/java/org/apache/graphar/vertices/Vertex.java rename to maven-projects/java/src/main/java/org/apache/graphar/vertices/Vertex.java diff --git a/java/src/main/java/org/apache/graphar/vertices/VertexIter.java b/maven-projects/java/src/main/java/org/apache/graphar/vertices/VertexIter.java similarity index 100% rename from java/src/main/java/org/apache/graphar/vertices/VertexIter.java rename to maven-projects/java/src/main/java/org/apache/graphar/vertices/VertexIter.java diff --git a/java/src/main/java/org/apache/graphar/vertices/VerticesCollection.java b/maven-projects/java/src/main/java/org/apache/graphar/vertices/VerticesCollection.java similarity index 100% rename from java/src/main/java/org/apache/graphar/vertices/VerticesCollection.java rename to maven-projects/java/src/main/java/org/apache/graphar/vertices/VerticesCollection.java diff --git a/java/src/main/java/org/apache/graphar/vertices/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/vertices/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/vertices/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/vertices/package-info.java diff --git a/java/src/main/java/org/apache/graphar/writers/EdgeChunkWriter.java b/maven-projects/java/src/main/java/org/apache/graphar/writers/EdgeChunkWriter.java similarity index 100% rename from java/src/main/java/org/apache/graphar/writers/EdgeChunkWriter.java rename to maven-projects/java/src/main/java/org/apache/graphar/writers/EdgeChunkWriter.java diff --git a/java/src/main/java/org/apache/graphar/writers/VertexPropertyWriter.java b/maven-projects/java/src/main/java/org/apache/graphar/writers/VertexPropertyWriter.java similarity index 100% rename from java/src/main/java/org/apache/graphar/writers/VertexPropertyWriter.java rename to maven-projects/java/src/main/java/org/apache/graphar/writers/VertexPropertyWriter.java diff --git a/java/src/main/java/org/apache/graphar/writers/builder/Edge.java b/maven-projects/java/src/main/java/org/apache/graphar/writers/builder/Edge.java similarity index 100% rename from java/src/main/java/org/apache/graphar/writers/builder/Edge.java rename to maven-projects/java/src/main/java/org/apache/graphar/writers/builder/Edge.java diff --git a/java/src/main/java/org/apache/graphar/writers/builder/EdgesBuilder.java b/maven-projects/java/src/main/java/org/apache/graphar/writers/builder/EdgesBuilder.java similarity index 100% rename from java/src/main/java/org/apache/graphar/writers/builder/EdgesBuilder.java rename to maven-projects/java/src/main/java/org/apache/graphar/writers/builder/EdgesBuilder.java diff --git a/java/src/main/java/org/apache/graphar/writers/builder/Vertex.java b/maven-projects/java/src/main/java/org/apache/graphar/writers/builder/Vertex.java similarity index 100% rename from java/src/main/java/org/apache/graphar/writers/builder/Vertex.java rename to maven-projects/java/src/main/java/org/apache/graphar/writers/builder/Vertex.java diff --git a/java/src/main/java/org/apache/graphar/writers/builder/VerticesBuilder.java b/maven-projects/java/src/main/java/org/apache/graphar/writers/builder/VerticesBuilder.java similarity index 100% rename from java/src/main/java/org/apache/graphar/writers/builder/VerticesBuilder.java rename to maven-projects/java/src/main/java/org/apache/graphar/writers/builder/VerticesBuilder.java diff --git a/java/src/main/java/org/apache/graphar/writers/builder/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/writers/builder/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/writers/builder/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/writers/builder/package-info.java diff --git a/java/src/main/java/org/apache/graphar/writers/package-info.java b/maven-projects/java/src/main/java/org/apache/graphar/writers/package-info.java similarity index 100% rename from java/src/main/java/org/apache/graphar/writers/package-info.java rename to maven-projects/java/src/main/java/org/apache/graphar/writers/package-info.java diff --git a/java/src/test/java/org/apache/graphar/edges/EdgesCollectionTest.java b/maven-projects/java/src/test/java/org/apache/graphar/edges/EdgesCollectionTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/edges/EdgesCollectionTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/edges/EdgesCollectionTest.java diff --git a/java/src/test/java/org/apache/graphar/graphinfo/EdgeInfoTest.java b/maven-projects/java/src/test/java/org/apache/graphar/graphinfo/EdgeInfoTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/graphinfo/EdgeInfoTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/graphinfo/EdgeInfoTest.java diff --git a/java/src/test/java/org/apache/graphar/graphinfo/GraphInfoTest.java b/maven-projects/java/src/test/java/org/apache/graphar/graphinfo/GraphInfoTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/graphinfo/GraphInfoTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/graphinfo/GraphInfoTest.java diff --git a/java/src/test/java/org/apache/graphar/graphinfo/VertexInfoTest.java b/maven-projects/java/src/test/java/org/apache/graphar/graphinfo/VertexInfoTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/graphinfo/VertexInfoTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/graphinfo/VertexInfoTest.java diff --git a/java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReaderTest.java b/maven-projects/java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReaderTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReaderTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListArrowChunkReaderTest.java diff --git a/java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReaderTest.java b/maven-projects/java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReaderTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReaderTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListOffsetArrowChunkReaderTest.java diff --git a/java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReaderTest.java b/maven-projects/java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReaderTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReaderTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/readers/arrowchunk/AdjListPropertyArrowChunkReaderTest.java diff --git a/java/src/test/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReaderTest.java b/maven-projects/java/src/test/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReaderTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReaderTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/readers/arrowchunk/VertexPropertyArrowChunkReaderTest.java diff --git a/java/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReaderTest.java b/maven-projects/java/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReaderTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReaderTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListChunkInfoReaderTest.java diff --git a/java/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReaderTest.java b/maven-projects/java/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReaderTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReaderTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/readers/chunkinfo/AdjListPropertyChunkInfoReaderTest.java diff --git a/java/src/test/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReaderTest.java b/maven-projects/java/src/test/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReaderTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReaderTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/readers/chunkinfo/VertexPropertyChunkInfoReaderTest.java diff --git a/java/src/test/java/org/apache/graphar/util/InfoVersionTest.java b/maven-projects/java/src/test/java/org/apache/graphar/util/InfoVersionTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/util/InfoVersionTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/util/InfoVersionTest.java diff --git a/java/src/test/java/org/apache/graphar/vertices/VerticesCollectionTest.java b/maven-projects/java/src/test/java/org/apache/graphar/vertices/VerticesCollectionTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/vertices/VerticesCollectionTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/vertices/VerticesCollectionTest.java diff --git a/java/src/test/java/org/apache/graphar/writers/EdgeChunkWriterTest.java b/maven-projects/java/src/test/java/org/apache/graphar/writers/EdgeChunkWriterTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/writers/EdgeChunkWriterTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/writers/EdgeChunkWriterTest.java diff --git a/java/src/test/java/org/apache/graphar/writers/VertexPropertyWriterTest.java b/maven-projects/java/src/test/java/org/apache/graphar/writers/VertexPropertyWriterTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/writers/VertexPropertyWriterTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/writers/VertexPropertyWriterTest.java diff --git a/java/src/test/java/org/apache/graphar/writers/builder/EdgesBuilderTest.java b/maven-projects/java/src/test/java/org/apache/graphar/writers/builder/EdgesBuilderTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/writers/builder/EdgesBuilderTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/writers/builder/EdgesBuilderTest.java diff --git a/java/src/test/java/org/apache/graphar/writers/builder/VerticesBuilderTest.java b/maven-projects/java/src/test/java/org/apache/graphar/writers/builder/VerticesBuilderTest.java similarity index 100% rename from java/src/test/java/org/apache/graphar/writers/builder/VerticesBuilderTest.java rename to maven-projects/java/src/test/java/org/apache/graphar/writers/builder/VerticesBuilderTest.java diff --git a/pom.xml b/maven-projects/pom.xml similarity index 98% rename from pom.xml rename to maven-projects/pom.xml index 03f3a28c5..ed50a72ca 100644 --- a/pom.xml +++ b/maven-projects/pom.xml @@ -30,7 +30,7 @@ Apache GraphAr Root POM - java + info spark diff --git a/spark/.gitignore b/maven-projects/spark/.gitignore similarity index 100% rename from spark/.gitignore rename to maven-projects/spark/.gitignore diff --git a/spark/.scalafix.conf b/maven-projects/spark/.scalafix.conf similarity index 100% rename from spark/.scalafix.conf rename to maven-projects/spark/.scalafix.conf diff --git a/spark/.scalafmt.conf b/maven-projects/spark/.scalafmt.conf similarity index 100% rename from spark/.scalafmt.conf rename to maven-projects/spark/.scalafmt.conf diff --git a/spark/README.md b/maven-projects/spark/README.md similarity index 100% rename from spark/README.md rename to maven-projects/spark/README.md diff --git a/spark/datasources-32/.scalafmt.conf b/maven-projects/spark/datasources-32/.scalafmt.conf similarity index 100% rename from spark/datasources-32/.scalafmt.conf rename to maven-projects/spark/datasources-32/.scalafmt.conf diff --git a/spark/datasources-32/pom.xml b/maven-projects/spark/datasources-32/pom.xml similarity index 100% rename from spark/datasources-32/pom.xml rename to maven-projects/spark/datasources-32/pom.xml diff --git a/spark/datasources-32/src/main/java/org/apache/graphar/GeneralParams.java b/maven-projects/spark/datasources-32/src/main/java/org/apache/graphar/GeneralParams.java similarity index 100% rename from spark/datasources-32/src/main/java/org/apache/graphar/GeneralParams.java rename to maven-projects/spark/datasources-32/src/main/java/org/apache/graphar/GeneralParams.java diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScan.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScan.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScan.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScan.scala diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarTable.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarTable.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarTable.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarTable.scala diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala diff --git a/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala b/maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala similarity index 100% rename from spark/datasources-32/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala rename to maven-projects/spark/datasources-32/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala diff --git a/spark/datasources-33/.scalafmt.conf b/maven-projects/spark/datasources-33/.scalafmt.conf similarity index 100% rename from spark/datasources-33/.scalafmt.conf rename to maven-projects/spark/datasources-33/.scalafmt.conf diff --git a/spark/datasources-33/pom.xml b/maven-projects/spark/datasources-33/pom.xml similarity index 100% rename from spark/datasources-33/pom.xml rename to maven-projects/spark/datasources-33/pom.xml diff --git a/spark/datasources-33/src/main/java/org/apache/graphar/GeneralParams.java b/maven-projects/spark/datasources-33/src/main/java/org/apache/graphar/GeneralParams.java similarity index 100% rename from spark/datasources-33/src/main/java/org/apache/graphar/GeneralParams.java rename to maven-projects/spark/datasources-33/src/main/java/org/apache/graphar/GeneralParams.java diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarCommitProtocol.scala diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarDataSource.scala diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScan.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScan.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScan.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScan.scala diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarScanBuilder.scala diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarTable.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarTable.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarTable.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarTable.scala diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/GarWriterBuilder.scala diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/csv/CSVWriterBuilder.scala diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcOutputWriter.scala diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/orc/OrcWriteBuilder.scala diff --git a/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala b/maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala similarity index 100% rename from spark/datasources-33/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala rename to maven-projects/spark/datasources-33/src/main/scala/org/apache/graphar/datasources/parquet/ParquetWriterBuilder.scala diff --git a/spark/graphar/.scalafmt.conf b/maven-projects/spark/graphar/.scalafmt.conf similarity index 100% rename from spark/graphar/.scalafmt.conf rename to maven-projects/spark/graphar/.scalafmt.conf diff --git a/spark/graphar/pom.xml b/maven-projects/spark/graphar/pom.xml similarity index 100% rename from spark/graphar/pom.xml rename to maven-projects/spark/graphar/pom.xml diff --git a/spark/graphar/src/main/java/org/apache/graphar/GeneralParams.java b/maven-projects/spark/graphar/src/main/java/org/apache/graphar/GeneralParams.java similarity index 100% rename from spark/graphar/src/main/java/org/apache/graphar/GeneralParams.java rename to maven-projects/spark/graphar/src/main/java/org/apache/graphar/GeneralParams.java diff --git a/spark/graphar/src/main/scala/org/apache/graphar/EdgeInfo.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/EdgeInfo.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/EdgeInfo.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/EdgeInfo.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/GraphInfo.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/GraphInfo.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/GraphInfo.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/GraphInfo.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/VertexInfo.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/VertexInfo.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/VertexInfo.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/VertexInfo.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Nebula.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Nebula.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Nebula.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Nebula.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Neo4j.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Neo4j.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Neo4j.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Neo4j.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/example/Nebula2GraphAr.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/Nebula2GraphAr.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/example/Nebula2GraphAr.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/Nebula2GraphAr.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/example/Neo4j2GraphAr.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/Neo4j2GraphAr.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/example/Neo4j2GraphAr.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/Neo4j2GraphAr.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/graph/GraphReader.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/graph/GraphReader.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/graph/GraphReader.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/graph/GraphReader.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/graph/GraphTransformer.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/graph/GraphTransformer.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/graph/GraphTransformer.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/graph/GraphTransformer.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/graph/GraphWriter.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/graph/GraphWriter.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/graph/GraphWriter.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/graph/GraphWriter.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/importer/Neo4j.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/importer/Neo4j.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/importer/Neo4j.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/importer/Neo4j.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/reader/EdgeReader.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/reader/EdgeReader.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/reader/EdgeReader.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/reader/EdgeReader.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/reader/VertexReader.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/reader/VertexReader.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/reader/VertexReader.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/reader/VertexReader.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/util/DataFrameConcat.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/DataFrameConcat.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/util/DataFrameConcat.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/DataFrameConcat.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/util/FileSystem.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/FileSystem.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/util/FileSystem.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/FileSystem.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/util/IndexGenerator.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/IndexGenerator.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/util/IndexGenerator.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/IndexGenerator.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/util/Patitioner.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/Patitioner.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/util/Patitioner.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/Patitioner.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/util/Utils.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/Utils.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/util/Utils.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/util/Utils.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/writer/EdgeWriter.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/writer/EdgeWriter.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/writer/EdgeWriter.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/writer/EdgeWriter.scala diff --git a/spark/graphar/src/main/scala/org/apache/graphar/writer/VertexWriter.scala b/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/writer/VertexWriter.scala similarity index 100% rename from spark/graphar/src/main/scala/org/apache/graphar/writer/VertexWriter.scala rename to maven-projects/spark/graphar/src/main/scala/org/apache/graphar/writer/VertexWriter.scala diff --git a/spark/graphar/src/test/resources/gar-test b/maven-projects/spark/graphar/src/test/resources/gar-test similarity index 100% rename from spark/graphar/src/test/resources/gar-test rename to maven-projects/spark/graphar/src/test/resources/gar-test diff --git a/spark/graphar/src/test/scala/org/apache/graphar/ComputeExample.scala b/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/ComputeExample.scala similarity index 100% rename from spark/graphar/src/test/scala/org/apache/graphar/ComputeExample.scala rename to maven-projects/spark/graphar/src/test/scala/org/apache/graphar/ComputeExample.scala diff --git a/spark/graphar/src/test/scala/org/apache/graphar/TestGraphInfo.scala b/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphInfo.scala similarity index 100% rename from spark/graphar/src/test/scala/org/apache/graphar/TestGraphInfo.scala rename to maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphInfo.scala diff --git a/spark/graphar/src/test/scala/org/apache/graphar/TestGraphReader.scala b/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphReader.scala similarity index 100% rename from spark/graphar/src/test/scala/org/apache/graphar/TestGraphReader.scala rename to maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphReader.scala diff --git a/spark/graphar/src/test/scala/org/apache/graphar/TestGraphTransformer.scala b/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphTransformer.scala similarity index 100% rename from spark/graphar/src/test/scala/org/apache/graphar/TestGraphTransformer.scala rename to maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphTransformer.scala diff --git a/spark/graphar/src/test/scala/org/apache/graphar/TestGraphWriter.scala b/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphWriter.scala similarity index 100% rename from spark/graphar/src/test/scala/org/apache/graphar/TestGraphWriter.scala rename to maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphWriter.scala diff --git a/spark/graphar/src/test/scala/org/apache/graphar/TestIndexGenerator.scala b/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestIndexGenerator.scala similarity index 100% rename from spark/graphar/src/test/scala/org/apache/graphar/TestIndexGenerator.scala rename to maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestIndexGenerator.scala diff --git a/spark/graphar/src/test/scala/org/apache/graphar/TestReader.scala b/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestReader.scala similarity index 100% rename from spark/graphar/src/test/scala/org/apache/graphar/TestReader.scala rename to maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestReader.scala diff --git a/spark/graphar/src/test/scala/org/apache/graphar/TestWriter.scala b/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestWriter.scala similarity index 100% rename from spark/graphar/src/test/scala/org/apache/graphar/TestWriter.scala rename to maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestWriter.scala diff --git a/spark/graphar/src/test/scala/org/apache/graphar/TransformExample.scala b/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TransformExample.scala similarity index 100% rename from spark/graphar/src/test/scala/org/apache/graphar/TransformExample.scala rename to maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TransformExample.scala diff --git a/spark/import/neo4j.json b/maven-projects/spark/import/neo4j.json similarity index 100% rename from spark/import/neo4j.json rename to maven-projects/spark/import/neo4j.json diff --git a/spark/import/neo4j.sh b/maven-projects/spark/import/neo4j.sh similarity index 100% rename from spark/import/neo4j.sh rename to maven-projects/spark/import/neo4j.sh diff --git a/spark/pom.xml b/maven-projects/spark/pom.xml similarity index 100% rename from spark/pom.xml rename to maven-projects/spark/pom.xml diff --git a/spark/scripts/build.sh b/maven-projects/spark/scripts/build.sh similarity index 100% rename from spark/scripts/build.sh rename to maven-projects/spark/scripts/build.sh diff --git a/spark/scripts/deploy-nebula-default-data.sh b/maven-projects/spark/scripts/deploy-nebula-default-data.sh similarity index 100% rename from spark/scripts/deploy-nebula-default-data.sh rename to maven-projects/spark/scripts/deploy-nebula-default-data.sh diff --git a/spark/scripts/deploy-neo4j-movie-data.sh b/maven-projects/spark/scripts/deploy-neo4j-movie-data.sh similarity index 100% rename from spark/scripts/deploy-neo4j-movie-data.sh rename to maven-projects/spark/scripts/deploy-neo4j-movie-data.sh diff --git a/spark/scripts/get-nebula-to-home.sh b/maven-projects/spark/scripts/get-nebula-to-home.sh similarity index 100% rename from spark/scripts/get-nebula-to-home.sh rename to maven-projects/spark/scripts/get-nebula-to-home.sh diff --git a/spark/scripts/get-neo4j-to-home.sh b/maven-projects/spark/scripts/get-neo4j-to-home.sh similarity index 100% rename from spark/scripts/get-neo4j-to-home.sh rename to maven-projects/spark/scripts/get-neo4j-to-home.sh diff --git a/spark/scripts/get-spark-to-home.sh b/maven-projects/spark/scripts/get-spark-to-home.sh similarity index 100% rename from spark/scripts/get-spark-to-home.sh rename to maven-projects/spark/scripts/get-spark-to-home.sh diff --git a/spark/scripts/run-graphar2nebula.sh b/maven-projects/spark/scripts/run-graphar2nebula.sh similarity index 100% rename from spark/scripts/run-graphar2nebula.sh rename to maven-projects/spark/scripts/run-graphar2nebula.sh diff --git a/spark/scripts/run-graphar2neo4j.sh b/maven-projects/spark/scripts/run-graphar2neo4j.sh similarity index 100% rename from spark/scripts/run-graphar2neo4j.sh rename to maven-projects/spark/scripts/run-graphar2neo4j.sh diff --git a/spark/scripts/run-nebula2graphar.sh b/maven-projects/spark/scripts/run-nebula2graphar.sh similarity index 100% rename from spark/scripts/run-nebula2graphar.sh rename to maven-projects/spark/scripts/run-nebula2graphar.sh diff --git a/spark/scripts/run-neo4j2graphar.sh b/maven-projects/spark/scripts/run-neo4j2graphar.sh similarity index 100% rename from spark/scripts/run-neo4j2graphar.sh rename to maven-projects/spark/scripts/run-neo4j2graphar.sh From 592a34f8d07118eb1bca3e9648ce7e4a2c2f87ab Mon Sep 17 00:00:00 2001 From: acezen Date: Tue, 7 May 2024 04:13:57 +0000 Subject: [PATCH 2/9] Update the links Signed-off-by: acezen --- docs/libraries/java/how_to_develop_java.md | 2 +- docs/libraries/java/java.md | 8 ++++---- docs/libraries/spark/examples.md | 10 +++++----- docs/libraries/spark/spark.md | 18 +++++++++--------- maven-projects/java/README.md | 4 ++-- maven-projects/spark/README.md | 10 +++++----- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/libraries/java/how_to_develop_java.md b/docs/libraries/java/how_to_develop_java.md index db2146fdc..b536cb549 100644 --- a/docs/libraries/java/how_to_develop_java.md +++ b/docs/libraries/java/how_to_develop_java.md @@ -80,7 +80,7 @@ Please refer to ## How To Test ```bash -$ export GAR_TEST_DATA=$PWD/../testing/ +$ export GAR_TEST_DATA=$PWD/../../testing/ $ mvn clean test ``` diff --git a/docs/libraries/java/java.md b/docs/libraries/java/java.md index 739c477ae..a01bb5188 100644 --- a/docs/libraries/java/java.md +++ b/docs/libraries/java/java.md @@ -69,7 +69,7 @@ directory: $ git clone https://github.com/apache/incubator-graphar.git $ cd incubator-graphar $ git submodule update --init -$ cd java +$ cd maven-projects/java ``` Compile package: @@ -120,7 +120,7 @@ if (!graphInfoResult.hasError()) { ``` See [test for -graphinfo](https://github.com/apache/incubator-graphar/tree/main/java/src/test/java/org/apache/graphar/graphinfo) +graphinfo](https://github.com/apache/incubator-graphar/blob/main/maven-projects/java/src/test/java/org/apache/graphar/graphinfo) for the complete example. ### Writers @@ -177,7 +177,7 @@ writer.sortAndWriteAdjListTable(table, 0, 0); // Write adj list of vertex chunk ``` See [test for -writers](https://github.com/apache/incubator-graphar/tree/main/java/src/test/java/org/apache/graphar/writers) +writers](https://github.com/apache/incubator-graphar/blob/main/maven-projects/java/src/test/java/org/apache/graphar/writers) for the complete example. ### Readers @@ -211,5 +211,5 @@ StdPair range = reader.getRange().value(); ``` See [test for -readers](https://github.com/apache/incubator-graphar/tree/main/java/src/test/java/org/apache/graphar/readers) +readers](https://github.com/apache/incubator-graphar/blob/main/maven-projects/java/src/test/java/org/apache/graphar/readers) for the complete example. \ No newline at end of file diff --git a/docs/libraries/spark/examples.md b/docs/libraries/spark/examples.md index a6d6873eb..c9e2e56bc 100644 --- a/docs/libraries/spark/examples.md +++ b/docs/libraries/spark/examples.md @@ -206,8 +206,8 @@ See [GraphAr2Neo4j.scala][graphar2neo4j] for the complete example. ::: -[test-graph-transformer]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/TestGraphTransformer.scala -[transformer-example]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/TransformExample.scala -[compute-example]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/ComputeExample.scala -[neo4j2graphar]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/main/scala/org/apache/graphar/example/Neo4j2GraphAr.scala -[graphar2neo4j]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Neo4j.scala \ No newline at end of file +[test-graph-transformer]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphTransformer.scala +[transformer-example]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TransformExample.scala +[compute-example]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/ComputeExample.scala +[neo4j2graphar]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/Neo4j2GraphAr.scala +[graphar2neo4j]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Neo4j.scala \ No newline at end of file diff --git a/docs/libraries/spark/spark.md b/docs/libraries/spark/spark.md index 0a7c7d5f4..e2f5d5586 100644 --- a/docs/libraries/spark/spark.md +++ b/docs/libraries/spark/spark.md @@ -226,12 +226,12 @@ For more information on usage, please refer to the examples: - [Neo4j2GraphAr.scala][neo4j2graphar] and [GraphAr2Neo4j.scala][graphar2neo4j] are examples to conduct data importing/exporting for Neo4j. -[test-graph-info]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/TestGraphInfo.scala -[test-index-generator]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/TestIndexGenerator.scala -[test-writer]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/TestWriter.scala -[test-reader]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/TestReader.scala -[test-graph-transformer]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/TestGraphTransformer.scala -[compute-example]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/ComputeExample.scala -[transform-example]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/test/scala/org/apache/graphar/TransformExample.scala -[neo4j2graphar]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/main/scala/org/apache/graphar/example/Neo4j2GraphAr.scala -[graphar2neo4j]: https://github.com/apache/incubator-graphar/blob/main/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Neo4j.scala \ No newline at end of file +[test-graph-info]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphInfo.scala +[test-index-generator]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestIndexGenerator.scala +[test-writer]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestWriter.scala +[test-reader]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestReader.scala +[test-graph-transformer]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TestGraphTransformer.scala +[compute-example]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/ComputeExample.scala +[transform-example]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/test/scala/org/apache/graphar/TransformExample.scala +[neo4j2graphar]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/Neo4j2GraphAr.scala +[graphar2neo4j]: https://github.com/apache/incubator-graphar/blob/main/maven-projects/spark/graphar/src/main/scala/org/apache/graphar/example/GraphAr2Neo4j.scala \ No newline at end of file diff --git a/maven-projects/java/README.md b/maven-projects/java/README.md index af3bde40c..9676264eb 100644 --- a/maven-projects/java/README.md +++ b/maven-projects/java/README.md @@ -46,7 +46,7 @@ Make the graphar-java-library directory as the current working directory: $ git clone https://github.com/apache/incubator-graphar.git $ cd incubator-graphar $ git submodule update --init - $ cd java + $ cd maven-projects/java ``` Compile package: @@ -82,4 +82,4 @@ The API document will be generated in the `target/site/apidocs` directory. ## How to use -Please refer to [GraphAr Java Library Documentation](https://graphar.apache.org/GraphAr/user-guide/java-lib.html). \ No newline at end of file +Please refer to [GraphAr Java Library Documentation](https://graphar.apache.org/docs/libraries/java/). \ No newline at end of file diff --git a/maven-projects/spark/README.md b/maven-projects/spark/README.md index ef9d9f2c6..5e7e7bf5e 100644 --- a/maven-projects/spark/README.md +++ b/maven-projects/spark/README.md @@ -22,24 +22,24 @@ repository and navigated to the ``spark`` subdirectory: $ git clone https://github.com/apache/incubator-graphar.git $ cd incubator-graphar $ git submodule update --init - $ cd spark + $ cd mavens-projects/spark ``` Build the package: ```bash - $ mvn clean package -DskipTests + $ mvn clean install -DskipTests ``` -GraphAr Spark uses Maven Profiles to support multiple Spark Versions. By default it is built with Spark 3.2.x or profile `datasources-32`. To built with Spark 3.3.4 use `-P datasources-33` (`mvn clean package -DskipTests -P datasources-33`). +GraphAr Spark uses Maven Profiles to support multiple Spark Versions. By default it is built with Spark 3.2.x or profile `datasources-32`. To built with Spark 3.3.4 use `-P datasources-33` (`mvn clean install -DskipTests -P datasources-33`). After compilation, the package file graphar-x.x.x-SNAPSHOT-shaded.jar is generated in the directory ``spark/graphar/target/``. Build the package and run the unit tests: ```bash - $ mvn clean package + $ mvn clean install ``` Build and run the unit tests: @@ -231,4 +231,4 @@ The example will import the basketballplayer graph from GraphAr to NebulaGraph a ## How to use -Please refer to our [GraphAr Spark Library Documentation](https://graphar.apache.org/GraphAr/spark/spark-lib.html). +Please refer to our [GraphAr Spark Library Documentation](https://graphar.apache.org/docs/libraries/spark/). From de02934a5013ce2edee807d8bf7f2d723e48369a Mon Sep 17 00:00:00 2001 From: acezen Date: Tue, 7 May 2024 05:16:20 +0000 Subject: [PATCH 3/9] Update the test link Signed-off-by: acezen --- .github/workflows/java.yml | 10 +++++----- .github/workflows/pyspark.yml | 4 ++-- .github/workflows/spark.yaml | 14 +++++++------- .../spark/graphar/src/test/resources/gar-test | 2 +- pyspark/Makefile | 2 +- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 892409f56..8c16b2f16 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -24,13 +24,13 @@ on: branches: - main paths: - - 'java/**' + - 'maven-projects/java/**' - '.github/workflows/java.yml' pull_request: branches: - main paths: - - 'java/**' + - 'maven-projects/java/**' - '.github/workflows/java.yml' concurrency: @@ -61,19 +61,19 @@ jobs: sudo apt-get install llvm-11 clang-11 lld-11 libclang-11-dev libz-dev -y - name: Code Format Check - working-directory: java + working-directory: maven-projects/java run: | export JAVA_HOME=${JAVA_HOME_11_X64} mvn --no-transfer-progress spotless:check - name: Build Java Docs - working-directory: java + working-directory: maven-projects/java run: | export JAVA_HOME=${JAVA_HOME_11_X64} mvn --no-transfer-progress javadoc:javadoc - name: Run test - working-directory: java + working-directory: maven-projects/java run: | # Temporarily using Java 8, related issue: https://github.com/apache/incubator-graphar/issues/277 export JAVA_HOME=${JAVA_HOME_8_X64} diff --git a/.github/workflows/pyspark.yml b/.github/workflows/pyspark.yml index 223e73b3f..702122c4e 100644 --- a/.github/workflows/pyspark.yml +++ b/.github/workflows/pyspark.yml @@ -24,14 +24,14 @@ on: branches: - main paths: - - 'spark/**' + - 'maven-projects/spark/**' - 'pyspark/**' - '.github/workflows/pyspark.yml' pull_request: branches: - main paths: - - 'spark/**' + - 'maven-projects/spark/**' - 'pyspark/**' - '.github/workflows/pyspark.yml' diff --git a/.github/workflows/spark.yaml b/.github/workflows/spark.yaml index 763bb96c4..f3bbd1cda 100644 --- a/.github/workflows/spark.yaml +++ b/.github/workflows/spark.yaml @@ -24,13 +24,13 @@ on: branches: - main paths: - - 'spark/**' + - 'maven-projects/spark/**' - '.github/workflows/spark.yaml' pull_request: branches: - main paths: - - 'spark/**' + - 'maven-projects/spark/**' - '.github/workflows/spark.yaml' concurrency: @@ -63,14 +63,14 @@ jobs: mvn --no-transfer-progress spotless:check - name: Build GraphAr Spark - working-directory: spark + working-directory: maven-projects/spark run: | export JAVA_HOME=${JAVA_HOME_11_X64} echo "Build ${{ matrix.mvn-profile }}" mvn --no-transfer-progress clean package -DskipTests -Dspotless.check.skip=true -P ${{ matrix.mvn-profile }} - name: Build Spark Docs - working-directory: spark + working-directory: maven-projects/spark run: | export JAVA_HOME=${JAVA_HOME_11_X64} echo "Build ${{ matrix.mvn-profile }}" @@ -79,7 +79,7 @@ jobs: mvn --no-transfer-progress scala:doc - name: Run test - working-directory: spark + working-directory: maven-projects/spark run: | export JAVA_HOME=${JAVA_HOME_11_X64} export SPARK_TESTING=1 @@ -87,7 +87,7 @@ jobs: mvn test --no-transfer-progress -Dspotless.check.skip=true -P ${{ matrix.mvn-profile }} - name: Run Neo4j2GraphAr example - working-directory: spark + working-directory: maven-projects/spark run: | export JAVA_HOME=${JAVA_HOME_11_X64} scripts/get-spark-to-home.sh ${{ matrix.spark }} ${{ matrix.spark-hadoop }} @@ -138,7 +138,7 @@ jobs: scripts/run-graphar2nebula.sh - name: Run Neo4j importer - working-directory: spark + working-directory: maven-projects/spark run: | export JAVA_HOME=${JAVA_HOME_11_X64} export SPARK_HOME="${HOME}/${{ matrix.spark-hadoop }}" diff --git a/maven-projects/spark/graphar/src/test/resources/gar-test b/maven-projects/spark/graphar/src/test/resources/gar-test index 4ce4f440f..3bce4fac8 120000 --- a/maven-projects/spark/graphar/src/test/resources/gar-test +++ b/maven-projects/spark/graphar/src/test/resources/gar-test @@ -1 +1 @@ -../../../../../testing/ \ No newline at end of file +../../../../../../testing \ No newline at end of file diff --git a/pyspark/Makefile b/pyspark/Makefile index abafc7c96..af1c5462a 100644 --- a/pyspark/Makefile +++ b/pyspark/Makefile @@ -18,7 +18,7 @@ .PHONY: install_test install_test: export JAVA_HOME=${JAVA_HOME_11_X64} - cd ../spark && mvn --no-transfer-progress clean package -DskipTests -Dspotless.check.skip=true && cd ../pyspark + pushd ../maven-projects/spark && mvn --no-transfer-progress clean package -DskipTests -Dspotless.check.skip=true && popd export PYSPARK_HADOOP_VERSION=3.2 poetry install --with=spark,tests From e7cd0646cf87bb2a81b0110f07479fb1bafa2a0b Mon Sep 17 00:00:00 2001 From: acezen Date: Tue, 7 May 2024 05:18:11 +0000 Subject: [PATCH 4/9] Fix --- .github/workflows/spark.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/spark.yaml b/.github/workflows/spark.yaml index f3bbd1cda..c13612103 100644 --- a/.github/workflows/spark.yaml +++ b/.github/workflows/spark.yaml @@ -57,7 +57,7 @@ jobs: submodules: true - name: Code Format Check - working-directory: spark + working-directory: maven-projects/spark run: | export JAVA_HOME=${JAVA_HOME_11_X64} mvn --no-transfer-progress spotless:check @@ -112,7 +112,7 @@ jobs: scripts/run-graphar2neo4j.sh - name: Run Nebula2GraphAr example - working-directory: spark + working-directory: maven-projects/spark run: | export JAVA_HOME=${JAVA_HOME_11_X64} scripts/get-nebula-to-home.sh From 3ec5e74abbb9aea036373edeaba87e52dd1e41b3 Mon Sep 17 00:00:00 2001 From: acezen Date: Tue, 7 May 2024 06:32:05 +0000 Subject: [PATCH 5/9] Update --- .github/workflows/java.yml | 2 +- pyspark/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 8c16b2f16..a9c329552 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -78,5 +78,5 @@ jobs: # Temporarily using Java 8, related issue: https://github.com/apache/incubator-graphar/issues/277 export JAVA_HOME=${JAVA_HOME_8_X64} export LLVM11_HOME=/usr/lib/llvm-11 - export GAR_TEST_DATA=$PWD/../testing/ + export GAR_TEST_DATA=$PWD/../../testing/ mvn --no-transfer-progress clean test -Dspotless.check.skip=true diff --git a/pyspark/Makefile b/pyspark/Makefile index af1c5462a..daea2b86a 100644 --- a/pyspark/Makefile +++ b/pyspark/Makefile @@ -18,7 +18,7 @@ .PHONY: install_test install_test: export JAVA_HOME=${JAVA_HOME_11_X64} - pushd ../maven-projects/spark && mvn --no-transfer-progress clean package -DskipTests -Dspotless.check.skip=true && popd + cd ../maven-projects/spark && mvn --no-transfer-progress clean package -DskipTests -Dspotless.check.skip=true && cd ../../pyspark export PYSPARK_HADOOP_VERSION=3.2 poetry install --with=spark,tests From 09f6ee128e51abee3c2335072fd6896d7621eff0 Mon Sep 17 00:00:00 2001 From: acezen Date: Tue, 7 May 2024 06:39:55 +0000 Subject: [PATCH 6/9] Fix --- pyspark/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyspark/tests/conftest.py b/pyspark/tests/conftest.py index 6b58d678b..036c7562a 100644 --- a/pyspark/tests/conftest.py +++ b/pyspark/tests/conftest.py @@ -20,7 +20,7 @@ import pytest from pyspark.sql import SparkSession -JARS_PATH = Path(__file__).parent.parent.parent.joinpath("spark").joinpath("graphar").joinpath("target") +JARS_PATH = Path(__file__).parent.parent.parent.joinpath("maven-projects/spark").joinpath("graphar").joinpath("target") GRAPHAR_SHADED_JAR_PATH = None for jar_file in JARS_PATH.glob("*.jar"): From 97ded0848c09f731652d97b3189bcd8f208a8553 Mon Sep 17 00:00:00 2001 From: acezen Date: Tue, 7 May 2024 18:36:05 +0800 Subject: [PATCH 7/9] Fix --- maven-projects/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-projects/pom.xml b/maven-projects/pom.xml index ed50a72ca..03f3a28c5 100644 --- a/maven-projects/pom.xml +++ b/maven-projects/pom.xml @@ -30,7 +30,7 @@ Apache GraphAr Root POM - info + java spark From aae38b3a37bb0ba19c2b4dda936ad24fdd6fce24 Mon Sep 17 00:00:00 2001 From: acezen Date: Wed, 8 May 2024 09:26:19 +0800 Subject: [PATCH 8/9] Unify the package name with directory --- maven-projects/java/pom.xml | 10 +++++----- maven-projects/spark/pom.xml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/maven-projects/java/pom.xml b/maven-projects/java/pom.xml index f13dcb123..bc56df936 100644 --- a/maven-projects/java/pom.xml +++ b/maven-projects/java/pom.xml @@ -32,13 +32,13 @@ ../pom.xml - gar-java + java jar - gar-java + java - gar-java + java 8 8 UTF-8 @@ -49,8 +49,8 @@ 13.0.0 2.2.1 3.4.0 - gar-java-javadoc - gar-java-javadoc + gar-javadoc + gar-javadoc ON diff --git a/maven-projects/spark/pom.xml b/maven-projects/spark/pom.xml index ff44ac514..caab96d5f 100644 --- a/maven-projects/spark/pom.xml +++ b/maven-projects/spark/pom.xml @@ -31,7 +31,7 @@ ../pom.xml - graphar-spark + spark pom From ca0cb44203eeb4139e8501c046294147ddb39eb6 Mon Sep 17 00:00:00 2001 From: acezen Date: Wed, 8 May 2024 09:30:09 +0800 Subject: [PATCH 9/9] Update Signed-off-by: acezen --- docs/libraries/java/java.md | 2 +- docs/libraries/pyspark/pyspark.md | 2 +- docs/libraries/spark/spark.md | 4 ++-- maven-projects/java/README.md | 2 +- maven-projects/java/pom.xml | 4 ++-- maven-projects/spark/datasources-32/pom.xml | 2 +- maven-projects/spark/datasources-33/pom.xml | 2 +- maven-projects/spark/graphar/pom.xml | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/libraries/java/java.md b/docs/libraries/java/java.md index a01bb5188..da3ddefe0 100644 --- a/docs/libraries/java/java.md +++ b/docs/libraries/java/java.md @@ -88,7 +88,7 @@ Then set GraphAr as a dependency in maven project: org.apache.graphar - gar-java + java 0.1.0 diff --git a/docs/libraries/pyspark/pyspark.md b/docs/libraries/pyspark/pyspark.md index e4a70c67f..6436d7393 100644 --- a/docs/libraries/pyspark/pyspark.md +++ b/docs/libraries/pyspark/pyspark.md @@ -93,7 +93,7 @@ You cannot install graphar-pyspark from PyPi for now. ### Initialization GraphAr PySpark is not a standalone library but bindings to GraphAr -Scala. You need to have *graphar-spark-x.x.x.jar* in your *spark-jars*. +Scala. You need to have *spark-x.x.x.jar* in your *spark-jars*. Please refer to [GraphAr scala documentation](../spark/spark.md) to get this JAR. diff --git a/docs/libraries/spark/spark.md b/docs/libraries/spark/spark.md index e2f5d5586..82c2bb456 100644 --- a/docs/libraries/spark/spark.md +++ b/docs/libraries/spark/spark.md @@ -30,10 +30,10 @@ For more information on its usage, please refer to the [Examples](examples.md). ### Building from source -Make the graphar-spark-library directory as the current working directory: +Make the spark-library directory as the current working directory: ```bash -cd incubator-graphar/spark/ +cd incubator-graphar/maven_projects/spark/ ``` Compile package: diff --git a/maven-projects/java/README.md b/maven-projects/java/README.md index 9676264eb..12572e136 100644 --- a/maven-projects/java/README.md +++ b/maven-projects/java/README.md @@ -64,7 +64,7 @@ Then set GraphAr as a dependency in maven project: org.apache.graphar - gar-java + java 0.1.0 diff --git a/maven-projects/java/pom.xml b/maven-projects/java/pom.xml index bc56df936..a5a1fdf4d 100644 --- a/maven-projects/java/pom.xml +++ b/maven-projects/java/pom.xml @@ -49,8 +49,8 @@ 13.0.0 2.2.1 3.4.0 - gar-javadoc - gar-javadoc + graphar-javadoc + graphar-javadoc ON diff --git a/maven-projects/spark/datasources-32/pom.xml b/maven-projects/spark/datasources-32/pom.xml index f0b587b15..265eb4c67 100644 --- a/maven-projects/spark/datasources-32/pom.xml +++ b/maven-projects/spark/datasources-32/pom.xml @@ -26,7 +26,7 @@ org.apache.graphar - graphar-spark + spark ${graphar.version} ../pom.xml diff --git a/maven-projects/spark/datasources-33/pom.xml b/maven-projects/spark/datasources-33/pom.xml index f0b587b15..265eb4c67 100644 --- a/maven-projects/spark/datasources-33/pom.xml +++ b/maven-projects/spark/datasources-33/pom.xml @@ -26,7 +26,7 @@ org.apache.graphar - graphar-spark + spark ${graphar.version} ../pom.xml diff --git a/maven-projects/spark/graphar/pom.xml b/maven-projects/spark/graphar/pom.xml index 04f4cf15e..45b99fbf7 100644 --- a/maven-projects/spark/graphar/pom.xml +++ b/maven-projects/spark/graphar/pom.xml @@ -26,7 +26,7 @@ org.apache.graphar - graphar-spark + spark ${graphar.version} ../pom.xml