String function ( Path arg0 ) { return pathToString ( arg0 , new DefaultPathDescriptor < Path > ( ) { @ Override public String relationshipRepresentation ( Path arg0 , Node arg1 , Relationship arg2 ) { return arg2 . getStartNode ( ) . equals ( arg1 ) ? "srini_string" : "srini_string" ; } } ) ; }
returns a quite simple string representation of a path . it does n't print relationship types or ids , just directions . concode_field_sep PlaceHolder placeHolder concode_field_sep String relationshipRepresentation concode_elem_sep String relationshipRepresentation concode_elem_sep String pathToString concode_elem_sep String defaultPathToString concode_elem_sep String nodeRepresentation concode_elem_sep String nodeRepresentation