Class TestMetadataQueryHelper
- java.lang.Object
-
- jetbrains.buildServer.serverSide.statistics.impl.BaseTestQueryHelper
-
- jetbrains.buildServer.serverSide.stat.TestMetadataQueryHelper
-
public class TestMetadataQueryHelper extends BaseTestQueryHelper
- Author:
- kir
-
-
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 TestMetadataQueryHelper(SQLRunnerEx sqlRunner, BuildChartSettings valueFilter, long testNameId, long metadataKey, 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)
String
getLastMetadataValueType()
-
Methods inherited from class jetbrains.buildServer.serverSide.statistics.impl.BaseTestQueryHelper
executeQueries, toExternal
-
-
-
-
Constructor Detail
-
TestMetadataQueryHelper
public TestMetadataQueryHelper(@NotNull SQLRunnerEx sqlRunner, @NotNull BuildChartSettings valueFilter, long testNameId, long metadataKey, @NotNull ProjectManager projectManager)
-
-
Method Detail
-
buildParamList
@NotNull protected List<Object> buildParamList()
- Overrides:
buildParamList
in classBaseTestQueryHelper
-
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
-
createBuildValueFromRow
@NotNull protected BuildValue createBuildValueFromRow(ResultSet rs, boolean isPersonal, long buildId, String buildTypeInternalId) throws SQLException
- Specified by:
createBuildValueFromRow
in classBaseTestQueryHelper
- Throws:
SQLException
-
getLastMetadataValueType
@Nullable public String getLastMetadataValueType()
-
-