Example #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));
        }
Example #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));
        }
Example #3
0
 // ReSharper disable once UnusedParameter.Local
 protected Statement(QueryProtocolOptions queryProtocolOptions)
 {
     //the unused parameter is maintained for backward compatibility
 }