protected QueryResults RunAll(CancellationToken cancellationToken, QueryResults results) { var pivotedRows = Pivot(cancellationToken, results); var dataSchema = results.Parameters.ViewInfo.DataSchema; var transformedRows = Transform(cancellationToken, dataSchema, new TransformResults(null, null, pivotedRows), results.Parameters.TransformStack); if (null != results.Parameters.ClusteringSpec) { var clusteredResults = Clusterer.PerformClustering(cancellationToken, results.Parameters.ClusteringSpec, transformedRows.PivotedRows); if (clusteredResults != null) { transformedRows = new TransformResults(transformedRows.Parent, transformedRows.RowTransform, clusteredResults); } } return(results.ChangeTransformResults(transformedRows)); }