Class RelationshipsBatchBuffer

    • Constructor Detail

      • RelationshipsBatchBuffer

        public RelationshipsBatchBuffer​(PartialIdMap idMap,
                                        int type,
                                        int capacity)
    • Method Detail

      • offer

        public void offer​(RelationshipReference record)
        Description copied from interface: StoreScanner.RecordConsumer
        Imports the record at a given position and return the new position. Can also ignore the record if it is not of interest.
      • add

        public void add​(long sourceId,
                        long targetId)
      • add

        public void add​(long sourceId,
                        long targetId,
                        long relationshipReference,
                        org.neo4j.gds.compat.PropertyReference propertyReference)
      • sortBySource

        public long[] sortBySource()
      • sortByTarget

        public long[] sortByTarget()
      • spareLongs

        public long[] spareLongs()
      • spareInts

        public int[] spareInts()