* Gets the DSE version of the host as an Array, containing the major version in the first position. * In case the cluster is not a DSE cluster, it returns an empty Array. * @returns {Array}
()
| 437 | * @returns {Array} |
| 438 | */ |
| 439 | getDseVersion() { |
| 440 | if (!this.dseVersion) { |
| 441 | return utils.emptyArray; |
| 442 | } |
| 443 | return this.dseVersion.split('-')[0].split('.').map(x => parseInt(x, 10)); |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | /** |
no test coverage detected