本文整理了Java中org.apache.kylin.job.execution.Output.getLastModified()
方法的一些代码示例,展示了Output.getLastModified()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Output.getLastModified()
方法的具体详情如下:
包路径:org.apache.kylin.job.execution.Output
类名称:Output
方法名:getLastModified
暂无
代码示例来源:origin: apache/kylin
public final long getLastModified() {
return getOutput().getLastModified();
}
代码示例来源:origin: apache/kylin
result.setRelatedCube(CubingExecutableUtil.getCubeName(job.getParams()));
result.setDisplayCubeName(CubingExecutableUtil.getCubeName(job.getParams()));
result.setLastModified(output.getLastModified());
result.setSubmitter(job.getSubmitter());
result.setUuid(job.getId());
代码示例来源:origin: apache/kylin
result.setDisplayCubeName(cube != null ? cube.getDisplayName() : CubingExecutableUtil.getCubeName(cubeJob.getParams()));
result.setRelatedSegment(CubingExecutableUtil.getSegmentId(cubeJob.getParams()));
result.setLastModified(output.getLastModified());
result.setSubmitter(job.getSubmitter());
result.setUuid(job.getId());
代码示例来源:origin: apache/kylin
result.setLastModified(output.getLastModified());
result.setSubmitter(cubeJob.getSubmitter());
result.setUuid(cubeJob.getId());
代码示例来源:origin: KylinOLAP/Kylin
public final long getLastModified() {
return executableManager.getOutput(getId()).getLastModified();
}
代码示例来源:origin: org.apache.kylin/kylin-core-job
public final long getLastModified() {
return getOutput().getLastModified();
}
代码示例来源:origin: org.apache.kylin/kylin-job
public final long getLastModified() {
return executableManager.getOutput(getId()).getLastModified();
}
代码示例来源:origin: org.apache.kylin/kylin-engine-mr
public static JobInstance parseToJobInstance(CheckpointExecutable job, Map<String, Output> outputs) {
if (job == null) {
logger.warn("job is null.");
return null;
}
Output output = outputs.get(job.getId());
if (output == null) {
logger.warn("job output is null.");
return null;
}
final JobInstance result = new JobInstance();
result.setName(job.getName());
result.setRelatedCube(CubingExecutableUtil.getCubeName(job.getParams()));
result.setDisplayCubeName(CubingExecutableUtil.getCubeName(job.getParams()));
result.setLastModified(output.getLastModified());
result.setSubmitter(job.getSubmitter());
result.setUuid(job.getId());
result.setType(CubeBuildTypeEnum.CHECKPOINT);
result.setStatus(parseToJobStatus(output.getState()));
result.setExecStartTime(AbstractExecutable.getStartTime(output));
result.setExecEndTime(AbstractExecutable.getEndTime(output));
result.setExecInterruptTime(AbstractExecutable.getInterruptTime(output));
result.setDuration(AbstractExecutable.getDuration(result.getExecStartTime(), result.getExecEndTime(),
result.getExecInterruptTime()) / 1000);
for (int i = 0; i < job.getTasks().size(); ++i) {
AbstractExecutable task = job.getTasks().get(i);
result.addStep(parseToJobStep(task, i, outputs.get(task.getId())));
}
return result;
}
代码示例来源:origin: org.apache.kylin/kylin-engine-mr
result.setDisplayCubeName(cube != null ? cube.getDisplayName() : CubingExecutableUtil.getCubeName(cubeJob.getParams()));
result.setRelatedSegment(CubingExecutableUtil.getSegmentId(cubeJob.getParams()));
result.setLastModified(output.getLastModified());
result.setSubmitter(job.getSubmitter());
result.setUuid(job.getId());
代码示例来源:origin: org.apache.kylin/kylin-tool
result.setLastModified(output.getLastModified());
result.setSubmitter(cubeJob.getSubmitter());
result.setUuid(cubeJob.getId());
内容来源于网络,如有侵权,请联系作者删除!