8000 Deprecate DSE-specific host metadata in OSS driver · kecmu/java-driver@cac95b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit cac95b8

Browse files
author
Alexandre Dutra
committed
Deprecate DSE-specific host metadata in OSS driver
1 parent 43b6040 commit cac95b8

File tree

1 file changed

+15
-0
lines changed
  • driver-core/src/main/java/com/datastax/driver/core

1 file changed

+15
-0
lines changed

driver-core/src/main/java/com/datastax/driver/core/Host.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,12 @@ public VersionNumber getCassandraVersion() {
261261
* possibility.
262262
*
263263
* @return the DSE version the host is running.
264+
* @deprecated Please use the
265+
* <a href="https://github.com/datastax/java-driver-dse">Java driver for DSE</a>
266+
* if you are connecting to a DataStax Enterprise (DSE) cluster.
267+
* This method might not function properly with future versions of DSE.
264268
*/
269+
@Deprecated
265270
public VersionNumber getDseVersion() {
266271
return dseVersion;
267272
}
@@ -274,7 +279,12 @@ public VersionNumber getDseVersion() {
274279
* possibility.
275280
*
276281
* @return the DSE workload the host is running.
282+
* @deprecated Please use the
283+
* <a href="https://github.com/datastax/java-driver-dse">Java driver for DSE</a>
284+
* if you are connecting to a DataStax Enterprise (DSE) cluster.
285+
* This method might not function properly with future versions of DSE.
277286
*/
287+
@Deprecated
278288
public String getDseWorkload() {
279289
return dseWorkload;
280290
}
@@ -283,7 +293,12 @@ public String getDseWorkload() {
283293
* Returns whether the host is running DSE Graph.
284294
*
285295
* @return whether the node is running DSE Graph.
296+
* @deprecated Please use the
297+
* <a href="https://github.com/datastax/java-driver-dse">Java driver for DSE</a>
298+
* if you are connecting to a DataStax Enterprise (DSE) cluster.
299+
* This method might not function properly with future versions of DSE.
286300
*/
301+
@Deprecated
287302
public boolean isDseGraphEnabled() {
288303
return dseGraphEnabled;
289304
}

0 commit comments

Comments
 (0)
0