Class ValueMapWrapper

  • All Implemented Interfaces:
    org.neo4j.gds.core.CypherMapAccess

    public final class ValueMapWrapper
    extends java.lang.Object
    implements org.neo4j.gds.core.CypherMapAccess
    Wrapper around configuration options map
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.neo4j.gds.core.CypherMapAccess

        org.neo4j.gds.core.CypherMapAccess.PairResult
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsKey​(java.lang.String key)  
      static ValueMapWrapper create​(@Nullable org.neo4j.values.virtual.MapValue config)  
      static ValueMapWrapper empty()  
      int getLongAsInt​(java.lang.String key)  
      java.util.Collection<java.lang.String> keySet()  
      java.util.Map<java.lang.String,​java.lang.Object> toMap()  
      <V> V typedValue​(java.lang.String key, java.lang.Class<V> expectedType)  
      • 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.core.CypherMapAccess

        getBool, getChecked, getDouble, getInt, getLong, getNumber, getOptional, getString, getString, missingValueFor, requireBool, requireChecked, requireDouble, requireInt, requireLong, requireNumber, requireOnlyKeysFrom, requireString, verifyMutuallyExclusivePairs
    • Method Detail

      • create

        public static ValueMapWrapper create​(@Nullable
                                             @Nullable org.neo4j.values.virtual.MapValue config)
      • containsKey

        public boolean containsKey​(java.lang.String key)
        Specified by:
        containsKey in interface org.neo4j.gds.core.CypherMapAccess
      • keySet

        public java.util.Collection<java.lang.String> keySet()
        Specified by:
        keySet in interface org.neo4j.gds.core.CypherMapAccess
      • getLongAsInt

        public int getLongAsInt​(java.lang.String key)
        Specified by:
        getLongAsInt in interface org.neo4j.gds.core.CypherMapAccess
      • typedValue

        @NotNull
        public <V> V typedValue​(java.lang.String key,
                                java.lang.Class<V> expectedType)
        Specified by:
        typedValue in interface org.neo4j.gds.core.CypherMapAccess
      • toMap

        public java.util.Map<java.lang.String,​java.lang.Object> toMap()
        Specified by:
        toMap in interface org.neo4j.gds.core.CypherMapAccess