當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。