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

Method split

lib/tokenizer.js:77–79  ·  view source on GitHub ↗

* Splits the range specified by start and end into numberOfSplits equal parts. * @param {Token} start Starting token * @param {Token} end End token * @param {Number} numberOfSplits Number of splits to make.

(start, end, numberOfSplits)

Source from the content-addressed store, hash-verified

75 * @param {Number} numberOfSplits Number of splits to make.
76 */
77 split(start, end, numberOfSplits) {
78 throw new Error('You must implement a split function for the tokenizer');
79 }
80
81 /**
82 * Common implementation for splitting token ranges when start is in

Callers 15

_parseContactPointMethod · 0.45
splitEvenlyMethod · 0.45
getCassandraVersionMethod · 0.45
getDseVersionMethod · 0.45
local-time.jsFile · 0.45
index.jsFile · 0.45
local-date.jsFile · 0.45
inet-address.jsFile · 0.45
parseMethod · 0.45
checkServerIdentityFunction · 0.45
checkPartsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected