| 61 | std::string getFunctionName() const override { return AllSPPathsFunction::name; } |
| 62 | |
| 63 | expression_vector getResultColumns(const RJBindData& bindData) const override { |
| 64 | expression_vector columns; |
| 65 | columns.push_back(bindData.nodeInput->constCast<NodeExpression>().getInternalID()); |
| 66 | columns.push_back(bindData.nodeOutput->constCast<NodeExpression>().getInternalID()); |
| 67 | columns.push_back(bindData.lengthExpr); |
| 68 | if (bindData.extendDirection == ExtendDirection::BOTH) { |
| 69 | columns.push_back(bindData.directionExpr); |
| 70 | } |
| 71 | columns.push_back(bindData.pathNodeIDsExpr); |
| 72 | columns.push_back(bindData.pathEdgeIDsExpr); |
| 73 | return columns; |
| 74 | } |
| 75 | |
| 76 | std::unique_ptr<RJAlgorithm> copy() const override { |
| 77 | return std::make_unique<AllSPPathsAlgorithm>(*this); |
no test coverage detected