Interface RelationshipImporter.PropertyReader

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long[][] readProperty​(long[] batch, int batchLength, int[] propertyKeyIds, double[] defaultValues, Aggregation[] aggregations, boolean atLeastOnePropertyToLoad)
      Load the relationship properties for the given batch of relationships.
    • Method Detail

      • readProperty

        long[][] readProperty​(long[] batch,
                              int batchLength,
                              int[] propertyKeyIds,
                              double[] defaultValues,
                              Aggregation[] aggregations,
                              boolean atLeastOnePropertyToLoad)
        Load the relationship properties for the given batch of relationships. Relationships are represented in the format produced by RelationshipsBatchBuffer.
        Parameters:
        batch - relationship data
        batchLength - number of valid entries in the batch data
        propertyKeyIds - property key ids to load
        defaultValues - default weight for each property key
        aggregations - the aggregation for each property
        atLeastOnePropertyToLoad - true iff there is at least one value in propertyKeyIds that is not StatementConstants.NO_SUCH_PROPERTY_KEY (-1).
        Returns:
        list of property values per relationship property id