/** * <code>optional string table_name = 3;</code> */ public Builder clearTableName() { bitField0_ = (bitField0_ & ~0x00000004); tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /**
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.TableMetadata 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.hasTableName()) output.writeString(3, message.getTableName(), false); if(message.hasType()) output.writeString(4, message.getType(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.TableMetadata message)
@Override protected MetaImpl.MetaTable adapt(TableMetadata protoValue) { return new MetaImpl.MetaTable(protoValue.getCatalogName(), protoValue.getSchemaName(), protoValue.getTableName(), protoValue.getType()); }; }.getMeta(connection.getClient().getTables(catalogNameFilter, schemaNameFilter, tableNameFilter, typeList));
@Override public int compare(TableMetadata left, TableMetadata right) { return ComparisonChain.start() .compare(left.getType(), right.getType()) .compare(left.getCatalogName(), right.getCatalogName()) .compare(left.getSchemaName(), right.getSchemaName()) .compare(left.getTableName(), right.getTableName()) .result(); } };
@Override protected MetaImpl.MetaTable adapt(TableMetadata protoValue) { return new MetaImpl.MetaTable(protoValue.getCatalogName(), protoValue.getSchemaName(), protoValue.getTableName(), protoValue.getType()); }; }.getMeta(connection.getClient().getTables(catalogNameFilter, schemaNameFilter, tableNameFilter, typeList));
public void writeTo(com.dyuproject.protostuff.Output output, org.apache.drill.exec.proto.UserProtos.TableMetadata 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.hasTableName()) output.writeString(3, message.getTableName(), false); if(message.hasType()) output.writeString(4, message.getType(), false); } public boolean isInitialized(org.apache.drill.exec.proto.UserProtos.TableMetadata message)
/** * <code>optional string table_name = 3;</code> */ public Builder clearTableName() { bitField0_ = (bitField0_ & ~0x00000004); tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /**