
apoc.agg.AggregationExtended Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apoc-extended Show documentation
Show all versions of apoc-extended Show documentation
Extended package for Neo4j Procedures
package apoc.agg;
import apoc.Extended;
import apoc.util.collection.Iterables;
import apoc.util.collection.Iterators;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Transaction;
import org.neo4j.procedure.Context;
import org.neo4j.procedure.Description;
import org.neo4j.procedure.Name;
import org.neo4j.procedure.UserAggregationFunction;
import org.neo4j.procedure.UserAggregationResult;
import org.neo4j.procedure.UserAggregationUpdate;
import java.util.Map;
import java.util.function.BiPredicate;
@Extended
public class AggregationExtended {
@Context
public GraphDatabaseService db;
@Context
public Transaction tx;
@UserAggregationFunction("apoc.agg.row")
@Description("apoc.agg.row(element, predicate) - Returns index of the `element` that match the given `predicate`")
public RowFunction row() {
BiPredicate
© 2015 - 2025 Weber Informatics LLC | Privacy Policy