long function ( long arg0 ) { Preconditions . checkArgument ( arg0 > 0 , "srini_string" , arg0 ) ; Preconditions . checkArgument ( IDManager . IDType . Vertex . removePadding ( Long . MAX_VALUE ) >= arg0 , "srini_string" , arg0 ) ; return IDManager . IDType . Vertex . addPadding ( arg0 ) ; }
converts a user provided long id into a titan vertex id . the id must be positive and can be at most 61 bits long . this method is useful when providing ids during vertex creation via com.tinkerpop.blueprints.graph #addvertex object . concode_field_sep PlaceHolder placeHolder concode_field_sep long fromVertexId concode_elem_sep long fromVertexID