# janusgraph-tablestore **Repository Path**: aliyun/janusgraph-tablestore ## Basic Information - **Project Name**: janusgraph-tablestore - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-08 - **Last Updated**: 2025-05-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Plugin for [JanusGraph](https://janusgraph.org/). JanusGraph is a highly scalable [graph database](https://en.wikipedia.org/wiki/Graph_database) optimized for storing and querying large graphs with billions of vertices and edges distributed across a multi-machine cluster. JanusGraph is a transactional database that can support thousands of concurrent users, complex traversals, and analytic graph queries. # Getting Started ## Clone JanusGraph and this repo ``` git clone git@github.com:JanusGraph/janusgraph.git git clone git@github.com:aliyun/janusgraph-tablestore.git ``` ## Copy this repo dir to JanusGraph ``` mkdir -p janusgraph/janusgraph-tablestore && cp -r janusgraph-tablestore/* janusgraph/janusgraph-tablestore/ ``` ## Set tablestore as a new backend in JanusGraph ### `janusgraph/janusgraph-core/src/main/java/org/janusgraph/core/util/ReflectiveConfigOptionLoader.java` ``` List classnames = Collections.unmodifiableList(Arrays.asList( "org.janusgraph.diskstorage.hbase.HBaseStoreManager", "org.janusgraph.diskstorage.tablestore.TableStoreStoreManager", // add this line ``` ### `janusgraph/janusgraph-core/src/main/java/org/janusgraph/diskstorage/Backend.java` ``` //############ Registered Storage Managers ############## private static final Map> STORE_SHORTHAND_OPTIONS = Collections.unmodifiableMap(new HashMap>() {{ put(StandardStoreManager.BDB_JE, STORAGE_DIRECTORY); put(StandardStoreManager.CQL, STORAGE_HOSTS); put(StandardStoreManager.HBASE, STORAGE_HOSTS); put(StandardStoreManager.TABLESTORE,STORAGE_HOSTS); // add this line ``` ### `janusgraph/janusgraph-core/src/main/java/org/janusgraph/diskstorage/StandardStoreManager.java` ``` public enum StandardStoreManager { BDB_JE("org.janusgraph.diskstorage.berkeleyje.BerkeleyJEStoreManager", "berkeleyje"), CQL("org.janusgraph.diskstorage.cql.CQLStoreManager", "cql"), HBASE("org.janusgraph.diskstorage.hbase.HBaseStoreManager", "hbase"), TABLESTORE("org.janusgraph.diskstorage.tablestore.TableStoreStoreManager", "tablestore"), // add this line ```