public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.SchemaMetadata message) throws java.io.IOException { if(message.hasCatalogName()) output.writeString(1, message.getCatalogName(), false); if(message.hasSchemaName()) output.writeString(2, message.getSchemaName(), false); if(message.hasOwner()) output.writeString(3, message.getOwner(), false); if(message.hasType()) output.writeString(4, message.getType(), false); if(message.hasMutable()) output.writeString(5, message.getMutable(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.SchemaMetadata message)
/** * <code>optional string schema_name = 2;</code> */ public Builder clearSchemaName() { bitField0_ = (bitField0_ & ~0x00000002); schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /**
@Override public int compare(SchemaMetadata left, SchemaMetadata right) { return ComparisonChain.start() .compare(left.getCatalogName(), right.getCatalogName()) .compare(left.getSchemaName(), right.getSchemaName()) .result(); }; };
@Override protected MetaSchema adapt(SchemaMetadata value) { return new MetaImpl.MetaSchema(value.getCatalogName(), value.getSchemaName()); } }.getMeta(connection.getClient().getSchemas(catalogNameFilter, schemaNameFilter));
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.SchemaMetadata message) throws java.io.IOException { if(message.hasCatalogName()) output.writeString(1, message.getCatalogName(), false); if(message.hasSchemaName()) output.writeString(2, message.getSchemaName(), false); if(message.hasOwner()) output.writeString(3, message.getOwner(), false); if(message.hasType()) output.writeString(4, message.getType(), false); if(message.hasMutable()) output.writeString(5, message.getMutable(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.SchemaMetadata message)
@Override protected MetaSchema adapt(SchemaMetadata value) { return new MetaImpl.MetaSchema(value.getCatalogName(), value.getSchemaName()); } }.getMeta(connection.getClient().getSchemas(catalogNameFilter, schemaNameFilter));
/** * <code>optional string schema_name = 2;</code> */ public Builder clearSchemaName() { bitField0_ = (bitField0_ & ~0x00000002); schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /**