Package org.neo4j.graphalgo.core.write
Class PropertyTranslator.OfLongIfChanged<T>
- java.lang.Object
-
- org.neo4j.graphalgo.core.write.PropertyTranslator.OfLongIfChanged<T>
-
- All Implemented Interfaces:
PropertyTranslator<T>
- Enclosing interface:
- PropertyTranslator<T>
public static final class PropertyTranslator.OfLongIfChanged<T> extends java.lang.Object implements PropertyTranslator<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.neo4j.graphalgo.core.write.PropertyTranslator
PropertyTranslator.ConsecutivePropertyTranslator<DATA,TRANSLATOR extends PropertyTranslator.OfLong<DATA>>, PropertyTranslator.DataAccessFunction<T>, PropertyTranslator.OfDouble<T>, PropertyTranslator.OfInt<T>, PropertyTranslator.OfLong<T>, PropertyTranslator.OfLongArray<T>, PropertyTranslator.OfLongIfChanged<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.neo4j.values.storable.NumberType
numberType()
static <T> PropertyTranslator<T>
of(GraphStore graphStore, java.lang.String seedProperty, PropertyTranslator.DataAccessFunction<T> accessFunction)
double
toDouble(T data, long nodeId)
org.neo4j.values.storable.Value
toProperty(int propertyId, T data, long nodeId)
-
-
-
Method Detail
-
of
public static <T> PropertyTranslator<T> of(GraphStore graphStore, java.lang.String seedProperty, PropertyTranslator.DataAccessFunction<T> accessFunction)
-
toDouble
public double toDouble(T data, long nodeId)
- Specified by:
toDouble
in interfacePropertyTranslator<T>
-
numberType
public org.neo4j.values.storable.NumberType numberType()
- Specified by:
numberType
in interfacePropertyTranslator<T>
-
toProperty
public org.neo4j.values.storable.Value toProperty(int propertyId, T data, long nodeId)
- Specified by:
toProperty
in interfacePropertyTranslator<T>
-
-