@Override protected List<CatalogMetadata> getResult(GetCatalogsResp response) { return response.getCatalogsList(); }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.GetCatalogsResp message) throws java.io.IOException { if(message.hasStatus()) output.writeEnum(1, message.getStatus().getNumber(), false); for(org.apache.drill.exec.proto.UserProtos.CatalogMetadata catalogs : message.getCatalogsList()) output.writeObject(2, catalogs, org.apache.drill.exec.proto.SchemaUserProtos.CatalogMetadata.WRITE, true); if(message.hasError()) output.writeObject(3, message.getError(), org.apache.drill.exec.proto.SchemaUserBitShared.DrillPBError.WRITE, false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.GetCatalogsResp message)
@Override protected List<CatalogMetadata> getResult(GetCatalogsResp response) { return response.getCatalogsList(); }
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.GetCatalogsResp message) throws java.io.IOException { if(message.hasStatus()) output.writeEnum(1, message.getStatus().getNumber(), false); for(org.apache.drill.exec.proto.UserProtos.CatalogMetadata catalogs : message.getCatalogsList()) output.writeObject(2, catalogs, org.apache.drill.exec.proto.SchemaUserProtos.CatalogMetadata.WRITE, true); if(message.hasError()) output.writeObject(3, message.getError(), org.apache.drill.exec.proto.SchemaUserBitShared.DrillPBError.WRITE, false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.GetCatalogsResp message)