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

Function getExecOptions

test/unit/encoder-tests.js:1376–1384  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

1374});
1375
1376function getExecOptions(options) {
1377 const result = ExecutionOptions.empty();
1378 let routingKey = options.routingKey;
1379 result.setRoutingKey = v => routingKey = v;
1380 result.getRoutingKey = () => routingKey;
1381 result.getHints = () => options.hints;
1382 result.getRoutingIndexes = () => options.routingIndexes;
1383 return result;
1384}
1385
1386function newInstance(protocolVersion, clientOptions) {
1387 return new Encoder(protocolVersion || types.protocolVersion.maxSupported, clientOptions || {});

Callers 1

encoder-tests.jsFile · 0.70

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected