public class PredefinedTraversals extends Object
| Constructor and Description |
|---|
PredefinedTraversals() |
| Modifier and Type | Method and Description |
|---|---|
static org.neo4j.graphdb.traversal.TraversalDescription |
getAcronymsTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb) |
static org.neo4j.graphdb.traversal.TraversalDescription |
getFacetGroupTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb,
String facetGroupName)
This traversal returns two nodes, viz.
|
static org.neo4j.graphdb.traversal.TraversalDescription |
getFacetTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb)
Beginning at the facet groups node, this traversal returns all facets.
|
static org.neo4j.graphdb.traversal.TraversalDescription |
getFacetTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb,
String propertyKey,
Object propertyValue)
Beginning at the facet groups node, this traversal returns all facets
matching the given property key and property value.
|
static org.neo4j.graphdb.traversal.TraversalDescription |
getNonAggregateAggregateElements(org.neo4j.graphdb.GraphDatabaseService graphDb) |
static org.neo4j.graphdb.traversal.TraversalDescription |
getTopAggregates(org.neo4j.graphdb.GraphDatabaseService graphDb) |
static org.neo4j.graphdb.traversal.TraversalDescription |
getWritingVariantsTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb) |
public static org.neo4j.graphdb.traversal.TraversalDescription getFacetTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb)
graphDb - The graph database to traverse on.public static org.neo4j.graphdb.traversal.TraversalDescription getFacetTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb,
String propertyKey,
Object propertyValue)
FacetManager.EdgeTypes.HAS_FACET_GROUP or
FacetManager.EdgeTypes.HAS_FACET edge types that are located at a depth of at
most 2.graphDb - The graph database to traverse on.propertyKey - The property on which to filter for propertyValuepropertyValue - The value for which is looked in property for facet
nodespublic static org.neo4j.graphdb.traversal.TraversalDescription getFacetGroupTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb,
String facetGroupName)
graphDb - The graph database to work on.facetGroupName - The name of the requested facet group, e.g. "BioMed".public static org.neo4j.graphdb.traversal.TraversalDescription getAcronymsTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb)
public static org.neo4j.graphdb.traversal.TraversalDescription getWritingVariantsTraversal(org.neo4j.graphdb.GraphDatabaseService graphDb)
public static org.neo4j.graphdb.traversal.TraversalDescription getNonAggregateAggregateElements(org.neo4j.graphdb.GraphDatabaseService graphDb)
public static org.neo4j.graphdb.traversal.TraversalDescription getTopAggregates(org.neo4j.graphdb.GraphDatabaseService graphDb)
Copyright © 2018 JULIE Lab Jena, Germany. All rights reserved.