org.vertexium.cli.model.LazyEdgeMap Maven / Gradle / Ivy
package org.vertexium.cli.model;
import org.vertexium.Edge;
import org.vertexium.FetchHints;
public class LazyEdgeMap extends ModelBase {
public LazyEdge get(String edgeId) {
Edge e = getGraph().getEdge(edgeId, getGraph().getDefaultFetchHints(), getTime(), getAuthorizations());
if (e == null) {
return null;
}
return new LazyEdge(edgeId);
}
}