incubator-graphar
An open source, standard data file format for graph data storage and retrieval.
File Explorer
Download Latest Version (.zip)- devcontainer.json
- Dockerfile
- Makefile
- bug_report.yml
- config.yml
- feature_request.yml
- update_version.py
- ci-nightly.yml
- ci.yml
- docs.yml
- go.yaml
- java-info.yml
- java.yml
- license.yml
- pr-title.yml
- pre-commit.yml
- publish-docker.yml
- pyspark.yml
- python-wheel-workflow.yml
- python.yml
- rust.yaml
- spark.yaml
- .licenserc.yaml
- PULL_REQUEST_TEMPLATE.md
- arrow_chunk_reader_benchmark.cc
- benchmark_util.h
- CMakeLists.txt
- graph_info_benchmark.cc
- label_filter_benchmark.cc
- apache-arrow.cmake
- bfs_father_example.cc
- bfs_pull_example.cc
- bfs_push_example.cc
- bfs_stream_example.cc
- bgl_example.cc
- cc_push_example.cc
- cc_stream_example.cc
- CMakeLists.txt
- config.h
- construct_info_example.cc
- filtering_example.cc
- high_level_reader_example.cc
- high_level_writer_example.cc
- low_level_reader_example.cc
- mid_level_reader_example.cc
- mid_level_writer_example.cc
- pagerank_example.cc
- snap_dataset_to_graphar.cc
- cpplint.py
- arrow_reader.h
- arrow_writer.h
- high_level_reader.h
- high_level_writer.h
- info.h
- meta_reader.h
- meta_writer.h
- chunk_reader.cc
- chunk_reader.h
- chunk_writer.cc
- chunk_writer.h
- edges_builder.cc
- edges_builder.h
- graph_reader.cc
- graph_reader.h
- vertices_builder.cc
- vertices_builder.h
- chunk_info_reader.cc
- chunk_info_reader.h
- chunk_info_writer.cc
- chunk_info_writer.h
- convert_to_arrow_type.h
- expression.cc
- expression.h
- filesystem.cc
- filesystem.h
- fwd.h
- general_params.h
- graph_info.cc
- graph_info.h
- label.cc
- label.h
- macros.h
- reader_util.cc
- reader_util.h
- result.h
- status.h
- types.cc
- types.h
- util.cc
- util.h
- version_parser.cc
- version_parser.h
- writer_util.cc
- writer_util.h
- yaml.cc
- yaml.h
- CMakeLists.txt
- CMakeLists.txt
- test_arrow_chunk_reader.cc
- test_arrow_chunk_writer.cc
- test_builder.cc
- test_chunk_info_reader.cc
- test_graph.cc
- test_info.cc
- test_multi_label.cc
- test_multi_property.cc
- util.h
- Yaml.cpp
- Yaml.hpp
- result.hpp
- uri_parser.h
- .gitignore
- Brewfile
- CMakeLists.txt
- CMakePresets.json
- disclaimer_footer.html
- Doxyfile
- graphar-config-version.in.cmake
- graphar-config.in.cmake
- README.md
- conda_env_cpp.txt
- conda_env_scala.txt
- release.py
- setup-ubuntu.sh
- verify.py
- download_test_data.sh
- benchmark_IO_time.png
- benchmark_label_complex_filter.png
- benchmark_label_simple_filter.png
- benchmark_label_storage.png
- benchmark_neighbor_retrieval.png
- benchmark_storage.png
- edge_logical_table.png
- edge_physical_table1.png
- edge_physical_table2.png
- graphar-logo-notext.png
- graphar-logo.png
- graphar-logo.svg
- graphar.ico
- overview.png
- property_graph.png
- qrcode.png
- vertex_logical_table.png
- vertex_physical_table.png
- _category_.yml
- bgl.md
- graphscope.md
- out-of-core.md
- snap-to-graphar.md
- _category_.yml
- getting-started.md
- getting-started.md
- getting-started.md
- how_to_develop_java_ffi.md
- java.md
- how-to.md
- pyspark.md
- examples.md
- spark.md
- _category_.yml
- concepts.md
- motivation.md
- overview.md
- _category_.yml
- format.md
- implementation-status.md
- .markdownlint.yaml
- index.md
- README.md
- .gitignore
- .golangci.yml
- doc.go
- go.mod
- go.sum
- Makefile
- README.md
- LICENSE-cpplint.txt
- LICENSE-mini-yaml.txt
- LICENSE-result.txt
- LICENSE-simple-uri-parser
- LocalFileSystemReaderGraphInfoLoader.java
- LocalFileSystemStreamGraphInfoLoader.java
- LocalFileSystemStringGraphInfoLoader.java
- BaseGraphInfoLoader.java
- GraphInfoLoader.java
- ReaderGraphInfoLoader.java
- StreamGraphInfoLoader.java
- StringGraphInfoLoader.java
- LocalFileSystemYamlGraphSaver.java
- BaseGraphInfoSaver.java
- GraphInfoSaver.java
- AdjListType.java
- Cardinality.java
- DataType.java
- FileType.java
- AdjacentListYaml.java
- EdgeYaml.java
- ExtraInfoYaml.java
- GraphYaml.java
- PropertyGroupYaml.java
- PropertyYaml.java
- VertexYaml.java
- AdjacentList.java
- EdgeInfo.java
- GraphInfo.java
- Property.java
- PropertyGroup.java
- VersionInfo.java
- VersionParser.java
- VertexInfo.java
- GeneralParams.java
- DataTypeTest.java
- AdjacentListTest.java
- BaseFileSystemTest.java
- EdgeInfoTest.java
- GraphInfoLoaderTest.java
- GraphInfoMetadataTest.java
- GraphInfoSaverTest.java
- GraphInfoTest.java
- GraphInfoUriTest.java
- MultiFormatGraphInfoTest.java
- MultiPropertyTest.java
- PropertyGroupTest.java
- PropertyTest.java
- TestDataFactory.java
- TestUtil.java
- TestVerificationUtils.java
- VersionInfoTest.java
- VertexInfoLabelsTest.java
- VertexInfoTest.java
- pom.xml
- README.md
- graphar-cpp.cmake
- jni_org_apache_graphar_arrow_ArrowTableStatic.cc
- ArrowArray.java
- ArrowResult.java
- ArrowStatus.java
- ArrowTable.java
- package-info.java
- StructArrowArray.java
- StructArrowSchema.java
- Edge.java
- EdgeIter.java
- EdgesCollection.java
- package-info.java
- AdjacentList.java
- EdgeInfo.java
- GraphInfo.java
- package-info.java
- Property.java
- PropertyGroup.java
- VertexInfo.java
- AdjListArrowChunkReader.java
- AdjListOffsetArrowChunkReader.java
- AdjListPropertyArrowChunkReader.java
- package-info.java
- VertexPropertyArrowChunkReader.java
- AdjListChunkInfoReader.java
- AdjListPropertyChunkInfoReader.java
- package-info.java
- VertexPropertyChunkInfoReader.java
- package-info.java
- StdMap.java
- StdPair.java
- StdSharedPtr.java
- StdString.java
- StdUnorderedMap.java
- StdVector.java
- AdjListType.java
- DataType.java
- FileType.java
- package-info.java
- Type.java
- ValidateLevel.java
- CppClassName.java
- CppHeaderName.java
- GeneralParams.java
- GrapharStaticFunctions.java
- IndexConverter.java
- InfoVersion.java
- JNILibraryName.java
- package-info.java
- Result.java
- Status.java
- StatusCode.java
- Yaml.java
- package-info.java
- Vertex.java
- VertexIter.java
- VerticesCollection.java
- Edge.java
- EdgesBuilder.java
- package-info.java
- Vertex.java
- VerticesBuilder.java
- EdgeChunkWriter.java
- package-info.java
- VertexPropertyWriter.java
- EdgesCollectionTest.java
- EdgeInfoTest.java
- GraphInfoTest.java
- VertexInfoTest.java
- AdjListArrowChunkReaderTest.java
- AdjListOffsetArrowChunkReaderTest.java
- AdjListPropertyArrowChunkReaderTest.java
- VertexPropertyArrowChunkReaderTest.java
- AdjListChunkInfoReaderTest.java
- AdjListPropertyChunkInfoReaderTest.java
- VertexPropertyChunkInfoReaderTest.java
- InfoVersionTest.java
- VerticesCollectionTest.java
- EdgesBuilderTest.java
- VerticesBuilderTest.java
- EdgeChunkWriterTest.java
- VertexPropertyWriterTest.java
- .gitignore
- build.xml
- CMakeLists.txt
- pom.xml
- README.md
- GeneralParams.java
- GarDataSource.scala
- CSVWriteBuilder.scala
- JSONWriteBuilder.scala
- OrcOutputWriter.scala
- OrcWriteBuilder.scala
- ParquetWriteBuilder.scala
- GarCommitProtocol.scala
- GarScan.scala
- GarScanBuilder.scala
- GarTable.scala
- GarWriteBuilder.scala
- .scalafmt.conf
- pom.xml
- GeneralParams.java
- GarDataSource.scala
- CSVWriteBuilder.scala
- JSONWriteBuilder.scala
- OrcOutputWriter.scala
- OrcWriteBuilder.scala
- ParquetWriteBuilder.scala
- GarCommitProtocol.scala
- GarScan.scala
- GarScanBuilder.scala
- GarTable.scala
- GarWriteBuilder.scala
- .scalafmt.conf
- pom.xml
- GeneralParams.java
- GarDataSource.scala
- CSVWriteBuilder.scala
- JSONWriteBuilder.scala
- OrcOutputWriter.scala
- OrcWriteBuilder.scala
- ParquetWriteBuilder.scala
- GarCommitProtocol.scala
- GarScan.scala
- GarScanBuilder.scala
- GarTable.scala
- GarWriteBuilder.scala
- .scalafmt.conf
- pom.xml
- GeneralParams.java
- GarDataSource.scala
- CSVWriteBuilder.scala
- JSONWriteBuilder.scala
- OrcOutputWriter.scala
- OrcWriteBuilder.scala
- ParquetWriteBuilder.scala
- GarCommitProtocol.scala
- GarScan.scala
- GarScanBuilder.scala
- GarTable.scala
- GarWriteBuilder.scala
- .scalafmt.conf
- pom.xml
- GeneralParams.java
- GraphAr2Nebula.scala
- GraphAr2Neo4j.scala
- LdbcSample2GraphAr.scala
- Nebula2GraphAr.scala
- Neo4j2GraphAr.scala
- GraphReader.scala
- GraphTransformer.scala
- GraphWriter.scala
- Neo4j.scala
- EdgeReader.scala
- VertexReader.scala
- DataFrameConcat.scala
- FileSystem.scala
- IndexGenerator.scala
- Patitioner.scala
- Utils.scala
- EdgeWriter.scala
- VertexWriter.scala
- EdgeInfo.scala
- GraphInfo.scala
- VertexInfo.scala
- BaseTestSuite.scala
- ComputeExample.scala
- TestGraphInfo.scala
- TestGraphReader.scala
- TestGraphTransformer.scala
- TestGraphWriter.scala
- TestIndexGenerator.scala
- TestLabelReaderAndWriter.scala
- TestReader.scala
- TestWriter.scala
- TransformExample.scala
- .scalafmt.conf
- pom.xml
- neo4j.json
- neo4j.sh
- build.sh
- deploy-nebula-default-data.sh
- deploy-neo4j-movie-data.sh
- get-nebula-to-home.sh
- get-neo4j-to-home.sh
- get-spark-to-home.sh
- run-graphar2nebula.sh
- run-graphar2neo4j.sh
- run-ldbc-sample2graphar.sh
- run-nebula2graphar.sh
- run-neo4j2graphar.sh
- .gitignore
- .scalafix.conf
- .scalafmt.conf
- pom.xml
- README.md
- InputFile.java
- OutputFile.java
- PositionOutput.java
- SeekableInput.java
- Storage.java
- SeekableInputTest.java
- pom.xml
- pom.xml
- __init__.py
- enums.py
- errors.py
- graph.py
- info.py
- reader.py
- util.py
- writer.py
- module.html.jinja2
- __init__.py
- conftest.py
- test_enums.py
- test_info.py
- test_reader.py
- test_transform.py
- test_writer.py
- .gitignore
- Makefile
- poetry.lock
- pyproject.toml
- README.md
- graph_info_example.py
- high_level_example.py
- import_util.h
- pybind_util.h
- _core_module.cc
- cli_binding.cc
- graph_info_binding.cc
- high_level_binding.cc
- importer.h
- types_binding.cc
- __init__.py
- graphar_cli.py
- README.md
- __init__.py
- config.py
- data_import.py
- importer.py
- __init__.py
- graph_info.py
- high_level.py
- logging.py
- types.py
- conftest.py
- test_graph_info.py
- test_graphar_cli.py
- test_high_level_api.py
- .gitignore
- CMakeLists.txt
- Makefile
- poetry.lock
- pyproject.toml
- README.md
- graphar_rs.h
- mod.rs
- property_value.rs
- vertex.rs
- adjacent_list.rs
- edge_info.rs
- graph_info.rs
- mod.rs
- version.rs
- vertex_info.rs
- error.rs
- ffi.rs
- graphar_rs.cc
- lib.rs
- property.rs
- types.rs
- build.rs
- Cargo.lock
- Cargo.toml
- deny.toml
- Dockerfile
- rust-toolchain.toml
- taplo.toml
- .asf.yaml
- .clang-format
- .clang-tidy
- .gitignore
- .gitmodules
- .pre-commit-config.yaml
- CHANGELOG.md
- cmake-format.py
- cmake.log
- CODE_OF_CONDUCT.md
- codecov.yml
- CONTRIBUTING.md
- DISCLAIMER
- LICENSE
- licenserc.toml
- make.log
- NOTICE
- README-zh-cn.md
- README.md
- testing
# Installation Guide
git clone https://github.com/apache/incubator-graphar
Downloads the entire project code from GitHub to your computer.
cd incubator-graphar
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f rust/Dockerfile -t incubator-graphar .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 incubator-graphar
Runs the built image as an actual container.
3. CMake
Mediumcd cpp
This project's files live in a subfolder, so move into it first.
mkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
4. Maven (Java)
Medium- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java projects.
- Maven The build tool used for the mvn command.
cd maven-projects/info
This project's files live in a subfolder, so move into it first.
mvn clean install
Installs dependencies and builds the project using Maven.
5. Python
Easypip install .
Installs the package published on PyPI directly β no need to clone the source.
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
6. Go
Mediumcd go/graphar
This project's files live in a subfolder, so move into it first.
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
7. Rust
Medium- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cd rust
This project's files live in a subfolder, so move into it first.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
8. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd go/graphar
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
