public class Neo4jJSONStatement extends Neo4jStatement<com.fasterxml.jackson.databind.JsonNode>
Any child Objects (map) will be flattened into the root using the name as a prefix for the key. e.g. `tag.start` and `tag.end`.
A nested array will be handed to Neo as an Array. So far Maps nested in an Array work fine.
| Modifier and Type | Field and Description |
|---|---|
protected JSONGraphSpec |
graphSpec |
| Constructor and Description |
|---|
Neo4jJSONStatement(JSONGraphSpec graphSpec) |
| Modifier and Type | Method and Description |
|---|---|
int |
applyProperties(com.fasterxml.jackson.databind.JsonNode json,
iot.jcypher.query.api.pattern.Node merge,
java.util.Map<java.lang.String,java.util.function.Function<com.fasterxml.jackson.databind.JsonNode,java.lang.Object>> properties,
boolean ignoreNull) |
java.util.Map<java.lang.String,java.lang.Object> |
asProperties(com.fasterxml.jackson.databind.JsonNode node) |
protected java.lang.String |
cleanKey(java.lang.String key) |
iot.jcypher.query.JcQuery |
getStatement(com.fasterxml.jackson.databind.JsonNode json) |
enableDebugLogging, runStatementprotected JSONGraphSpec graphSpec
public Neo4jJSONStatement(JSONGraphSpec graphSpec)
public iot.jcypher.query.JcQuery getStatement(com.fasterxml.jackson.databind.JsonNode json)
getStatement in class Neo4jStatement<com.fasterxml.jackson.databind.JsonNode>public int applyProperties(com.fasterxml.jackson.databind.JsonNode json, iot.jcypher.query.api.pattern.Node merge, java.util.Map<java.lang.String,java.util.function.Function<com.fasterxml.jackson.databind.JsonNode,java.lang.Object>> properties, boolean ignoreNull)
public java.util.Map<java.lang.String,java.lang.Object> asProperties(com.fasterxml.jackson.databind.JsonNode node)
protected java.lang.String cleanKey(java.lang.String key)
Copyright © 2007-2021 Cascading Maintainers. All Rights Reserved.