Class InnerNodePropertiesBuilder
- java.lang.Object
-
- org.neo4j.gds.core.loading.nodeproperties.InnerNodePropertiesBuilder
-
- Direct Known Subclasses:
DoubleArrayNodePropertiesBuilder,DoubleNodePropertiesBuilder,FloatArrayNodePropertiesBuilder,LongArrayNodePropertiesBuilder,LongNodePropertiesBuilder
public abstract class InnerNodePropertiesBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description InnerNodePropertiesBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NodePropertyValuesbuild(long size, IdMap idMap)Builds the underlying node properties and performs a remapping to the internal id space using the given id map.abstract NodePropertyValuesbuildDirect(long size)Builds the underlying node properties as-is.abstract voidsetValue(long neoNodeId, org.neo4j.values.storable.Value value)protected abstract java.lang.Class<?>valueClass()
-
-
-
Method Detail
-
valueClass
protected abstract java.lang.Class<?> valueClass()
-
setValue
public abstract void setValue(long neoNodeId, org.neo4j.values.storable.Value value)
-
buildDirect
public abstract NodePropertyValues buildDirect(long size)
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.
-
build
public abstract NodePropertyValues build(long size, IdMap idMap)
Builds the underlying node properties and performs a remapping to the internal id space using the given id map.
-
-