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 ExecuteRequest(protocolVersion, PreparedStatement.Id, PreparedStatement.Metadata, IsTracing, options));
        }
Beispiel #2
0
        internal override IQueryRequest CreateBatchRequest(ISerializer serializer)
        {
            // Use the default query options as the individual options of the query will be ignored
            var options = QueryProtocolOptions.CreateForBatchItem(this);

            return(new QueryRequest(serializer, QueryString, options, IsTracing, null));
        }
        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 #4
0
        internal override IQueryRequest CreateBatchRequest(ISerializer serializer)
        {
            // Use the default query options as the individual options of the query will be ignored
            var options = QueryProtocolOptions.CreateForBatchItem(this);

            return(new ExecuteRequest(
                       serializer,
                       PreparedStatement.Id,
                       PreparedStatement.Metadata,
                       PreparedStatement.ResultMetadataId,
                       options,
                       IsTracing,
                       null));
        }