| java.lang.Object | |
| ↳ | org.mule.modules.neo4j.Neo4jConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Neo4j Connector, for versions 1.9 or above.
{@sample.config INCLUDE_ERROR}{@sample.config INCLUDE_ERROR}
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Neo4jConnector.AutoIndexingStatus | |||||||||||
| Neo4jConnector.QueryResultOrder | |||||||||||
| Neo4jConnector.RelationshipDirection | |||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | CREATE_OR_FAIL_UNIQUENESS | ||||||||||
| String | GET_OR_CREATE_UNIQUENESS | ||||||||||
| String | HEADER_STREAMING | ||||||||||
| String | LABEL_TEMPLATE | ||||||||||
| String | PAGINATION_PARAMS_TEMPLATE | ||||||||||
| String | PROPERTY_KEY_TEMPLATE | ||||||||||
| String | RETURN_TYPE_TEMPLATE | ||||||||||
| String | TYPE_LIST_TEMPLATE | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BATCH_JOB_RESULTS_TYPE_REFERENCE | |||||||||||
| BOOLEAN_TYPE_REFERENCE | |||||||||||
| CYPHER_QUERY_RESULT_TYPE_REFERENCE | |||||||||||
| ENTITY_CARRYING_HTTP_METHODS | |||||||||||
| FULLPATHS_TYPE_REFERENCE | |||||||||||
| INDEXED_NODES_TYPE_REFERENCE | |||||||||||
| INDEXED_NODE_TYPE_REFERENCE | |||||||||||
| INDEXED_RELATIONSHIP_TYPE_REFERENCE | |||||||||||
| INDEX_TYPE_REFERENCE | |||||||||||
| LOGGER | |||||||||||
| NODES_TYPE_REFERENCE | |||||||||||
| NODE_INDEXES_TYPE_REFERENCE | |||||||||||
| NODE_TYPE_REFERENCE | |||||||||||
| NO_RESPONSE_STATUSES | |||||||||||
| OBJECT_MAPPER | |||||||||||
| PATHS_TYPE_REFERENCE | |||||||||||
| PATH_QUERY_RESULTS_TYPE_REFERENCE | |||||||||||
| PATH_QUERY_RESULT_TYPE_REFERENCE | |||||||||||
| RELATIONSHIPS_TYPE_REFERENCE | |||||||||||
| RELATIONSHIP_TYPE_REFERENCE | |||||||||||
| SCHEMA_INDEXES_TYPE_REFERENCE | |||||||||||
| SCHEMA_INDEX_TYPE_REFERENCE | |||||||||||
| SC_CREATED | |||||||||||
| SC_NO_CONTENT | |||||||||||
| SC_NO_CONTENT_OR_NOT_FOUND | |||||||||||
| SC_OK | |||||||||||
| SC_OK_OR_CREATED | |||||||||||
| SC_OK_OR_NOT_FOUND | |||||||||||
| SC_OK_OR_NO_CONTENT | |||||||||||
| SERVICE_ROOT_TYPE_REFERENCE | |||||||||||
| STRINGS_TYPE_REFERENCE | |||||||||||
| authorization | |||||||||||
| baseUri | |||||||||||
| connector | The connector to use to reach Neo4j: configure only if there is more than one HTTP/HTTPS connector active in your Mule application. | ||||||||||
| muleContext | |||||||||||
| password | The password used to authenticate to Neo4j. | ||||||||||
| serviceRoot | |||||||||||
| streaming | Should streaming be used when communicating with the Neo4j server. | ||||||||||
| user | The user used to authenticate to Neo4j. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Add a label to a
Node. | |||||||||||
Add labels to a
Node. | |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Connect to a Neo4j server.
| |||||||||||
Create a
Node. | |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Create a
Relationship. | |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Create a
SchemaIndex. | |||||||||||
Create a unique
Node or fail. | |||||||||||
Create a unique
Relationship or fail. | |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Delete a
Node. | |||||||||||
Delete a
Node. | |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Delete a label from a node, never failing even if the label doesn't exist.
| |||||||||||
Delete all properties from a
Node. | |||||||||||
Delete a property from a
Node. | |||||||||||
Delete a
Relationship. | |||||||||||
Delete a
Relationship. | |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Delete all properties of a
Relationship. | |||||||||||
Delete one property of a
Relationship. | |||||||||||
Delete a schema index.
| |||||||||||
Execute a batch of jobs.
| |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Get all the labels.
| |||||||||||
Get a
Node. | |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Get all the labels of a
Node. | |||||||||||
Get the relationships for a particular
Node. | |||||||||||
Get all the
Nodes that have a particular label and, optional, a particular property. | |||||||||||
Get or create a unique
Node. | |||||||||||
Get or create a unique
Relationship. | |||||||||||
Get a
Relationship. | |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Get all the relationship types.
| |||||||||||
Get the
SchemaIndexes for a particular label. | |||||||||||
Get service root.
| |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Run a cypher query.
| |||||||||||
This method is deprecated.
since Neo4j 2.0.0
| |||||||||||
Set labels of a
Node. | |||||||||||
Set the properties of a
Node. | |||||||||||
Set a property of a
Node. | |||||||||||
Set the properties of a
Relationship. | |||||||||||
Set one property of a
Relationship. | |||||||||||
Perform a node traversal, returning
Fullpath instances. | |||||||||||
Perform a paged node traversal, dispatching
Fullpath instances to the rest of the
flow. | |||||||||||
Perform a node traversal, returning
Node instances. | |||||||||||
Perform a paged node traversal, dispatching
Node instances to the rest of the flow. | |||||||||||
Traverse nodes with a particular algorithm, returning the first successful path found.
| |||||||||||
Perform a node traversal, returning
Path instances. | |||||||||||
Traverse nodes with a particular algorithm, returning all the successful paths found.
| |||||||||||
Perform a paged node traversal, dispatching
Path instances to the rest of the flow. | |||||||||||
Perform a node traversal, returning
Relationship instances. | |||||||||||
Perform a paged node traversal, dispatching
Relationship instances to the rest of the
flow. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.mule.api.context.MuleContextAware
| |||||||||||
The connector to use to reach Neo4j: configure only if there is more than one HTTP/HTTPS connector active in your Mule application.
The password used to authenticate to Neo4j.
Should streaming be used when communicating with the Neo4j server.
The user used to authenticate to Neo4j.
This method is deprecated.
since Neo4j 2.0.0
Add a property for autoindexing on nodes.
| propertyName | The property to add. |
|---|
| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Add a Node to an index.
| indexName | The name of the index to add the node to. |
|---|---|
| node | The node to add. |
| key | The key to use with the index entry. |
| value | The value to use with the index entry. |
IndexedNode instance.| MuleException | if anything goes wrong with the operation. |
|---|
Connect to a Neo4j server.
| baseUri | The base URI of the Neo4j server API. |
|---|
| ConnectionException | in case connection fails. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Create a node index.
| indexName | The name of the new node index to create. |
|---|---|
| type | The type of the new node index. |
| provider | The provider for the new node index. |
| MuleException | if anything goes wrong with the operation. |
|---|
| fromNode | The node where the relationship starts. |
|---|---|
| toNode | The node where the relationship ends. |
| type | The type of relationship. |
| properties | The properties of the relationship. |
Relationship instance.| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Create a relationship index.
| indexName | The name of the new node index to create. |
|---|---|
| type | The type of the new node index. |
| provider | The provider for the new node index. |
| MuleException | if anything goes wrong with the operation. |
|---|
Create a SchemaIndex.
| label | The label to create the index for. |
|---|---|
| propertyKeys | The property key or keys to index. |
SchemaIndex.| MuleException | if anything goes wrong with the operation. |
|---|
Create a unique Relationship or fail.
| relationshipName | The name of the relationship. |
|---|---|
| type | The type of the relationship. |
| key | The index key. |
| value | The index value. |
| startNode | The start Node. |
| endNode | The end Node. |
Relationship instance.| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Delete a property for autoindexing on nodes.
| propertyName | The property to remove. |
|---|
| MuleException | if anything goes wrong with the operation. |
|---|
| nodeId | Id of the node to delete. |
|---|---|
| failIfNotFound | If true, an exception will be thrown if the node is not found and couldn't be deleted. |
| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Delete a node index.
| indexName | The name of the node index to delete. |
|---|---|
| failIfNotFound | If true, an exception will be thrown if the node index is not found and couldn't be deleted. |
| MuleException | if anything goes wrong with the operation. |
|---|
Delete a label from a node, never failing even if the label doesn't exist.
| node | The Node to delete the label from. |
|---|---|
| label | The label to delete. |
| MuleException | if anything goes wrong with the operation. |
|---|
| relationship | The Relationship to delete. |
|---|---|
| failIfNotFound | If true, an exception will be thrown if the relationship is not found and couldn't be deleted. |
| MuleException | if anything goes wrong with the operation. |
|---|
| relationshipId | The ID of the relationship to delete. |
|---|---|
| failIfNotFound | If true, an exception will be thrown if the relationship is not found and couldn't be deleted. |
| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Delete a relationship index.
| indexName | The name of the node index to delete. |
|---|---|
| failIfNotFound | If true, an exception will be thrown if the node index is not found and couldn't be deleted. |
| MuleException | if anything goes wrong with the operation. |
|---|
Delete all properties of a Relationship.
| relationship | The Relationship to delete from. |
|---|
| MuleException | if anything goes wrong with the operation. |
|---|
Delete one property of a Relationship.
| relationship | The Relationship to delete from. |
|---|---|
| key | The key of the property. |
| failIfNotFound | If true, an exception will be thrown if the property is not found and couldn't be deleted. |
| MuleException | if anything goes wrong with the operation. |
|---|
Delete a schema index.
| label | The label to delete the schema index from. |
|---|---|
| propertyKey | The property key to delete the schema index for. |
| failIfNotFound | If true, an exception will be thrown if the schema index is not found and couldn't be deleted. |
| MuleException | if anything goes wrong with the operation. |
|---|
| IOException |
|---|
Execute a batch of jobs.
| jobs | The batch to execute. |
|---|
BatchJobResult, never null but possibly empty.| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Find nodes by exact match on an auto-index.
| key | The key to use. |
|---|---|
| value | The value to use. |
IndexedNodes, never null but possibly empty.| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Find nodes by query on an auto-index.
| query | The query to run. |
|---|
IndexedNodes, never null but possibly empty.| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Find nodes by exact index match.
| indexName | The name of the index to use for the search. |
|---|---|
| key | The key to use. |
| value | The value to use. |
IndexedNodes, never null but possibly empty.| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Find nodes by index query.
| indexName | The name of the index to use for the search. |
|---|---|
| query | The query to run. |
| order | The desired Neo4jConnector.QueryResultOrder. |
IndexedNodes, never null but possibly empty.| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Get the properties being autoindexed.
| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Get current status for autoindexing on nodes.
| MuleException | if anything goes wrong with the operation. |
|---|
Get all the labels.
| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Get all the node indexes.
| MuleException | if anything goes wrong with the operation. |
|---|
| node | The Node for which relationships are considered. |
|---|---|
| direction | The Neo4jConnector.RelationshipDirection to use. |
| types | The relationship types to look for. |
Relationship, which can be empty but never null.| MuleException | if anything goes wrong with the operation. |
|---|
| label | The label to use when searching for nodes. |
|---|---|
| propertyName | The property name to use when searching for nodes. |
| propertyValue | The property value to use when searching for nodes. |
Node, never null but possibly empty.| MuleException | if anything goes wrong with the operation. |
|---|
Get or create a unique Relationship.
| relationshipName | The name of the relationship. |
|---|---|
| type | The type of the relationship. |
| key | The index key. |
| value | The index value. |
| startNode | The start Node. |
| endNode | The end Node. |
Relationship instance.| MuleException | if anything goes wrong with the operation. |
|---|
| relationshipId | The ID of the relationship to retrieve. |
|---|---|
| failIfNotFound | If true, an exception will be thrown if the node is not found, otherwise null will be returned. |
Relationship or null.| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Get all the relationship indexes.
| MuleException | if anything goes wrong with the operation. |
|---|
Get all the relationship types.
| MuleException | if anything goes wrong with the operation. |
|---|
Get the SchemaIndexes for a particular label.
| label | The label to consider. |
|---|
SchemaIndex instances, never null but possibly empty| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Remove node index entries.
| indexName | The name of the index to remove entries from. |
|---|---|
| node | The node for which entries will be removed. |
| key | The key for which entries will be removed. |
| value | The value for which entries will be removed. |
| failIfNotFound | If true, an exception will be thrown if no index entry can be deleted. |
| MuleException | if anything goes wrong with the operation. |
|---|
Run a cypher query.
| query | The query to execute. |
|---|---|
| params | The parameters to use. |
| includeStatistics | Defines if meta data about the query must be returned. |
| profile | Defines if a profile of the executed query must be returned. |
| MuleException | if anything goes wrong with the operation. |
|---|
This method is deprecated.
since Neo4j 2.0.0
Enable or disable node autoindexing.
| status | An Neo4jConnector#AutoIndexingStatus. |
|---|
| MuleException | if anything goes wrong with the operation. |
|---|
| connector |
|---|
| muleContext |
|---|
| password |
|---|
Set the properties of a Relationship.
| relationship | The Relationship to set properties on. |
|---|---|
| properties | The properties to set. |
| MuleException | if anything goes wrong with the operation. |
|---|
Set one property of a Relationship.
| relationship | The Relationship to set a property on. |
|---|---|
| key | The property key. |
| value | The property value. |
| MuleException | if anything goes wrong with the operation. |
|---|
| streaming |
|---|
| user |
|---|
Perform a node traversal, returning Fullpath instances.
| node | The start Node. |
|---|---|
| order | The order to visit the nodes. |
| uniqueness | How uniquess should be calculated. |
| maxDepth | The maximum depth from the start node after which results must be pruned. |
| relationships | The relationship types and directions that must be followed. |
| returnFilter | A filter that determines if the current position should be included in the result. |
| pruneEvaluator | An evaluator that determines of traversal should stop or continue. |
Fullpath, never null but potentially empty.| MuleException | if anything goes wrong with the operation. |
|---|
Perform a paged node traversal, dispatching Fullpath instances to the rest of the
flow.
| node | The start Node. |
|---|---|
| order | The order to visit the nodes. |
| uniqueness | How uniquess should be calculated. |
| maxDepth | The maximum depth from the start node after which results must be pruned. |
| relationships | The relationship types and directions that must be followed. |
| returnFilter | A filter that determines if the current position should be included in the result. |
| pruneEvaluator | An evaluator that determines of traversal should stop or continue. |
| pageSize | The size of the result page. |
| leaseTimeSeconds | The time during which the paged results will be accessible. |
| muleEvent | The MuleEvent being processed. |
| sourceCallback | The SourceCallback invoked for each result page. |
Node, never null but potentially empty.| MuleException | if anything goes wrong with the operation. |
|---|
Perform a node traversal, returning Node instances.
| node | The start Node. |
|---|---|
| order | The order to visit the nodes. |
| uniqueness | How uniquess should be calculated. |
| maxDepth | The maximum depth from the start node after which results must be pruned. |
| relationships | The relationship types and directions that must be followed. |
| returnFilter | A filter that determines if the current position should be included in the result. |
| pruneEvaluator | An evaluator that determines of traversal should stop or continue. |
Node, never null but potentially empty.| MuleException | if anything goes wrong with the operation. |
|---|
Perform a paged node traversal, dispatching Node instances to the rest of the flow.
| node | The start Node. |
|---|---|
| order | The order to visit the nodes. |
| uniqueness | How uniquess should be calculated. |
| maxDepth | The maximum depth from the start node after which results must be pruned. |
| relationships | The relationship types and directions that must be followed. |
| returnFilter | A filter that determines if the current position should be included in the result. |
| pruneEvaluator | An evaluator that determines of traversal should stop or continue. |
| pageSize | The size of the result page. |
| leaseTimeSeconds | The time during which the paged results will be accessible. |
| muleEvent | The MuleEvent being processed. |
| sourceCallback | The SourceCallback invoked for each result page. |
Node, never null but potentially empty.| MuleException | if anything goes wrong with the operation. |
|---|
Traverse nodes with a particular algorithm, returning the first successful path found.
| fromNode | The Node where traversal should start. |
|---|---|
| toNode | The Node where traversal should end. |
| algorithm | The PathQuery.Algorithm to use for the traversal. |
| relationshipType | The type of relationship to traverse. |
| maxDepth | The maximum depth from the start node below which traversal must stop. |
| costProperty | The property that contains the cost of traversal. |
| defaultCost | The default cost of the traversal. |
| failIfNotFound | If true, an exception will be thrown if no path can be found, otherwise null will be returned. |
PathQueryResult instance.| MuleException | if anything goes wrong with the operation. |
|---|
Perform a node traversal, returning Path instances.
| node | The start Node. |
|---|---|
| order | The order to visit the nodes. |
| uniqueness | How uniquess should be calculated. |
| maxDepth | The maximum depth from the start node after which results must be pruned. |
| relationships | The relationship types and directions that must be followed. |
| returnFilter | A filter that determines if the current position should be included in the result. |
| pruneEvaluator | An evaluator that determines of traversal should stop or continue. |
Path, never null but potentially empty.| MuleException | if anything goes wrong with the operation. |
|---|
Traverse nodes with a particular algorithm, returning all the successful paths found.
| fromNode | The Node where traversal should start. |
|---|---|
| toNode | The Node where traversal should end. |
| algorithm | The PathQuery.Algorithm to use for the traversal. |
| relationshipType | The type of relationship to traverse. |
| maxDepth | The maximum depth from the start node below which traversal must stop. |
| costProperty | The property that contains the cost of traversal. |
| defaultCost | The default cost of the traversal. |
PathQueryResult instances, never null but potentially
empty.| MuleException | if anything goes wrong with the operation. |
|---|
Perform a paged node traversal, dispatching Path instances to the rest of the flow.
| node | The start Node. |
|---|---|
| order | The order to visit the nodes. |
| uniqueness | How uniquess should be calculated. |
| maxDepth | The maximum depth from the start node after which results must be pruned. |
| relationships | The relationship types and directions that must be followed. |
| returnFilter | A filter that determines if the current position should be included in the result. |
| pruneEvaluator | An evaluator that determines of traversal should stop or continue. |
| pageSize | The size of the result page. |
| leaseTimeSeconds | The time during which the paged results will be accessible. |
| muleEvent | The MuleEvent being processed. |
| sourceCallback | The SourceCallback invoked for each result page. |
Node, never null but potentially empty.| MuleException | if anything goes wrong with the operation. |
|---|
Perform a node traversal, returning Relationship instances.
| node | The start Node. |
|---|---|
| order | The order to visit the nodes. |
| uniqueness | How uniquess should be calculated. |
| maxDepth | The maximum depth from the start node after which results must be pruned. |
| relationships | The relationship types and directions that must be followed. |
| returnFilter | A filter that determines if the current position should be included in the result. |
| pruneEvaluator | An evaluator that determines of traversal should stop or continue. |
Relationship, never null but potentially empty.| MuleException | if anything goes wrong with the operation. |
|---|
Perform a paged node traversal, dispatching Relationship instances to the rest of the
flow.
| node | The start Node. |
|---|---|
| order | The order to visit the nodes. |
| uniqueness | How uniquess should be calculated. |
| maxDepth | The maximum depth from the start node after which results must be pruned. |
| relationships | The relationship types and directions that must be followed. |
| returnFilter | A filter that determines if the current position should be included in the result. |
| pruneEvaluator | An evaluator that determines of traversal should stop or continue. |
| pageSize | The size of the result page. |
| leaseTimeSeconds | The time during which the paged results will be accessible. |
| muleEvent | The MuleEvent being processed. |
| sourceCallback | The SourceCallback invoked for each result page. |
Node, never null but potentially empty.| MuleException | if anything goes wrong with the operation. |
|---|