@Override public boolean isUnidirected() { return isUnidirected(Direction.OUT); }
@Override public boolean isVertexLabelSystemType(long typeid) { return typeid == BaseLabel.VertexLabelEdge.longId(); }
/** * Special handling to provide access to the label even though its a different vertex by accessing it directly * in the enclosing transaction which will cache all vertex labels * @return */ @Override public VertexLabel getVertexLabel() { Long labelid = getProperty(BaseLabel.VertexLabelEdge.getName()); if (labelid==null) return BaseVertexLabel.DEFAULT_VERTEXLABEL; else return (VertexLabelVertex)tx().getInternalVertex(labelid); }
System.out.println(ep.typeId + " "+ BaseLabel.VertexLabelEdge.getLongId());
@Override public boolean isTypeSystemType(long typeid) { return typeid == BaseKey.SchemaCategory.longId() || typeid == BaseKey.SchemaDefinitionProperty.longId() || typeid == BaseKey.SchemaDefinitionDesc.longId() || typeid == BaseKey.SchemaName.longId() || typeid == BaseLabel.SchemaDefinitionEdge.longId(); } };
@Override public boolean isUnidirected() { return isUnidirected(Direction.OUT); }
@Override public boolean isVertexLabelSystemType(long typeid) { return typeid == BaseLabel.VertexLabelEdge.longId(); }
@Override public boolean isUnidirected() { return isUnidirected(Direction.OUT); }
@Override public boolean isTypeSystemType(long typeid) { return typeid == BaseKey.SchemaCategory.longId() || typeid == BaseKey.SchemaDefinitionProperty.longId() || typeid == BaseKey.SchemaDefinitionDesc.longId() || typeid == BaseKey.SchemaName.longId() || typeid == BaseLabel.SchemaDefinitionEdge.longId(); } };