Class DoubleArrayNodePropertiesBuilder
- java.lang.Object
-
- org.neo4j.gds.core.loading.nodeproperties.InnerNodePropertiesBuilder
-
- org.neo4j.gds.core.loading.nodeproperties.DoubleArrayNodePropertiesBuilder
-
public class DoubleArrayNodePropertiesBuilder extends InnerNodePropertiesBuilder
-
-
Constructor Summary
Constructors Constructor Description DoubleArrayNodePropertiesBuilder(org.neo4j.gds.api.DefaultValue defaultValue, int concurrency)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleArrayNodePropertyValues
build(long size, IdMap idMap)
Builds the underlying node properties and performs a remapping to the internal id space using the given id map.NodePropertyValues
buildDirect(long size)
Builds the underlying node properties as-is.void
set(long neoNodeId, double[] value)
void
setValue(long neoNodeId, org.neo4j.values.storable.Value value)
protected java.lang.Class<?>
valueClass()
-
-
-
Method Detail
-
set
public void set(long neoNodeId, double[] value)
-
valueClass
protected java.lang.Class<?> valueClass()
- Specified by:
valueClass
in classInnerNodePropertiesBuilder
-
setValue
public void setValue(long neoNodeId, org.neo4j.values.storable.Value value)
- Specified by:
setValue
in classInnerNodePropertiesBuilder
-
buildDirect
public NodePropertyValues buildDirect(long size)
Description copied from class:InnerNodePropertiesBuilder
Builds the underlying node properties as-is. Note: The method expects the underlying node properties to be indexed by internal ids, i.e., ids ranging from 0 to node count. Violating the constraint is undefined behaviour.- Specified by:
buildDirect
in classInnerNodePropertiesBuilder
-
build
public DoubleArrayNodePropertyValues build(long size, IdMap idMap)
Description copied from class:InnerNodePropertiesBuilder
Builds the underlying node properties and performs a remapping to the internal id space using the given id map.- Specified by:
build
in classInnerNodePropertiesBuilder
-
-