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)); }
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)); }
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)); }