def setUp(self): CostModelTestCase.setUp(self) self.cm = DiskCostComponent(self.state) self.cm.no_index_size_estimation = False self.ops = [] for sess in self.workload: map(self.ops.append, sess["operations"])
def setUp(self): CostModelTestCase.setUp(self) self.cm = DiskCostComponent(self.state) self.cm.no_index_insertion_penalty = True
def setUp(self): CostModelTestCase.setUp(self) self.cm = DiskCostComponent(self.state) self.cmn = NetworkCostComponent(self.state) self.col_names = [x for x in self.collections.iterkeys()]