concept string in category graphs

This is an excerpt from Manning's book Graph Databases in Action.
One important difference to note about the repeat() and until() steps is that unlike the previous steps, which took a label, a string, or an integer, these steps utilize a traversal.
Create a string representing our traversal
To start this process we begin by connecting to our cluster. We discussed this back in chapter 6 but to refresh our memory: in order to connect to a cluster to submit a script we need to create a Client object using the connect() method. We’ll include a string in the connect() method which tells the client to establish a session with the cluster. We’ve chosen sgSession for our string, but any string would do.
Client client = cluster.connect("sgSession");Now that we’ve our connection to our database, we concatenate together a string that represents our traversal. This is exactly the same traversal for creating the subgraph which we developed earlier.