File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 66import org .neo4j .procedure .Name ;
77import org .neo4j .procedure .Procedure ;
88import tabby .result .HelpResult ;
9+ import tabby .result .StringResult ;
910
1011import java .util .HashSet ;
1112import java .util .Map ;
@@ -53,4 +54,11 @@ public Stream<HelpResult> info(@Name("proc") String name) throws Exception {
5354 return Stream .of ( proceduresResults , functionsResults ).flatMap ( results -> results .map (
5455 row -> new HelpResult ( row , !extended .contains ( (String ) row .get ( "name" ) ) ) ) );
5556 }
57+
58+ @ Procedure ("tabby.version" )
59+ @ Description ("tabby path finder version" )
60+ public Stream <StringResult > version () throws Exception {
61+ StringResult result = new StringResult ("version 1.0, 20230130" );
62+ return Stream .of (result );
63+ }
5664}
Original file line number Diff line number Diff line change 1+ package tabby .result ;
2+
3+ /**
4+ * @author mh
5+ * @since 11.04.16
6+ */
7+ public class StringResult {
8+ public String data ;
9+
10+ public StringResult (String data ) {
11+ this .data = data ;
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments