/
githubmirror
/
tpcc-postgres
Обзор
Документация
Войти
/
githubmirror
/
tpcc-postgres
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/test/java/com/oltpbenchmark/api/MockBenchmark.java
48 строк
2 KB
Joseph Koshakow
Add config option to load external DDL file instead of default (#192)
28 июн 2022, 16:53
Не верифицирован
28 июн 2022, 16:53
7c64657
Код
Авторство
О чём код?
/****************************************************************************** * Copyright 2015 by OLTPBenchmark Project * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE-2.0 * * * * Unless required by applicable law or agreed to in writing, software * * distributed under the License is distributed on an "AS IS" BASIS, * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * * limitations under the License. * ******************************************************************************/ package com.oltpbenchmark.api; import com.oltpbenchmark.WorkloadConfiguration; import java.io.IOException; import java.util.List; public class MockBenchmark extends BenchmarkModule { public MockBenchmark() { super(new WorkloadConfiguration()); this.workConf.setBenchmarkName("mockbenchmark"); } public MockBenchmark(WorkloadConfiguration workConf) { super(workConf); } @Override protected Package getProcedurePackageImpl() { return null; } @Override protected Loader<MockBenchmark> makeLoaderImpl() { return null; } @Override protected List<Worker<? extends BenchmarkModule>> makeWorkersImpl() throws IOException { return null; } }