本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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);
}
}
示例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;
}