mergeQueryId(other.getQueryId());
@Test public void getCatalogs() throws Exception { GetCatalogsResp resp = rpc.getCatalogs(LikeFilter.getDefaultInstance()).checkedGet(); JobDetailsUI job = getDetails(resp.getQueryId()); assertEquals(RequestType.GET_CATALOGS, job.getRequestType()); }
public void writeTo(io.protostuff.Output output, com.dremio.exec.proto.UserProtos.GetCatalogsResp message) throws java.io.IOException { if(message.hasStatus()) output.writeEnum(1, message.getStatus().getNumber(), false); for(com.dremio.exec.proto.UserProtos.CatalogMetadata catalogs : message.getCatalogsList()) output.writeObject(2, catalogs, com.dremio.exec.proto.SchemaUserProtos.CatalogMetadata.WRITE, true); if(message.hasError()) output.writeObject(3, message.getError(), com.dremio.exec.proto.SchemaUserBitShared.DremioPBError.WRITE, false); if(message.hasQueryId()) output.writeObject(13, message.getQueryId(), com.dremio.exec.proto.SchemaUserBitShared.QueryId.WRITE, false); } public boolean isInitialized(com.dremio.exec.proto.UserProtos.GetCatalogsResp message)