Coder Social home page Coder Social logo

janusgraph-utils's Introduction

janusgraph-utils

JanusGraph配置说明

Graph配置
  • graph.set-vertex-id=true
    • 是否自定义ID, 默认false
  • gremlin.graph=org.janusgraph.core.JanusGraphFactory
    • graph主入口
  • storage.backend=hbase
    • hbase存储方式
  • storage.hostname=127.0.0.1:2181
    • hbase存储 Zookeeper地址
  • storage.hbase.table=nn:graph
    • hbase存储�表空间:表名
  • storage.hbase.ext.zookeeper.znode.parent=/hbase
    • hbase存储在Zookeeper的家目录
Cache配置
  • cache.db-cache = true
  • cache.db-cache-clean-wait = 20
  • cache.db-cache-time = 180000
  • cache.db-cache-size = 0.5
Index配置
  • index.search.backend=elasticsearch
  • index.search.hostname=127.0.0.1
  • index.search.port=9200
  • index.search.elasticsearch.client-only=true
  • index.search.elasticsearch.local-mode=true

JanusGraph+Hbase+Es简易模板

graph.set-vertex-id=true
gremlin.graph=org.janusgraph.core.JanusGraphFactory
storage.backend=hbase
storage.hostname=127.0.0.1:2181
storage.hbase.table=nn:graph
storage.hbase.ext.zookeeper.znode.parent=/hbase

cache.db-cache=true
cache.db-cache-clean-wait=20
cache.db-cache-time=180000
cache.db-cache-size=0.5

index.search.backend=elasticsearch
index.search.hostname=127.0.0.1
index.search.port=9200
index.search.elasticsearch.client-only=true
index.search.elasticsearch.local-mode=true

JanusGraph数据导入导出及Schema创建

此包中对janusgraph-api作了简单包装, 仅供学习参考使用.

Schema创建注意事项

  • 复合索引可能是唯一索引。
  • 外部索引不能是唯一索引。
  • 复合索引中PropertKey不能存在Parameter.
  • 外部索引中PropertKey可以存在或不存在Parameter.

功能流程图

功能流程图

数据校验流程图

janusgraph-utils's People

Contributors

example123 avatar fsixteen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.