Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call NameLoad keyword NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A 
Interface for interacting with a graph database through Neo4j Server.

 bulbs.config Config bulbs.gremlin Gremlin bulbs.element Vertex Edge bulbs.model Node Relationship bulbs.base.graph Graph BaseGraph client Neo4jClient index ExactIndex cypher Cypher Graph N/A BaseGraph N/A N/A 
    The primary interface to Neo4j Server.

    Instantiates the database :class:`~bulbs.neo4jserver.client.Client` object using 
    the specified Config and sets up proxy objects to the database.

    :param config: Optional. Defaults to the default config.
    :type config: bulbs.config.Config

    :cvar client_class: Neo4jClient class.
    :cvar default_index: Default index class.

    :ivar client: Neo4jClient object.
    :ivar vertices: VertexProxy object.
    :ivar edges: EdgeProxy object.
    :ivar config: Config object.
    :ivar gremlin: Gremlin object.
    :ivar scripts: GroovyScripts object.
    
    Example:

    >>> from bulbs.neo4jserver import Graph
    >>> g = Graph()
    >>> james = g.vertices.create(name="James")
    >>> julie = g.vertices.create(name="Julie")
    >>> g.edges.create(james, "knows", julie)

     N/A client_class Neo4jClient N/A default_index ExactIndex __init__ N/A N/A self config N/A None N/A N/A N/A N/A N/A super Graph self __init__ config N/A N/A self gremlin N/A Gremlin N/A self client N/A N/A self scripts N/A N/A self client scripts N/A N/A self cypher N/A Cypher N/A self client N/A set_metadata N/A N/A self key value N/A N/A N/A 
        Sets the metadata key to the supplied value.

        :param key: Metadata key
        :type key: str

        :param value: Metadata value.
        :type value: str, int, or list

        :rtype: Neo4jResponse
        
         N/A N/A N/A N/A N/A N/A self client set_metadata key value one N/A get_metadata N/A N/A self key default_value N/A None N/A N/A 
        Returns the value of metadata for the key.

        :param key: Metadata key
        :type key: str

        :param default_value: Default value to return if the key is not found.
        :type default_value: str, int, or list

        :rtype: Neo4jResult
        
         N/A N/A N/A N/A N/A N/A self client get_metadata key default_value one N/A remove_metadata N/A N/A self key N/A N/A N/A 
        Removes the metadata key and value.

        :param key: Metadata key
        :type key: str

        :rtype: Neo4jResponse
        
         N/A N/A N/A N/A self client remove_metadata key N/A load_graphml N/A N/A self uri N/A N/A N/A 
        Loads a GraphML file into the database and returns the response.

        :param uri: URI of the GraphML file to load.
        :type uri: str

        :rtype: Neo4jResult

         N/A script N/A N/A N/A N/A self client scripts get load_graphml N/A params N/A dict uri uri N/A N/A N/A N/A self gremlin command script params N/A get_graphml N/A N/A self N/A N/A N/A 
        Returns a GraphML file representing the entire database.

        :rtype: Neo4jResult

         N/A script N/A N/A N/A N/A self client scripts get save_graphml N/A N/A N/A N/A self gremlin command script params None N/A warm_cache N/A N/A self N/A N/A N/A 
        Warms the server cache by loading elements into memory.

        :rtype: Neo4jResult

         N/A script N/A N/A N/A self scripts get warm_cache N/A N/A N/A N/A self gremlin command script params None N/A clear N/A N/A self N/A N/A N/A 
        Deletes all the elements in the graph.

        :rtype: Neo4jResult

        .. admonition:: WARNING 

           This will delete all your data!

         N/A script N/A N/A N/A N/A self client scripts get clear N/A N/A N/A N/A self gremlin command script params None N/A N/A