private static IDManager.VertexIDType getVertexIDType(VertexLabel vlabel) { if (vlabel.isPartitioned()) { return IDManager.VertexIDType.PartitionedVertex; } else if (vlabel.isStatic()) { return IDManager.VertexIDType.UnmodifiableVertex; } else { return IDManager.VertexIDType.NormalVertex; } }
public VertexLabelDefinition(VertexLabel vl) { this(vl.name(),vl.longId(),vl.isPartitioned(),vl.isStatic()); }
assertFalse(mgmt.containsVertexLabel("bla")); assertFalse(person.isPartitioned()); assertFalse(person.isStatic()); assertFalse(tag.isPartitioned()); assertTrue(tweet.isStatic()); assertFalse(mgmt.containsVertexLabel("bla")); assertFalse(person.isPartitioned()); assertFalse(person.isStatic()); assertFalse(tag.isPartitioned()); assertTrue(tweet.isStatic());
private static IDManager.VertexIDType getVertexIDType(VertexLabel vlabel) { if (vlabel.isPartitioned()) { return IDManager.VertexIDType.PartitionedVertex; } else if (vlabel.isStatic()) { return IDManager.VertexIDType.UnmodifiableVertex; } else { return IDManager.VertexIDType.NormalVertex; } }
private static IDManager.VertexIDType getVertexIDType(VertexLabel vlabel) { if (vlabel.isPartitioned()) { return IDManager.VertexIDType.PartitionedVertex; } else if (vlabel.isStatic()) { return IDManager.VertexIDType.UnmodifiableVertex; } else { return IDManager.VertexIDType.NormalVertex; } }
public VertexLabelDefinition(VertexLabel vl) { this(vl.getName(),vl.getLongId(),vl.isPartitioned(),vl.isStatic()); }
public VertexLabelDefinition(VertexLabel vl) { this(vl.name(),vl.longId(),vl.isPartitioned(),vl.isStatic()); }
assertFalse(mgmt.containsVertexLabel("bla")); assertFalse(person.isPartitioned()); assertFalse(person.isStatic()); assertFalse(tag.isPartitioned()); assertTrue(tweet.isStatic()); assertFalse(mgmt.containsVertexLabel("bla")); assertFalse(person.isPartitioned()); assertFalse(person.isStatic()); assertFalse(tag.isPartitioned()); assertTrue(tweet.isStatic());