Package org.neo4j.gds.core
Class CypherMapWrapper
java.lang.Object
org.neo4j.gds.core.CypherMapWrapper
- All Implemented Interfaces:
CypherMapAccess
Wrapper around configuration options map
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.neo4j.gds.core.CypherMapAccess
CypherMapAccess.PairResult
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(String key) Checks if the given key exists in the configuration.static CypherMapWrapper
static CypherMapWrapper
empty()
int
getLongAsInt
(String key) keySet()
toMap()
Returns a copy of the internal Map.<V> V
typedValue
(String key, Class<V> expectedType) withBoolean
(String key, Boolean value) withEntryIfMissing
(String key, Object value) withNumber
(String key, Number value) withoutAny
(Collection<String> keys) withoutEntry
(String key) withString
(String key, String value) 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 Details
-
create
-
empty
-
containsKey
Description copied from interface:CypherMapAccess
Checks if the given key exists in the configuration.- Specified by:
containsKey
in interfaceCypherMapAccess
- Parameters:
key
- key to look for- Returns:
- true, iff the key exists
-
keySet
- Specified by:
keySet
in interfaceCypherMapAccess
-
getLongAsInt
- Specified by:
getLongAsInt
in interfaceCypherMapAccess
-
typedValue
- Specified by:
typedValue
in interfaceCypherMapAccess
-
toMap
Description copied from interface:CypherMapAccess
Returns a copy of the internal Map.- Specified by:
toMap
in interfaceCypherMapAccess
-
withString
-
withNumber
-
withBoolean
-
withEntryIfMissing
-
withEntry
-
withoutEntry
-
withoutAny
-