当前位置: 首页>>代码示例>>Java>>正文


Java QueryUnitRequestProtoOrBuilder类代码示例

本文整理汇总了Java中org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder的典型用法代码示例。如果您正苦于以下问题:Java QueryUnitRequestProtoOrBuilder类的具体用法?Java QueryUnitRequestProtoOrBuilder怎么用?Java QueryUnitRequestProtoOrBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


QueryUnitRequestProtoOrBuilder类属于org.apache.tajo.ipc.TajoWorkerProtocol包,在下文中一共展示了QueryUnitRequestProtoOrBuilder类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getId

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
@Override
public QueryUnitAttemptId getId() {
	QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
	if (id != null) {
		return this.id;
	}
	if (!p.hasId()) {
		return null;
	}
	this.id = new QueryUnitAttemptId(p.getId());
	return this.id;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:13,代码来源:QueryUnitRequestImpl.java

示例2: getFragments

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
@Override
public List<FragmentProto> getFragments() {
	QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
	if (fragments != null) {
		return fragments;
	}
	if (fragments == null) {
		fragments = new ArrayList<FragmentProto>();
	}
	for (int i = 0; i < p.getFragmentsCount(); i++) {
		fragments.add(p.getFragments(i));
	}
	return this.fragments;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:15,代码来源:QueryUnitRequestImpl.java

示例3: getOutputTableId

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
@Override
public String getOutputTableId() {
	QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
	if (outputTable != null) {
		return this.outputTable;
	}
	if (!p.hasOutputTable()) {
		return null;
	}
	this.outputTable = p.getOutputTable();
	return this.outputTable;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:13,代码来源:QueryUnitRequestImpl.java

示例4: isClusteredOutput

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
@Override
public boolean isClusteredOutput() {
	QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
	if (isUpdated) {
		return this.clusteredOutput;
	}
	if (!p.hasClusteredOutput()) {
		return false;
	}
	this.clusteredOutput = p.getClusteredOutput();
	this.isUpdated = true;
	return this.clusteredOutput;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:14,代码来源:QueryUnitRequestImpl.java

示例5: getSerializedData

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
@Override
public String getSerializedData() {
	QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
	if (this.serializedData != null) {
		return this.serializedData;
	}
	if (!p.hasSerializedData()) {
		return null;
	}
	this.serializedData = p.getSerializedData();
	return this.serializedData;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:13,代码来源:QueryUnitRequestImpl.java

示例6: isInterQuery

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
public boolean isInterQuery() {
  QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
   if (interQuery != null) {
     return interQuery;
   }
   if (!p.hasInterQuery()) {
     return false;
   }
   this.interQuery = p.getInterQuery();
   return this.interQuery;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:12,代码来源:QueryUnitRequestImpl.java

示例7: getQueryContext

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
public QueryContext getQueryContext() {
  QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (queryContext != null) {
    return queryContext;
  }
  if (!p.hasQueryContext()) {
    return null;
  }
  this.queryContext = new QueryContext(p.getQueryContext());
  return this.queryContext;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:12,代码来源:QueryUnitRequestImpl.java

示例8: getDataChannel

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
@Override
public DataChannel getDataChannel() {
  QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (dataChannel != null) {
    return dataChannel;
  }
  if (!p.hasDataChannel()) {
    return null;
  }
  this.dataChannel = new DataChannel(p.getDataChannel());
  return this.dataChannel;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:13,代码来源:QueryUnitRequestImpl.java

示例9: getEnforcer

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
@Override
public Enforcer getEnforcer() {
  QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (enforcer != null) {
    return enforcer;
  }
  if (!p.hasEnforcer()) {
    return null;
  }
  this.enforcer = new Enforcer(p.getEnforcer());
  return this.enforcer;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:13,代码来源:QueryUnitRequestImpl.java

示例10: initFetches

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
private void initFetches() {
  if (this.fetches != null) {
     return;
   }
   QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
   this.fetches = new ArrayList<Fetch>();
   for(Fetch fetch : p.getFetchesList()) {
     fetches.add(fetch);
   }
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:11,代码来源:QueryUnitRequestImpl.java

示例11: shouldDie

import org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder; //导入依赖的package包/类
@Override
public boolean shouldDie() {
  QueryUnitRequestProtoOrBuilder p = viaProto ? proto : builder;
  if (shouldDie != null) {
    return shouldDie;
  }
  if (!p.hasShouldDie()) {
    return false;
  }
  this.shouldDie = p.getShouldDie();
  return this.shouldDie;
}
 
开发者ID:apache,项目名称:incubator-tajo,代码行数:13,代码来源:QueryUnitRequestImpl.java


注:本文中的org.apache.tajo.ipc.TajoWorkerProtocol.QueryUnitRequestProtoOrBuilder类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。