我使用 JanusGraph 创建了一个图形。创建一个顶点并向它添加了一个属性。我已为该属性分配了值。该值有超过 20 个字符。图提交后,当我查询图的特定属性时,我只得到前 20 个字符。
请帮助我了解如何将 20 多个字符作为属性值存储。
PFB 上述场景的示例
//Creating Graph
public JanusGraph graph = JanusGraphFactory.open("janusGraphBatch.properties");
JanusGraphManagement manageSystem = graph.openManagement();
//Adding Vertex
Vertex remitterV= graph.addVertex();
//Adding value(more than 20 characters) to the Property "NAME"
remitterV.property("NAME", "abcdefghijklmnopqrstuvwxyz");
manageSystem.commit();
//Querying property "NAME"
System.out.println("Value for NAME Property:"+remitterV.property("NAME"));
Result:
Value for NAME Property:abcdefghijklmnopqrst