Beispiel #1
0
        internal override IQueryRequest CreateBatchRequest(ProtocolVersion protocolVersion)
        {
            // Use the default query options as the individual options of the query will be ignored
            var options = QueryProtocolOptions.CreateForBatchItem(this);

            return(new QueryRequest(protocolVersion, QueryString, IsTracing, options));
        }
Beispiel #2
0
        internal override IQueryRequest CreateBatchRequest(ProtocolVersion protocolVersion)
        {
            // Use the default query options as the individual options of the query will be ignored
            var options = QueryProtocolOptions.CreateForBatchItem(this);

            return(new ExecuteRequest(protocolVersion, PreparedStatement.Id, PreparedStatement.Metadata, IsTracing, options));
        }