graphdb/src/main/java/com/orientechnologies/orient/graph/batch/OGraphBatchInsertBasic.java
public void createVertex(final Long v) {
    last = last < v ? v : last;
    final List<Long> outList = out.get(v);
    if (outList == null) {
      out.put(v, new ArrayList<Long>(averageEdgeNumberPerNode <= 0 ? 4 : averageEdgeNumberPerNode));
    }
  }
public void createVertex(final Long v) {
    last = last < v ? v : last;
    final List<Long> outList = out.get(v);
    if (outList == null) {
      out.put(v, new ArrayList<Long>(averageEdgeNumberPerNode <= 0 ? 4 : averageEdgeNumberPerNode));
    }
  }
public void createVertex ( final Long v ) { last = last < v ? v : last ; final List < Long > outList = out . get ( v ) ; if ( outList == null ) { out . put ( v , new ArrayList < Long > ( averageEdgeNumberPerNode <= 0 ? 4 : averageEdgeNumberPerNode ) ) ; } }
Creates a new vertex

@param v
the vertex ID
Creates a new vertex