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

Method send

lib/request-handler.js:64–67  ·  view source on GitHub ↗

* Sends a new BATCH, QUERY or EXECUTE request. * @param {Request} request * @param {ExecutionOptions} execOptions * @param {Client} client Client instance used to retrieve and set the keyspace. * @returns {Promise }

(request, execOptions, client)

Source from the content-addressed store, hash-verified

62 * @returns {Promise<ResultSet>}
63 */
64 static send(request, execOptions, client) {
65 const instance = new RequestHandler(request, execOptions, client);
66 return instance.send();
67 }
68
69 /**
70 * Gets a connection from the next host according to the query plan or throws a NoHostAvailableError.

Callers 10

_refreshHostsMethod · 0.45
_getSupportedOptionsMethod · 0.45
queryOnConnectionMethod · 0.45
client.jsFile · 0.45
changeKeyspaceMethod · 0.45
getNextPageHandlerMethod · 0.45
executor-tests.jsFile · 0.45

Calls 5

_startNewExecutionMethod · 0.95
getCaptureStackTraceMethod · 0.65
getFixedHostMethod · 0.65
newQueryPlanMethod · 0.45

Tested by

no test coverage detected