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 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.NodePropertyValues
buildDirect(long size)
Builds the underlying node properties as-is.static LongNodePropertiesBuilder
of(org.neo4j.gds.api.DefaultValue defaultValue, int concurrency)
void
set(long neoNodeId, long value)
void
setValue(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:
valueClass
in classInnerNodePropertiesBuilder
-
set
public void set(long neoNodeId, long value)
-
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 NodePropertyValues 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
-
-