Janus Graph Vertex Property limits only 20 Characters of String as Value

Robert Dale <rob...@...>

On Thu, Jun 22, 2017 at 7:44 AM, <vennil...@...> wrote:
System.out.println("Value for NAME Property:"+remitterV.property("NAME"));

You're seeing the toString() of VertexProperty which truncates.  Try remitterV.property("NAME").value()

Robert Dale


Hi All,

Im creating a graph using JanusGraph.Creating a Vertex and added a property to it.I have assigned value to the property.The value is having more than 20 characters. After the graph commit, when I query the particular property of the graph, Im getting only first 20 characters.


Kindly help me on How to store more than 20 characters as a value to the property.


PFB the example for the above scenario


//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"

.property("NAME", "abcdefghijklmnopqrstuvwxyz");




//Querying property "NAME"

System.out.println("Value for NAME Property:"+remitterV.property("NAME"));




Value for NAME Property:abcdefghijklmnopqrst