apoc.result.NodeValueErrorMapResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apoc-common Show documentation
Show all versions of apoc-common Show documentation
Data types package for Neo4j Procedures
package apoc.result;
import org.neo4j.graphdb.Node;
import java.util.Collections;
import java.util.Map;
public class NodeValueErrorMapResult {
public final Node node;
public final Map value;
public final Map error;
public NodeValueErrorMapResult(Node node, Map value, Map error) {
this.node = node;
this.value = value;
this.error = error;
}
public static NodeValueErrorMapResult withError(Node node, Map error) {
return new NodeValueErrorMapResult(node, Collections.emptyMap(), error);
}
public static NodeValueErrorMapResult withResult(Node node, Map value) {
return new NodeValueErrorMapResult(node, value, Collections.emptyMap());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy