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