MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / getTokenRanges

Method getTokenRanges

lib/metadata/index.js:343–345  ·  view source on GitHub ↗

* Gets the token ranges that define data distribution in the ring. * * @returns {Set } The ranges of the ring or empty set if schema metadata is not enabled.

()

Source from the content-addressed store, hash-verified

341 * @returns {Set<TokenRange>} The ranges of the ring or empty set if schema metadata is not enabled.
342 */
343 getTokenRanges() {
344 return this.tokenRanges;
345 }
346
347 /**
348 * Gets the token ranges that are replicated on the given host, for

Callers 1

getTokenRangesForHostMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected