Open Kilda Java Documentation
nodes Namespace Reference

Classes

class  Edge
 
class  Link
 
class  Nodes
 

Variables

dictionary data = {'query' : 'MATCH (n) return n'}
 
tuple auth = ('neo4j', 'temppass')
 
 result_switches = requests.post('http://localhost:7474/db/data/cypher', data=data, auth=auth)
 
 j_switches = json.loads(result_switches.text)
 
 nodes = Nodes()
 
 edges
 
 result_relationships = requests.get(str(r['outgoing_relationships']), auth=auth)
 
 j_paths = json.loads(result_relationships.text)
 
list outgoing_relationships = []
 
 target = Link()
 
 edge = Edge()
 
 source = Link()
 
 label
 
 id
 
 dest_node = requests.get(str(j_path['end']), auth=auth)
 
 j_dest_node = json.loads(dest_node.text)
 
 value
 

Variable Documentation

◆ auth

tuple nodes.auth = ('neo4j', 'temppass')

Definition at line 36 of file nodes.py.

◆ data

dictionary nodes.data = {'query' : 'MATCH (n) return n'}

Definition at line 35 of file nodes.py.

◆ dest_node

nodes.dest_node = requests.get(str(j_path['end']), auth=auth)

Definition at line 57 of file nodes.py.

◆ edge

nodes.edge = Edge()

Definition at line 52 of file nodes.py.

◆ edges

nodes.edges

Definition at line 42 of file nodes.py.

◆ id

nodes.id

Definition at line 55 of file nodes.py.

◆ j_dest_node

nodes.j_dest_node = json.loads(dest_node.text)

Definition at line 58 of file nodes.py.

◆ j_paths

nodes.j_paths = json.loads(result_relationships.text)

Definition at line 47 of file nodes.py.

◆ j_switches

nodes.j_switches = json.loads(result_switches.text)

Definition at line 40 of file nodes.py.

◆ label

nodes.label

Definition at line 54 of file nodes.py.

◆ nodes

nodes.nodes = Nodes()

Definition at line 41 of file nodes.py.

◆ outgoing_relationships

list nodes.outgoing_relationships = []

Definition at line 48 of file nodes.py.

◆ result_relationships

nodes.result_relationships = requests.get(str(r['outgoing_relationships']), auth=auth)

Definition at line 46 of file nodes.py.

◆ result_switches

nodes.result_switches = requests.post('http://localhost:7474/db/data/cypher', data=data, auth=auth)

Definition at line 37 of file nodes.py.

◆ source

nodes.source = Link()

Definition at line 53 of file nodes.py.

◆ target

nodes.target = Link()

Definition at line 50 of file nodes.py.

◆ value

nodes.value

Definition at line 62 of file nodes.py.