Collection Functions
APOC has a wide variety of Collection and List functions.
Qualified Name | Type | Release |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- sort maps by property |
|
|
- returns reversed list |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- creates the distinct union of the 2 lists |
|
|
- creates the full union with duplicates of the two lists |
|
|
- returns unique set of first list with all elements of second list removed |
|
|
- returns first list with all elements of second list removed |
|
|
- returns the unique intersection of the two lists |
|
|
- returns the disjunct set of the two lists |
|
|
|
|
|
|
|
|
- returns the shuffled list |
|
|
|
|
|
- returns a list of itemCount random items from the original list, optionally allowing picked elements to be picked again |
|
|
- returns true if a collection contains duplicate elements |
|
|
- returns a list of duplicate items in the collection |
|
|
- returns a list of duplicate items in the collection and their count, keyed by |
|
|
- returns the count of the given item in the collection |
|
|
- returns a list of frequencies of the items in the collection, keyed by |
|
|
- return a map of frequencies of the items in the collection, key |
|
|
- sort list of maps by several sort fields (ascending with ^ prefix) and optionally applies limit and skip |
|
|
- flattens list (nested if recursive is true) |
|
|
- Returns collection of all combinations of list elements of selection size between minSelect and maxSelect (default:minSelect), inclusive |
|
|
- deconstruct subset of mixed list into identifiers of the correct type |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- returns true if values are different |
|
|
- returns a list with the given count of items |
|
|
|
|
|
- returns a list of pairs defined by the offset |
|
|