Class TestDurationQueryHelper
- java.lang.Object
-
- jetbrains.buildServer.serverSide.statistics.impl.BaseTestQueryHelper
-
- jetbrains.buildServer.serverSide.statistics.impl.TestDurationQueryHelper
-
public class TestDurationQueryHelper extends BaseTestQueryHelper
- Author:
- Sergey.Anchipolevsky Date: 17.02.2009
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.serverSide.statistics.impl.BaseTestQueryHelper
AGENT_NAME_COLUMN_INDEX, BRANCH_NAME_COLUMN_INDEX, BUILD_NUMBER_COLUMN_INDEX, DURATION_COLUMN_INDEX, EXTRA_CONDITION, HD_QUERY_SUFFIX, mySqlRunner, myTestNameId, myValueFilter, ORDER_PART, SERIES_ID_COLUMN_INDEX, START_TIME_COLUMN_INDEX, STATUS_COLUMN_INDEX, STATUS_TEXT_COLUMN_INDEX
-
-
Constructor Summary
Constructors Constructor Description TestDurationQueryHelper(SQLRunnerEx sqlRunner, BuildChartSettings valueFilter, long testNameId, ProjectManager projectManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Object>
buildParamList()
protected BuildValue
createBuildValueFromRow(ResultSet rs, boolean isPersonal, long buildId, String buildTypeInternalId)
protected GenericQuery<List<BuildValue>>
createHistoryDataQueryOneBt(String condition)
protected GenericQuery<List<BuildValue>>
createHistoryQueryManyBt(String condition)
protected GenericQuery<List<BuildValue>>
createRunningDataQueryOneBt(String condition)
protected GenericQuery<List<BuildValue>>
createRunningQueryManyBt(String condition)
-
Methods inherited from class jetbrains.buildServer.serverSide.statistics.impl.BaseTestQueryHelper
executeQueries, toExternal
-
-
-
-
Constructor Detail
-
TestDurationQueryHelper
public TestDurationQueryHelper(@NotNull SQLRunnerEx sqlRunner, @NotNull BuildChartSettings valueFilter, long testNameId, @NotNull ProjectManager projectManager)
-
-
Method Detail
-
createRunningDataQueryOneBt
@NotNull protected GenericQuery<List<BuildValue>> createRunningDataQueryOneBt(String condition)
- Specified by:
createRunningDataQueryOneBt
in classBaseTestQueryHelper
-
createHistoryDataQueryOneBt
@NotNull protected GenericQuery<List<BuildValue>> createHistoryDataQueryOneBt(String condition)
- Specified by:
createHistoryDataQueryOneBt
in classBaseTestQueryHelper
-
createRunningQueryManyBt
@NotNull protected GenericQuery<List<BuildValue>> createRunningQueryManyBt(String condition)
- Specified by:
createRunningQueryManyBt
in classBaseTestQueryHelper
-
createHistoryQueryManyBt
@NotNull protected GenericQuery<List<BuildValue>> createHistoryQueryManyBt(String condition)
- Specified by:
createHistoryQueryManyBt
in classBaseTestQueryHelper
-
buildParamList
@NotNull protected List<Object> buildParamList()
- Overrides:
buildParamList
in classBaseTestQueryHelper
-
createBuildValueFromRow
@NotNull protected BuildValue createBuildValueFromRow(ResultSet rs, boolean isPersonal, long buildId, String buildTypeInternalId) throws SQLException
- Specified by:
createBuildValueFromRow
in classBaseTestQueryHelper
- Throws:
SQLException
-
-