Package org.neo4j.gds.core.huge
Class FilteredNodePropertyValues
- java.lang.Object
-
- org.neo4j.gds.core.huge.FilteredNodePropertyValues
-
- All Implemented Interfaces:
NodePropertyValues,PropertyValues
- Direct Known Subclasses:
FilteredNodePropertyValues.FilteredToOriginalNodePropertyValues,FilteredNodePropertyValues.OriginalToFilteredNodePropertyValues
public abstract class FilteredNodePropertyValues extends java.lang.Object implements NodePropertyValues
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilteredNodePropertyValues.FilteredToOriginalNodePropertyValuesstatic classFilteredNodePropertyValues.OriginalToFilteredNodePropertyValues
-
Field Summary
Fields Modifier and Type Field Description protected NodeFilteredGraphgraphprotected NodePropertyValuesproperties
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double[]doubleArrayValue(long nodeId)doubledoubleValue(long nodeId)float[]floatArrayValue(long nodeId)java.util.OptionalDoublegetMaxDoublePropertyValue()java.util.OptionalLonggetMaxLongPropertyValue()java.lang.ObjectgetObject(long nodeId)long[]longArrayValue(long nodeId)longlongValue(long nodeId)longrelease()Release internal data structures and return an estimate how many bytes were freed.longsize()protected abstract longtranslateId(long nodeId)org.neo4j.values.storable.Valuevalue(long nodeId)org.neo4j.gds.api.nodeproperties.ValueTypevalueType()-
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.properties.PropertyValues
unsupportedTypeException
-
-
-
-
Field Detail
-
properties
protected final NodePropertyValues properties
-
graph
protected NodeFilteredGraph graph
-
-
Method Detail
-
translateId
protected abstract long translateId(long nodeId)
-
doubleValue
public double doubleValue(long nodeId)
- Specified by:
doubleValuein interfaceNodePropertyValues
-
longValue
public long longValue(long nodeId)
- Specified by:
longValuein interfaceNodePropertyValues
-
floatArrayValue
public float[] floatArrayValue(long nodeId)
- Specified by:
floatArrayValuein interfaceNodePropertyValues
-
doubleArrayValue
public double[] doubleArrayValue(long nodeId)
- Specified by:
doubleArrayValuein interfaceNodePropertyValues
-
longArrayValue
public long[] longArrayValue(long nodeId)
- Specified by:
longArrayValuein interfaceNodePropertyValues
-
getObject
public java.lang.Object getObject(long nodeId)
- Specified by:
getObjectin interfaceNodePropertyValues
-
value
public org.neo4j.values.storable.Value value(long nodeId)
- Specified by:
valuein interfaceNodePropertyValues
-
valueType
public org.neo4j.gds.api.nodeproperties.ValueType valueType()
- Specified by:
valueTypein interfacePropertyValues
-
getMaxLongPropertyValue
public java.util.OptionalLong getMaxLongPropertyValue()
- Specified by:
getMaxLongPropertyValuein interfaceNodePropertyValues- Returns:
- the maximum long value contained in the mapping or an empty
OptionalLongif the mapping is empty or the feature is not supported.
-
getMaxDoublePropertyValue
public java.util.OptionalDouble getMaxDoublePropertyValue()
- Specified by:
getMaxDoublePropertyValuein interfaceNodePropertyValues- Returns:
- the maximum double value contained in the mapping or an empty
OptionalDoubleif the mapping is empty or the feature is not supported.
-
release
public long release()
Description copied from interface:PropertyValuesRelease internal data structures and return an estimate how many bytes were freed. Note that the mapping is not usable afterwards.- Specified by:
releasein interfacePropertyValues
-
size
public long size()
- Specified by:
sizein interfacePropertyValues- Returns:
- the number of values stored.
-
-