VertexType
The VertexType
class collects vertices of the same type, e.g., a person vertex type. A vertex type is analogous to a relation with no foreign keys in an RDBMS.
Value parameters
- eschema
-
the edge names for this vertex type
- name
-
the name of this vertex type
- schema
-
the property names for this vertex type
- verts
-
the set of vertices having this vertex type (extension)
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalstrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Build the index for the primary key.
Build the index for the primary key.
Value parameters
- pkey
-
the property designated as the primary key
Attributes
Check that the properties names are in the schema and the edge names are in the eschema for this vertex type, returning whether they match.
Check that the properties names are in the schema and the edge names are in the eschema for this vertex type, returning whether they match.
Attributes
Make all the vertices in this vertex type distinct, i.e., no duplicate vertices.
Make all the vertices in this vertex type distinct, i.e., no duplicate vertices.
Attributes
Project each vertex in this vertex type down to the given esubschema of edges.
Project each vertex in this vertex type down to the given esubschema of edges.
Value parameters
- esubschema
-
the subset of edges to project onto
Attributes
Project each vertex in this vertex type down to the given esubschema of edges.
Project each vertex in this vertex type down to the given esubschema of edges.
Value parameters
- subschema
-
the subset of edges to project onto
Attributes
Find the unique vertex based on the primary key.
Find the unique vertex based on the primary key.
Value parameters
- key
-
the primary key
Attributes
Group the vertices within this vertex type by the values of the given property name.
Group the vertices within this vertex type by the values of the given property name.
Value parameters
- pname
-
the propery name on which to group
Attributes
Intersect this vertex type with a second vertex type with no duplication.
Intersect this vertex type with a second vertex type with no duplication.
Value parameters
- vtype2
-
the second vertex type
Attributes
Join this vertex type to a second vertex type (similar to a natural join). FIX - handle duplicate property/edge names
Join this vertex type to a second vertex type (similar to a natural join). FIX - handle duplicate property/edge names
Value parameters
- ename
-
the edge name used to connect with vtype2 (analog of a foreign key)
- vtype2
-
the second vertex type
Attributes
Limit the number of vertices to n after skipping the first s.
Limit the number of vertices to n after skipping the first s.
Value parameters
- n
-
the number of vertices to keep
- s
-
the number of vertices to skip
Attributes
Convert the meta-data for this vertex type to a string.
Convert the meta-data for this vertex type to a string.
Attributes
Minus second vertex type from this vertex type.
Minus second vertex type from this vertex type.
Value parameters
- vtype2
-
the second vertex type
Attributes
Increment the counter to its next value and return it.
Increment the counter to its next value and return it.
Attributes
Order the vertices within this vertex type by the values of the given property name.
Order the vertices within this vertex type by the values of the given property name.
Value parameters
- pname
-
the propery name on which to sort
Attributes
Project each vertex in this vertex type down to the given subschema of properties.
Project each vertex in this vertex type down to the given subschema of properties.
Value parameters
- subschema
-
the subset of properies to project onto
Attributes
Project each vertex in this vertex type down to the given subschema of properties.
Project each vertex in this vertex type down to the given subschema of properties.
Value parameters
- subschema
-
the subset of properies to project onto
Attributes
Select the vertices in this vertex type that satisfy the predicate.
Select the vertices in this vertex type that satisfy the predicate.
Value parameters
- pred
-
the predicate to satisfy
Attributes
Show the groups that were created.
Show the groups that were created.
Attributes
Convert the data for this vertex type to a string.
Convert the data for this vertex type to a string.
Attributes
- Definition Classes
-
Any
Union this vertex type with a second vertex type with no duplication.
Union this vertex type with a second vertex type with no duplication.
Value parameters
- vtype2
-
the second vertex type
Attributes
Union this vertex type with a second vertex type.
Union this vertex type with a second vertex type.
Value parameters
- vtype2
-
the second vertex type
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product