def lookup_edge(self, index_name, key, value): """ Looks up an edge in the index and returns the Response. :param index_name: Name of the index. :type index_name: str :param key: Name of the key. :type key: str :param value: Value of the key. :type value: str :rtype: Neo4jResponse """ key, value = quote_plus(key), quote_plus(value) path = build_path(index_path,edge_path,name,key,value) params = None return self.request.get(path, params)
def lookup_vertex(self, index_name, key, value): """ Returns the vertices indexed with the key and value. :param index_name: Name of the index. :type index_name: str :param key: Name of the key. :type key: str :param value: Value of the key. :type value: str :rtype: Neo4jResponse """ key, value = quote_plus(key), quote_plus(value) path = build_path(index_path, "node", index_name, key, value) params = None return self.request.get(path, params)
def lookup_edge(self,name,key,value): """Looks up an edge in the index and returns the Response.""" key, value = quote_plus(key), quote_plus(value) path = build_path(index_path,edge_path,name,key,value) params = None return GET, path, params
def lookup_vertex(self,name,key,value): """Returns the vertices indexed with the key and value.""" key, value = quote_plus(key), quote_plus(value) path = build_path(index_path,"node",name,key,value) params = None return GET, path, params