@Override protected MetaImpl.MetaCatalog adapt(CatalogMetadata protoValue) { return new MetaImpl.MetaCatalog(protoValue.getCatalogName()); } }.getMeta(connection.getClient().getCatalogs(null));
/** * <code>optional string catalog_name = 1;</code> */ public Builder clearCatalogName() { bitField0_ = (bitField0_ & ~0x00000001); catalogName_ = getDefaultInstance().getCatalogName(); onChanged(); return this; } /**
@Override public int compare(CatalogMetadata left, CatalogMetadata right) { return Ordering.natural().compare(left.getCatalogName(), right.getCatalogName()); } };
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.CatalogMetadata message) throws java.io.IOException { if(message.hasCatalogName()) output.writeString(1, message.getCatalogName(), false); if(message.hasDescription()) output.writeString(2, message.getDescription(), false); if(message.hasConnect()) output.writeString(3, message.getConnect(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.CatalogMetadata message)
@Override protected MetaImpl.MetaCatalog adapt(CatalogMetadata protoValue) { return new MetaImpl.MetaCatalog(protoValue.getCatalogName()); } }.getMeta(connection.getClient().getCatalogs(null));
/** * <code>optional string catalog_name = 1;</code> */ public Builder clearCatalogName() { bitField0_ = (bitField0_ & ~0x00000001); catalogName_ = getDefaultInstance().getCatalogName(); onChanged(); return this; } /**
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.CatalogMetadata message) throws java.io.IOException { if(message.hasCatalogName()) output.writeString(1, message.getCatalogName(), false); if(message.hasDescription()) output.writeString(2, message.getDescription(), false); if(message.hasConnect()) output.writeString(3, message.getConnect(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.CatalogMetadata message)