Closed ozyygen closed 3 years ago
TitanManagement mgmt = titanGraph.openManagement(); mgmt.makePropertyKey("KIMLIK_NUMARASI").dataType(String.class).cardinality(Cardinality.SINGLE).make(); mgmt.makePropertyKey("PROTOKOL_NUMARASI").dataType(String.class).cardinality(Cardinality.SINGLE).make(); PropertyKey kimlik_no = mgmt.getPropertyKey("KIMLIK_NUMARASI"); PropertyKey protokol = mgmt.getPropertyKey("PROTOKOL_NUMARASI"); mgmt.buildIndex("kimlikveprotokol", Vertex.class).addKey(kimlik_no).addKey(protokol);
Hi, i m trying to add a composite index, but i get this error message "The method buildIndex(String, Class<? extends Element>) in the type TitanManagement is not applicable for the arguments (String, Class)" How can i fix it?
Hi, i m trying to add a composite index, but i get this error message "The method buildIndex(String, Class<? extends Element>) in the type TitanManagement is not applicable for the arguments (String, Class)" How can i fix it?