Search code examples
orientdb

Alternative to getVertexByKey in OrientDB 2.1


In OrientDB 2.1 the method getVertexByKey of the OrientGraph object is deprecated. What are the recommended alternatives? What is the reason?


Solution

  • Look at @see in JavaDoc: the recommended one is Iterable<Vertex> getVertices(final String iKey, Object iValue)