Class MixedAdjacencyProperties
- java.lang.Object
-
- org.neo4j.gds.core.compression.mixed.MixedAdjacencyProperties
-
- All Implemented Interfaces:
AdjacencyProperties
public class MixedAdjacencyProperties extends java.lang.Object implements AdjacencyProperties
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyCursor
propertyCursor(long node, double fallbackValue)
Create a new cursor for the properties of the relationships of a givennode
.PropertyCursor
propertyCursor(PropertyCursor reuse, long node, double fallbackValue)
Create a new cursor for the properties of the relationships of a givennode
.PropertyCursor
rawPropertyCursor()
Create a new uninitialized cursor.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.gds.api.AdjacencyProperties
propertyCursor, propertyCursor
-
-
-
-
Method Detail
-
propertyCursor
public PropertyCursor propertyCursor(long node, double fallbackValue)
Description copied from interface:AdjacencyProperties
Create a new cursor for the properties of the relationships of a givennode
. If the cursor cannot produce property values, it will yield the providedfallbackValue
. NOTE: Fallback behavior is not widely available and will be part of the next episode. Undefined behavior if the node does not exist.- Specified by:
propertyCursor
in interfaceAdjacencyProperties
-
propertyCursor
public PropertyCursor propertyCursor(PropertyCursor reuse, long node, double fallbackValue)
Description copied from interface:AdjacencyProperties
Create a new cursor for the properties of the relationships of a givennode
. If the cursor cannot produce property values, it will yield the providedfallbackValue
. NOTE: Fallback behavior is not widely available and will be part of the next episode. The Implementation might try to reuse the providedreuse
cursor, if possible. That is not guaranteed, however, implementation may choose to ignore the reuse cursor for any reason. Undefined behavior if the node does not exist.- Specified by:
propertyCursor
in interfaceAdjacencyProperties
-
rawPropertyCursor
public PropertyCursor rawPropertyCursor()
Description copied from interface:AdjacencyProperties
Create a new uninitialized cursor. NOTE: In order to use the returned cursorPropertyCursor.init(long, int)
must be called.- Specified by:
rawPropertyCursor
in interfaceAdjacencyProperties
-
-