/** * <code>repeated .exec.user.ResultColumnMetadata columns = 1;</code> */ public org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.getDefaultInstance()); } /**
/** * <code>repeated .exec.user.ResultColumnMetadata columns = 1;</code> */ public org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.getDefaultInstance()); } /**
/** * <code>repeated .exec.user.ResultColumnMetadata columns = 1;</code> */ public org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.getDefaultInstance()); } /**
/** * <code>optional string class_name = 18;</code> * * <pre> * * A fully-qualified name of the Java class whose instances are created * if the method ResultSet.getObject is called to retrieve * a value from the column. Applicable only to JDBC clients. * </pre> */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00020000); className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /**
/** * <code>optional string label = 5;</code> * * <pre> * * Column label name for display or print purposes. * Ex. a column named "empName" might be labeled as "Employee Name". * </pre> */ public Builder clearLabel() { bitField0_ = (bitField0_ & ~0x00000010); label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /**
/** * <code>optional string catalog_name = 1;</code> * * <pre> * * Designated column's catalog name. Empty string if not applicable. * Defaults to "DRILL" as drill has only one catalog. * </pre> */ public Builder clearCatalogName() { bitField0_ = (bitField0_ & ~0x00000001); catalogName_ = getDefaultInstance().getCatalogName(); onChanged(); return this; } /**
/** * <code>optional string table_name = 3;</code> * * <pre> * * Designated column's table name. Not set if not applicable. Initial implementation * defaults to no value as we use LIMIT 0 queries to get the schema and table info * is lost. If we derive the schema from query plan, we may get the right value. * </pre> */ public Builder clearTableName() { bitField0_ = (bitField0_ & ~0x00000004); tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /**
public org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata getDefaultInstanceForType() { return org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.getDefaultInstance(); }
/** * <code>optional string data_type = 6;</code> * * <pre> * * Data type in string format. Value is SQL standard type. * </pre> */ public Builder clearDataType() { bitField0_ = (bitField0_ & ~0x00000020); dataType_ = getDefaultInstance().getDataType(); onChanged(); return this; } /**
/** * <code>optional string column_name = 4;</code> * * <pre> * column name * </pre> */ public Builder clearColumnName() { bitField0_ = (bitField0_ & ~0x00000008); columnName_ = getDefaultInstance().getColumnName(); onChanged(); return this; } /**
/** * <code>repeated .exec.user.ResultColumnMetadata columns = 1;</code> */ public org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.getDefaultInstance()); } /**
public Builder mergeFrom(org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata other) { if (other == org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.getDefaultInstance()) return this; if (other.hasCatalogName()) { bitField0_ |= 0x00000001;
/** * <code>optional string class_name = 18;</code> * * <pre> * * A fully-qualified name of the Java class whose instances are created * if the method ResultSet.getObject is called to retrieve * a value from the column. Applicable only to JDBC clients. * </pre> */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00020000); className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /**
/** * <code>optional string schema_name = 2;</code> * * <pre> * * Designated column's schema name. Not set if not applicable. Initial implementation * defaults to no value as we use LIMIT 0 queries to get the schema and schema info * is lost. If we derive the schema from plan, we may get the right value. * </pre> */ public Builder clearSchemaName() { bitField0_ = (bitField0_ & ~0x00000002); schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /**
/** * <code>optional string catalog_name = 1;</code> * * <pre> * * Designated column's catalog name. Empty string if not applicable. * Defaults to "DRILL" as drill has only one catalog. * </pre> */ public Builder clearCatalogName() { bitField0_ = (bitField0_ & ~0x00000001); catalogName_ = getDefaultInstance().getCatalogName(); onChanged(); return this; } /**
/** * <code>optional string table_name = 3;</code> * * <pre> * * Designated column's table name. Not set if not applicable. Initial implementation * defaults to no value as we use LIMIT 0 queries to get the schema and table info * is lost. If we derive the schema from query plan, we may get the right value. * </pre> */ public Builder clearTableName() { bitField0_ = (bitField0_ & ~0x00000004); tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /**
/** * <code>optional string label = 5;</code> * * <pre> * * Column label name for display or print purposes. * Ex. a column named "empName" might be labeled as "Employee Name". * </pre> */ public Builder clearLabel() { bitField0_ = (bitField0_ & ~0x00000010); label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /**
/** * <code>optional string column_name = 4;</code> * * <pre> * column name * </pre> */ public Builder clearColumnName() { bitField0_ = (bitField0_ & ~0x00000008); columnName_ = getDefaultInstance().getColumnName(); onChanged(); return this; } /**
/** * <code>optional string data_type = 6;</code> * * <pre> * * Data type in string format. Value is SQL standard type. * </pre> */ public Builder clearDataType() { bitField0_ = (bitField0_ & ~0x00000020); dataType_ = getDefaultInstance().getDataType(); onChanged(); return this; } /**
public org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata getDefaultInstanceForType() { return org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata.getDefaultInstance(); }