1
Titan (내 시스템에서 임베디드 된 cassandra 포함)이 있습니다. 다음과 같이Rexster의 Groovy 명령 행에서 Vertices 생성을 테스트하십시오.
cd titan-cassandra-0.3.1
bin/titan.sh config/titan-server-rexster.xml config/titan-server-cassandra.properties
나는 내 시스템에
cd rexster-console-2.3.0
bin/rexster-console.sh
내가 설치 한 전구를 실행 rexster 서버가 있습니다.
내 컴퓨터에서 파이썬 코드에서 다음을 시도하면 다음을 실행합니다. 위의 이름으로 정점 rexster에서 그루비 명령 행을 쿼리에 의해 생성 된 경우 어떻게 알 수 있습니까
from bulbs.titan import Graph
g = Graph()
switch = g.vertices.create(name="switch")
device = g.vertices.create(name="device")
g.edges.create(switch, "connected to", device)
내 질문은?
렉스 마스터 콘솔과 렉스 마스터 서버의 차이점은 무엇입니까? – liv2hak
매우 큰 차이가 있습니다. 실제로 두 가지 프로그램이 있습니다. Rexster Server는 서버입니다. REST API, RexPro 및 Dog House를 제공합니다. Rexster Console은 RexPro를 통해 Rexster Server에 연결하는 클라이언트 응용 프로그램입니다. Rexster Console을 사용하여 Rexster Server에 원격으로 Gremlin을 실행할 수 있습니다. –
Rexster 서버가 Rexster 서버를 통해 Titan + Cassandra와 대화 할 수 있도록 Rexster 서버가 Titan 앞에있는 인터페이스로 실행 중입니다. – liv2hak