本文整理了Java中org.neo4j.graphdb.Direction.reverse()
方法的一些代码示例,展示了Direction.reverse()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Direction.reverse()
方法的具体详情如下:
包路径:org.neo4j.graphdb.Direction
类名称:Direction
方法名:reverse
[英]Reverses the direction returning #INCOMING if this equals #OUTGOING, #OUTGOING if this equals #INCOMING or #BOTH if this equals #BOTH.
[中]反转返回方向#如果等于#传出#如果等于#传入或#如果等于#两者#传出。
代码示例来源:origin: neo4j/neo4j
@Override
public StandardExpander reverse()
{
return new AllExpander( direction.reverse() );
}
}
代码示例来源:origin: neo4j/neo4j
@Override
public StandardExpander reverse()
{
Collection<Pair<RelationshipType, Direction>> newTypes = new ArrayList<>();
for ( Pair<RelationshipType,Direction> pair : orderedTypes )
{
newTypes.add( Pair.of( pair.first(), pair.other().reverse() ) );
}
return new OrderedByTypeExpander( newTypes );
}
代码示例来源:origin: neo4j/neo4j
relDirection = direction.reverse();
.nodeGetRelationships( read, cursors, nodeCursor, toNode, direction.reverse(), relTypes ), fromNode );
代码示例来源:origin: neo4j/neo4j
relDirection = direction.reverse();
.nodeGetRelationships( read, cursors, nodeCursor, toNode, direction.reverse() ), fromNode );
代码示例来源:origin: org.neo4j/neo4j-graph-collections
@Override
public RelationshipExpander reversed()
{
return new IndexedRelationshipExpander( graphDb, direction.reverse(), relType );
}
}
代码示例来源:origin: org.neo4j/neo4j-graphdb-api
@Override
public StandardExpander reverse()
{
return new AllExpander( direction.reverse() );
}
}
代码示例来源:origin: neo4j-contrib/graph-collections
@Override
public RelationshipExpander reversed()
{
return new IndexedRelationshipExpander( graphDb, direction.reverse(), relType );
}
}
代码示例来源:origin: org.neo4j/neo4j-utils
protected Direction getInverseDirection()
{
return getDirection().reverse();
}
代码示例来源:origin: org.commonjava.maven.atlas/atlas-driver-neo4j-embedded
@Override
public PathExpander<STATE> reverse()
{
final AtlasCollector<STATE> collector =
new AtlasCollector<STATE>( visitor, startNodes, connection, view, viewNode, admin, types,
direction.reverse() );
collector.setUseSelections( useSelections );
return collector;
}
}
代码示例来源:origin: org.neo4j/neo4j-graphdb-api
@Override
public StandardExpander reverse()
{
Collection<Pair<RelationshipType, Direction>> newTypes = new ArrayList<>();
for ( Pair<RelationshipType,Direction> pair : orderedTypes )
{
newTypes.add( Pair.of( pair.first(), pair.other().reverse() ) );
}
return new OrderedByTypeExpander( newTypes );
}
代码示例来源:origin: org.neo4j/neo4j-graph-collections
direction.reverse().name().equals( relationshipDirection ) )
代码示例来源:origin: neo4j-contrib/graph-collections
direction.reverse().name().equals( relationshipDirection ) )
代码示例来源:origin: org.neo4j/neo4j-cypher
relDirection = direction.reverse();
.nodeGetRelationships( read, cursors, nodeCursor, toNode, direction.reverse(), relTypes ), fromNode );
代码示例来源:origin: org.neo4j/neo4j-cypher
relDirection = direction.reverse();
.nodeGetRelationships( read, cursors, nodeCursor, toNode, direction.reverse() ), fromNode );
内容来源于网络,如有侵权,请联系作者删除!