Feature overview
Definitions
Entity: An operation that queries vertices or edges.
map: Maps input objects to other objects based on a specific rule.
filter: Filters input objects based on a specific rule.
sideEffect: Adds information to input objects based on a specific rule and outputs the same objects.
branch: Performs branch calculations on input objects.
Modifier: Modifies a single step and is typically used to provide parameters for the step.
Function: Provides a function for a single step, such as a comparison function for a filter step.
Policy: A customizable policy that users can select.
Feature overview
Note: Steps marked with [*] are proprietary extensions developed by iGraph. All other steps are open source steps from Apache Gremlin.
Type | Step name | Feature |
Entity | Queries edge information. | |
Traverses from an edge to an associated vertex. | ||
Traverses from a vertex to an associated vertex. | ||
Traverses from a vertex to an associated edge. | ||
Queries vertex information. | ||
map | Blocks. | |
Returns the bulk value of an entity. | ||
Returns the stored value of a sideEffect. | ||
Returns a user-defined value. | ||
Calculates the count. | ||
Aggregates input objects into a list<object>. | ||
Groups. | ||
Groups and calculates the count within each group. | ||
Returns the input itself. | ||
Returns the table name or graph label. | ||
Returns the number of current loops. | ||
Scientific computing | ||
Calculates the maximum value. | ||
Calculates the average value. | ||
Calculates the minimum value. | ||
Sorts. | ||
Returns the traversal path. | ||
Maps input objects to a map<string,object>. | ||
Returns field names and field values. | ||
Returns a map of field names and field values. | ||
Returns the sack value of an entity. | ||
Returns tag values. | ||
Calculates the sum. | ||
Expands a list<object> into objects. | ||
Returns field values. | ||
filter | Returns the input if all sub-traversals produce a result. | |
Returns paths that contain a cycle. | ||
Removes duplicates. | ||
distinct [*] | Discretizes. | |
Filters entities. | ||
Filters by field name. | ||
Filters by label. | ||
Filters by field value. | ||
Filters by number or string. | ||
Truncates and keeps the first results. | ||
Returns the input if the sub-traversal does not produce a result. | ||
Returns the input if at least one sub-traversal produces a result. | ||
Truncates. | ||
Sampling | ||
Returns paths without cycles. | ||
Truncates and keeps the last results. | ||
Filters. | ||
sideEffect | Copies input objects to a list<object> in a blocking manner. | |
alias [*] | Defines virtual fields for input entities (vertices or edges). | |
fields [*] | Clipping field | |
Copies input objects to a list<object> in a non-blocking manner. | ||
branch | Performs a branch query. | |
Querying branches | ||
Returns the computed value from the first input that can compute at least one element. | ||
Executes a sub-traversal for each input individually. | ||
If the sub-traversal produces a result, returns the traversal result. Otherwise, returns the input. | ||
Performs a loop traversal. | ||
Merges the results of sub-traversals. | ||
Modifier | Annotates. | |
Provides parameters for other steps. | ||
Records the intermediate results of a loop. | ||
indexQuery [*] | Performs an inverted index query. | |
Specifies the condition for a branch query. | ||
Specifies the number of loop traversals. | ||
Specifies the stop condition for a loop traversal. | ||
Defines the initial value, split rule, and merge rule for the sack value of an entity. | ||
Function | Describes comparison logic. | |
Fetches information from input elements. | ||
UDF [*] | Supports user-defined comparison functions. | |
Policy | Adds custom policies to a traversal. | |
Customizes the information type for path records. | ||
Specifies that the step that gets the sideEffect is pushed down to the storage layer for execution. |