Class FloatArrayNodePropertiesBuilder
- java.lang.Object
-
- org.neo4j.gds.core.loading.nodeproperties.InnerNodePropertiesBuilder
-
- org.neo4j.gds.core.loading.nodeproperties.FloatArrayNodePropertiesBuilder
-
public class FloatArrayNodePropertiesBuilder extends InnerNodePropertiesBuilder
-
-
Constructor Summary
Constructors Constructor Description FloatArrayNodePropertiesBuilder(org.neo4j.gds.api.DefaultValue defaultValue, int concurrency)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatArrayNodePropertyValuesbuild(long size, IdMap idMap)Builds the underlying node properties and performs a remapping to the internal id space using the given id map.NodePropertyValuesbuildDirect(long size)Builds the underlying node properties as-is.voidset(long neoNodeId, float[] value)voidsetValue(long neoNodeId, org.neo4j.values.storable.Value value)protected java.lang.Class<?>valueClass()
-
-
-
Method Detail
-
set
public void set(long neoNodeId, float[] value)
-
valueClass
protected java.lang.Class<?> valueClass()
- Specified by:
valueClassin classInnerNodePropertiesBuilder
-
setValue
public void setValue(long neoNodeId, org.neo4j.values.storable.Value value)- Specified by:
setValuein classInnerNodePropertiesBuilder
-
buildDirect
public NodePropertyValues buildDirect(long size)
Description copied from class:InnerNodePropertiesBuilderBuilds 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:
buildDirectin classInnerNodePropertiesBuilder
-
build
public FloatArrayNodePropertyValues build(long size, IdMap idMap)
Description copied from class:InnerNodePropertiesBuilderBuilds the underlying node properties and performs a remapping to the internal id space using the given id map.- Specified by:
buildin classInnerNodePropertiesBuilder
-
-