本文整理匯總了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;
}