Class LongNodePropertiesBuilder
- java.lang.Object
-
- org.neo4j.gds.core.loading.nodeproperties.InnerNodePropertiesBuilder
-
- org.neo4j.gds.core.loading.nodeproperties.LongNodePropertiesBuilder
-
public class LongNodePropertiesBuilder extends InnerNodePropertiesBuilder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodePropertyValuesbuild(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.static LongNodePropertiesBuilderof(org.neo4j.gds.api.DefaultValue defaultValue, int concurrency)voidset(long neoNodeId, long value)voidsetValue(long neoNodeId, org.neo4j.values.storable.Value value)protected java.lang.Class<?>valueClass()
-
-
-
Method Detail
-
of
public static LongNodePropertiesBuilder of(org.neo4j.gds.api.DefaultValue defaultValue, int concurrency)
-
valueClass
protected java.lang.Class<?> valueClass()
- Specified by:
valueClassin classInnerNodePropertiesBuilder
-
set
public void set(long neoNodeId, long value)
-
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 NodePropertyValues 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
-
-