33import java .util .List ;
44import java .util .Map ;
55
6+ /**
7+ * @deprecated Redis Graph support is deprecated.
8+ */
9+ @ Deprecated
610public interface RedisGraphCommands {
711
812 /**
@@ -11,7 +15,9 @@ public interface RedisGraphCommands {
1115 * @param name a graph to perform the query on
1216 * @param query Cypher query
1317 * @return a result set
18+ * @deprecated Redis Graph support is deprecated.
1419 */
20+ @ Deprecated
1521 ResultSet graphQuery (String name , String query );
1622
1723 /**
@@ -20,7 +26,9 @@ public interface RedisGraphCommands {
2026 * @param name a graph to perform the query on
2127 * @param query Cypher query
2228 * @return a result set
29+ * @deprecated Redis Graph support is deprecated.
2330 */
31+ @ Deprecated
2432 ResultSet graphReadonlyQuery (String name , String query );
2533
2634 /**
@@ -30,7 +38,9 @@ public interface RedisGraphCommands {
3038 * @param query Cypher query
3139 * @param timeout
3240 * @return a result set
41+ * @deprecated Redis Graph support is deprecated.
3342 */
43+ @ Deprecated
3444 ResultSet graphQuery (String name , String query , long timeout );
3545
3646 /**
@@ -40,7 +50,9 @@ public interface RedisGraphCommands {
4050 * @param query Cypher query
4151 * @param timeout
4252 * @return a result set
53+ * @deprecated Redis Graph support is deprecated.
4354 */
55+ @ Deprecated
4456 ResultSet graphReadonlyQuery (String name , String query , long timeout );
4557
4658 /**
@@ -50,7 +62,9 @@ public interface RedisGraphCommands {
5062 * @param query Cypher query.
5163 * @param params parameters map.
5264 * @return a result set.
65+ * @deprecated Redis Graph support is deprecated.
5366 */
67+ @ Deprecated
5468 ResultSet graphQuery (String name , String query , Map <String , Object > params );
5569
5670 /**
@@ -60,7 +74,9 @@ public interface RedisGraphCommands {
6074 * @param query Cypher query.
6175 * @param params parameters map.
6276 * @return a result set.
77+ * @deprecated Redis Graph support is deprecated.
6378 */
79+ @ Deprecated
6480 ResultSet graphReadonlyQuery (String name , String query , Map <String , Object > params );
6581
6682 /**
@@ -71,7 +87,9 @@ public interface RedisGraphCommands {
7187 * @param params parameters map.
7288 * @param timeout
7389 * @return a result set.
90+ * @deprecated Redis Graph support is deprecated.
7491 */
92+ @ Deprecated
7593 ResultSet graphQuery (String name , String query , Map <String , Object > params , long timeout );
7694
7795 /**
@@ -82,40 +100,54 @@ public interface RedisGraphCommands {
82100 * @param params parameters map.
83101 * @param timeout
84102 * @return a result set.
103+ * @deprecated Redis Graph support is deprecated.
85104 */
105+ @ Deprecated
86106 ResultSet graphReadonlyQuery (String name , String query , Map <String , Object > params , long timeout );
87107
88108 /**
89109 * Deletes the entire graph
90110 *
91111 * @param name graph to delete
92112 * @return delete running time statistics
113+ * @deprecated Redis Graph support is deprecated.
93114 */
115+ @ Deprecated
94116 String graphDelete (String name );
95117
96118 /**
97119 * Lists all graph keys in the keyspace.
98120 * @return graph keys
121+ * @deprecated Redis Graph support is deprecated.
99122 */
123+ @ Deprecated
100124 List <String > graphList ();
101125
102126 /**
103127 * Executes a query and produces an execution plan augmented with metrics for each operation's execution.
128+ * @deprecated Redis Graph support is deprecated.
104129 */
130+ @ Deprecated
105131 List <String > graphProfile (String graphName , String query );
106132
107133 /**
108134 * Constructs a query execution plan but does not run it. Inspect this execution plan to better understand how your
109135 * query will get executed.
136+ * @deprecated Redis Graph support is deprecated.
110137 */
138+ @ Deprecated
111139 List <String > graphExplain (String graphName , String query );
112140
113141 /**
114142 * Returns a list containing up to 10 of the slowest queries issued against the given graph ID.
143+ * @deprecated Redis Graph support is deprecated.
115144 */
145+ @ Deprecated
116146 List <List <Object >> graphSlowlog (String graphName );
117147
148+ @ Deprecated
118149 String graphConfigSet (String configName , Object value );
119150
151+ @ Deprecated
120152 Map <String , Object > graphConfigGet (String configName );
121153}
0 commit comments