Ho osservato il sistema di gestione ma alcune cose ancora mi sfuggono. In sostanza, quello che voglio fare è:Titan db come elencare tutti gli indici del grafico
- Elenca tutti gli indici basati su Edge (incluso vertice).
- Elenca tutti gli indici basati su vertici (in base all'etichetta se l'indice è collegato a un'etichetta).
Fondamentalmente è come mappare lo schema del grafico.
Ho provato alcune cose ma ottengo solo dati parziali al meglio.
g.getIndexdKeys(<Vertex or Edge>);
//basic information. Doesn't seem to return any buildEdgeIndex() based indexes
mgmt.getVertexLabels();
// gets labels, can't find a way of getting indexes attached to these labels.
mgmt.getGraphIndexes(Vertex.class);
// works nicely I can retrieve Vertex indexes and get pretty much any
// information I want out of them except for information regarding
// indexOnly(label). So I can't tell what label these indexes are attached to.
mgmt.getGraphIndexes(Edge.class);
// doesn't seem to return any buildEdgeIndex() indexes.
Qualsiasi aiuto nel riempire il vuoto sarebbe utile.
Id piacerebbe sapere:
- Come posso trovare gli indici collegati a un'etichetta (o l'etichetta attaccata ad un indice) tramite indexonly()
- Come posso elencare gli indici dei bordi impostati tramite buildEdgeIndex() e le rispettive etichette di bordo?
Grazie in anticipo.
Ulteriori informazioni: Titan 0.5.0, Cassandra backend, via rexster.
sorprendente grazie! Ne avevo già tratto una parte ma mancava l'etichetta dei vertici. –