MCPcopy Create free account

hub / github.com/cytosm/cytosm / functions

Functions1,254 in github.com/cytosm/cytosm

↓ 275 callersMethodget
(final String name)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/AvailableVariables.java:36
↓ 104 callersMethodadd
(ConstExprValue other)
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/constexpr/ConstExpressionFolder.java:47
↓ 97 callersMethodfold
(Folder<T, E> folder, Expr expr)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/expr/ExprWalk.java:274
↓ 82 callersMethodfoldExpression
Fold the given expression using the provided folder. @param folder is the folder that will be used. @param expression is the node to fold.
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/visitor/Walk.java:704
↓ 54 callersMethodwalkExpression
Pattern match the passed Expression but stops at Literal(s). This reduce the boilerplate to write a Visitor that is only interested in Expressions. @p
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/visitor/Walk.java:194
↓ 33 callersMethodisEmpty
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/AvailableVariables.java:40
↓ 33 callersMethodwalk
Walk a supposed Cypher AST, but where the object might not be an ASTNode such as a list of ASTNode or an <pre>Option<ASTNode></pre> @param visitor is
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/visitor/Walk.java:113
↓ 30 callersMethodasDouble
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/constexpr/ConstExpressionFolder.java:67
↓ 25 callersMethodwalk
(Visitor visitor, Expr expr)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/expr/ExprWalk.java:99
↓ 24 callersMethodasLong
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/constexpr/ConstExpressionFolder.java:66
↓ 23 callersMethodgenClauseForASTNode
(ASTNode node)
cypher2sql/src/test/java/org/cytosm/cypher2sql/lowering/typeck/BaseVarTests.java:17
↓ 22 callersMethodparseCypher
Parse the cypher and returns the AST representation. @param cypher is the string to parse. @return Returns the AST.
cypher2sql/src/main/java/org/cytosm/cypher2sql/PassAvailables.java:27
↓ 21 callersMethodgetByName
(List<Var> l, String name)
cypher2sql/src/test/java/org/cytosm/cypher2sql/lowering/typeck/BaseVarTests.java:21
↓ 21 callersMethodwalkSQLNode
(final SQLNodeVisitor<E> visitor, final SQLNode node)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/sqltree/visitor/Walk.java:181
↓ 20 callersMethodclassName
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/constexpr/ConstExpressionFolder.java:71
↓ 20 callersMethodequals
(Object o)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/ClauseId.java:50
↓ 19 callersMethodgetTypes
@return the types
common/src/main/java/org/cytosm/common/gtop/abstraction/AbstractionGraphComponent.java:26
↓ 18 callersMethodgetPatternPart
(Clause cl)
cypher2sql/src/test/java/org/cytosm/cypher2sql/lowering/typeck/BaseVarTests.java:25
↓ 18 callersMethodtoString
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/ClauseId.java:39
↓ 16 callersMethodrethrowConsumer
.forEach(rethrowConsumer(name -> System.out.println(Class.forName(name))));
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/exceptions/fns/LambdaExceptionUtil.java:30
↓ 16 callersMethodtoSQLString
Attempt to convert this expression into an equivalent SQL string. This will mostly works if correct passes have been ran before hand. This can fail fo
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/expr/Expr.java:34
↓ 15 callersMethodclassName
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/constexpr/ConstVal.java:67
↓ 15 callersMethodgetTypes
@return the types
pathfinder/src/main/java/org/cytosm/pathfinder/routeelements/ExpansionElement.java:107
↓ 15 callersMethodtoSQLStringInfix
(final String operator, final RenderingContext helper)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/expr/ExprTree.java:28
↓ 14 callersMethodjoinList
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/sqltree/SimpleSelect.java:102
↓ 13 callersMethodcypher2sql
(String cypher)
cypher2sql/src/test/java/org/cytosm/cypher2sql/lowering/RenderingTests.java:153
↓ 13 callersMethodgetAttributeMap
@return the attributeMap
pathfinder/src/main/java/org/cytosm/pathfinder/routeelements/ExpansionElement.java:76
↓ 12 callersMethodgetAbstractionEdgesByTypes
Finds the Abstraction Edges for a given types. @param types @return
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:94
↓ 12 callersMethodgetAbstractionLevel
@return the abstractionLevel
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:27
↓ 12 callersMethodgetMatchedGtopAbstractionEntities
Returns an abstract edge or node. @return matchedGtopAbstractionEntitities
pathfinder/src/main/java/org/cytosm/pathfinder/routeelements/ExpansionElement.java:123
↓ 12 callersMethodgetPath
The path to return. @return the path
cypher2sql/src/main/java/org/cytosm/cypher2sql/expandpaths/PathPlusHints.java:82
↓ 12 callersMethodgetUsedVars
Return the list of variables used by that clause. @param clauseId is the clause id. @return Returns the list of variables.
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/VarDependencies.java:73
↓ 12 callersMethodisNode
()
pathfinder/src/main/java/org/cytosm/pathfinder/routeelements/ExpansionEdge.java:275
↓ 11 callersMethodasBool
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/constexpr/ConstExpressionFolder.java:69
↓ 11 callersMethodgetName
(NodePattern np)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/NameProvider.java:22
↓ 11 callersMethodtoSQLString
Attempt to convert this sql tree into an equivalent SQL string. This will mostly work for the same reason as explained in {@link Expr}
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/sqltree/SQLNode.java:15
↓ 10 callersMethodcreateQueryTree
Create the SQL tree from the Cypher AST and the analysis result from previous passes. @param varDependencies is the list of variables and their intera
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/SelectTreeBuilder.java:36
↓ 10 callersMethodequals
(final Object o)
common/src/main/java/org/cytosm/common/gtop/implementation/relational/ImplementationEdge.java:93
↓ 10 callersMethodgetDestinationTableName
@return the destinationTableName
common/src/main/java/org/cytosm/common/gtop/implementation/relational/TraversalHop.java:227
↓ 10 callersMethodgetImplementationLevel
@return the implementationLevel
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:32
↓ 10 callersMethodgetSourceTableName
@return the sourceTableName
common/src/main/java/org/cytosm/common/gtop/implementation/relational/TraversalHop.java:171
↓ 10 callersMethodmoveRestrictionInPatterns
This pass find restriction in patterns and move them in WHERE clause where they will be rendered appropriately. @param sqltree is the root of the SQL
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/MoveRestrictionInPattern.java:25
↓ 9 callersMethodgetNTabs
(final int tab)
cypher2sql/src/main/java/org/cytosm/cypher2sql/utils/ASTPrinter.java:120
↓ 9 callersMethodgetReachableVars
Return the list of variables reachable by that clause. @param clauseId is the clause id. @return Returns the list of variables.
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/VarDependencies.java:160
↓ 9 callersMethodgetUsedAndIndirectUsedVars
Return the list of variables used by that clause and the one that are indirectly used. A simple example is this one: Cypher: ClauseI
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/VarDependencies.java:121
↓ 9 callersMethodnameSubqueries
Give a name to each sub query. @param sqltree is the root of the SQL tree.
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/NameSubqueries.java:18
↓ 8 callersMethodbuildQueryTree
On build the query tree running the VarDependencies pass and the SelectTreeBuilder pass. @param cypher is the cypher to parse. @return Returns the SQL
cypher2sql/src/main/java/org/cytosm/cypher2sql/PassAvailables.java:37
↓ 8 callersMethodequals
(final Object o)
common/src/main/java/org/cytosm/common/gtop/abstraction/AbstractionNode.java:44
↓ 8 callersMethodgetAbstractionNodes
@return the abstraction nodes
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:43
↓ 8 callersMethodgetAttributes
@return the attributes
common/src/main/java/org/cytosm/common/gtop/implementation/relational/TraversalHop.java:155
↓ 8 callersMethodgetDestinationType
@return the destinationType
common/src/main/java/org/cytosm/common/gtop/abstraction/AbstractionEdge.java:71
↓ 8 callersMethodgetSourceType
@return the sourceType
common/src/main/java/org/cytosm/common/gtop/abstraction/AbstractionEdge.java:57
↓ 8 callersMethodgetTableName
@return the tableName
common/src/main/java/org/cytosm/common/gtop/implementation/relational/EdgeAttribute.java:48
↓ 8 callersMethodisHintAvailable
@return the hintAvailable
pathfinder/src/main/java/org/cytosm/pathfinder/routeelements/ExpansionElement.java:137
↓ 7 callersMethodbuildFromCypherExpression
(final Expression expr, final AvailableVariables availablesVariables)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/expr/ExprTreeBuilder.java:323
↓ 7 callersMethodgetAbstractionNodesByTypes
Finds an abstract node by types. @param types @return
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:104
↓ 7 callersMethodgetGTopInterface
()
cypher2sql/src/test/java/org/cytosm/cypher2sql/lowering/BaseLDBCTests.java:14
↓ 7 callersMethodgetVariable
@return the variable
pathfinder/src/main/java/org/cytosm/pathfinder/routeelements/ExpansionEdge.java:138
↓ 6 callersMethodcypher2sqlOnExpandedPaths
Convert the provided Cypher into SQL. @param gTopInterface gtop implementation. @param cypher is the cypher to convert. @return Returns a SQL tree.
cypher2sql/src/main/java/org/cytosm/cypher2sql/PassAvailables.java:49
↓ 6 callersMethodgetAbstractionEdges
@return the edges
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:61
↓ 6 callersMethodgetSourceTableColumn
@return the sourceTableColumn
common/src/main/java/org/cytosm/common/gtop/implementation/relational/TraversalHop.java:73
↓ 6 callersMethodparse
Parse the provided Cypher string and converts it into an AST. @param cypher is the cypher to parse. @return Returns the generated AST.
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/parser/ASTBuilder.java:17
↓ 6 callersMethodresolveAliasVar
(Var var)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/var/AliasVar.java:37
↓ 6 callersMethodtype
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/var/AliasVar.java:20
↓ 5 callersMethodcomputeFromItems
(String cypher)
cypher2sql/src/test/java/org/cytosm/cypher2sql/lowering/ComputeFromItemsTests.java:169
↓ 5 callersMethodfold
(Folder<T, E> folder, SQLNode node)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/sqltree/visitor/Walk.java:243
↓ 5 callersMethodgenerateHashFromRoute
Generates traversal dependent hash code. It provides different values for routes like (:Person)--(:Car) and (:Car)--(:Person) @param route @return
pathfinder/src/main/java/org/cytosm/pathfinder/enumerators/EnumeratorFilter.java:56
↓ 5 callersMethodgetDestinationTableColumn
@return the destinationTableColumn
common/src/main/java/org/cytosm/common/gtop/implementation/relational/TraversalHop.java:87
↓ 5 callersMethodgetHints
Get the map of hints for this path. @return the map of hints
cypher2sql/src/main/java/org/cytosm/cypher2sql/expandpaths/PathPlusHints.java:59
↓ 5 callersMethodgetJoinTableSourceColumn
@return the joinTableSourceColumn
common/src/main/java/org/cytosm/common/gtop/implementation/relational/TraversalHop.java:185
↓ 5 callersMethodgetSource
Returns the source for a particular variable @param var is the variable. @return Returns the source if there's any.
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/rendering/RenderingContext.java:133
↓ 5 callersMethodpow
(ConstExprValue other)
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/constexpr/ConstExpressionFolder.java:52
↓ 5 callersMethodshallowClone
This clone performs a shallow copy of the original select, thus preserving all original references. This means you might do further adjustements to po
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/ExpandNodeVarWithGtop.java:379
↓ 5 callersMethodtoString
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/expandpaths/PathPlusHints.java:86
↓ 4 callersMethodequals
(final Object obj)
cypher2sql/src/main/java/org/cytosm/cypher2sql/expandpaths/PathPlusHints.java:91
↓ 4 callersMethodgetAllPossibleRoutes
@return the allPossibleroutes
pathfinder/src/main/java/org/cytosm/pathfinder/CanonicalRoutes.java:203
↓ 4 callersMethodgetJoinTableDestinationColumn
@return the joinTableDestinationColumn
common/src/main/java/org/cytosm/common/gtop/implementation/relational/TraversalHop.java:213
↓ 4 callersMethodgetJoinTableName
@return the joinTableName
common/src/main/java/org/cytosm/common/gtop/implementation/relational/TraversalHop.java:199
↓ 4 callersMethodgetPaths
@return the paths
common/src/main/java/org/cytosm/common/gtop/implementation/relational/ImplementationEdge.java:74
↓ 4 callersMethodgetReturnExprs
Returns the expressions that the RETURN is made of. @return Returns a list of {@link Expr}.
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/VarDependencies.java:177
↓ 4 callersMethodisDirected
@return the directed
pathfinder/src/main/java/org/cytosm/pathfinder/routeelements/ExpansionEdge.java:264
↓ 4 callersMethodtype
Return the type of this variable. @return Returns the type of this variable
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/var/Var.java:24
↓ 4 callersMethodvisitScopeSelect
(ScopeSelect scopeSelect)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/sqltree/visitor/Walk.java:28
↓ 3 callersMethodasObject
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/cypher/constexpr/ConstExpressionFolder.java:68
↓ 3 callersMethodcollectVarInfos
Traverse the provided limited Cypher AST. We look for all variables uses and collect them. @param expression is the AST to traverse.
cypher2sql/src/main/java/org/cytosm/cypher2sql/expandpaths/VariableCollectorVisitor.java:37
↓ 3 callersMethodcomputeFromItems
Compute all FROM items. This pass put directly all the computed FromItem on the SimpleSelect themselves. In order to get the JOIN you need to have a
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/ComputeFromItems.java:46
↓ 3 callersMethoddependencies
()
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/sqltree/SimpleSelect.java:95
↓ 3 callersMethodfromBeginningUntilpopulateJoins
(String cypher)
cypher2sql/src/test/java/org/cytosm/cypher2sql/lowering/PopulateJoinsTests.java:71
↓ 3 callersMethodgetAllVariables
Returns the list of all variables. No variables exists beyond those ones. This method only purpose is for testing. Some tests might want to verify pro
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/VarDependencies.java:85
↓ 3 callersMethodgetByName
(List<FromItem> fis, String varname)
cypher2sql/src/test/java/org/cytosm/cypher2sql/lowering/ComputeFromItemsTests.java:178
↓ 3 callersMethodgetDestinationNodesForEdge
Return destination node types for a given edge. @param edge edge to lookup @return list node types that this edge directs to
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:198
↓ 3 callersMethodgetEquivalentMaterializedGtop
@return the equivalentMaterializedGtop
pathfinder/src/main/java/org/cytosm/pathfinder/routeelements/ExpansionElement.java:149
↓ 3 callersMethodgetGraphMetadata
@return the graphMetadata
common/src/main/java/org/cytosm/common/gtop/implementation/relational/ImplementationLevelGtop.java:50
↓ 3 callersMethodgetImplementationEdges
@return the edges
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:67
↓ 3 callersMethodgetImplementationLevel
@return the implementationLevel
common/src/main/java/org/cytosm/common/gtop/GTop.java:65
↓ 3 callersMethodgetImplementationNodes
@return the implementation nodes
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:37
↓ 3 callersMethodgetRelationships
Return the list of relationships involved in that clause. @param clauseId is the clause id. @return Returns the list of relationships.
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/VarDependencies.java:169
↓ 3 callersMethodgetSourceNodesForEdge
Return source node types for a given edge. @param edge edge to lookup @return set of two nodes for this edge
common/src/main/java/org/cytosm/common/gtop/GTopInterface.java:189
↓ 3 callersMethodgetTraversalHops
@return the traversalHops
common/src/main/java/org/cytosm/common/gtop/implementation/relational/Path.java:36
↓ 3 callersMethodnewClauseID
(final Span pos, final ClauseId.ClauseKind kind)
cypher2sql/src/main/java/org/cytosm/cypher2sql/lowering/typeck/VarDependencies.java:356
next →1–100 of 1,254, ranked by callers