Search in sources :

Example 6 with JoinAgentStatBoMapper

use of com.navercorp.pinpoint.flink.mapper.thrift.stat.JoinAgentStatBoMapper in project pinpoint by naver.

the class TBaseFlatMapper method open.

public void open(Configuration parameters) throws Exception {
    GlobalJobParameters globalJobParameters = getRuntimeContext().getExecutionConfig().getGlobalJobParameters();
    this.joinAgentStatBoMapper = new JoinAgentStatBoMapper();
    Bootstrap bootstrap = Bootstrap.getInstance(globalJobParameters.toMap());
    applicationCache = bootstrap.getApplicationCache();
    tBaseFlatMapperInterceptor = bootstrap.getTbaseFlatMapperInterceptor();
}
Also used : JoinAgentStatBoMapper(com.navercorp.pinpoint.flink.mapper.thrift.stat.JoinAgentStatBoMapper) Bootstrap(com.navercorp.pinpoint.flink.Bootstrap) GlobalJobParameters(org.apache.flink.api.common.ExecutionConfig.GlobalJobParameters)

Aggregations

JoinAgentStatBoMapper (com.navercorp.pinpoint.flink.mapper.thrift.stat.JoinAgentStatBoMapper)6 JoinAgentStatBo (com.navercorp.pinpoint.common.server.bo.stat.join.JoinAgentStatBo)5 JoinApplicationStatBo (com.navercorp.pinpoint.common.server.bo.stat.join.JoinApplicationStatBo)5 JoinStatBo (com.navercorp.pinpoint.common.server.bo.stat.join.JoinStatBo)5 RawData (com.navercorp.pinpoint.flink.vo.RawData)5 TFAgentStatBatch (com.navercorp.pinpoint.thrift.dto.flink.TFAgentStatBatch)5 ArrayList (java.util.ArrayList)5 ListCollector (org.apache.flink.api.common.functions.util.ListCollector)5 Tuple3 (org.apache.flink.api.java.tuple.Tuple3)5 Test (org.junit.Test)5 Bootstrap (com.navercorp.pinpoint.flink.Bootstrap)1 GlobalJobParameters (org.apache.flink.api.common.ExecutionConfig.GlobalJobParameters)1