public static final class UserProtos.ResultColumnMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder> implements UserProtos.ResultColumnMetadataOrBuilder
Metadata of a column in query result setProtobuf type
exec.user.ResultColumnMetadata| Modifier and Type | Method and Description |
|---|---|
UserProtos.ResultColumnMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UserProtos.ResultColumnMetadata |
build() |
UserProtos.ResultColumnMetadata |
buildPartial() |
UserProtos.ResultColumnMetadata.Builder |
clear() |
UserProtos.ResultColumnMetadata.Builder |
clearAutoIncrement()
whether the designated column is automatically incremented.
|
UserProtos.ResultColumnMetadata.Builder |
clearCaseSensitivity()
Whether column's case matters for collations and comparisons.
|
UserProtos.ResultColumnMetadata.Builder |
clearCatalogName()
Designated column's catalog name.
|
UserProtos.ResultColumnMetadata.Builder |
clearClassName()
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.
|
UserProtos.ResultColumnMetadata.Builder |
clearColumnName()
column name
|
UserProtos.ResultColumnMetadata.Builder |
clearDataType()
Data type in string format.
|
UserProtos.ResultColumnMetadata.Builder |
clearDisplaySize()
Maximum number of characters required to display data from the column.
|
UserProtos.ResultColumnMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UserProtos.ResultColumnMetadata.Builder |
clearIsAliased()
Is the column an aliased column.
|
UserProtos.ResultColumnMetadata.Builder |
clearIsCurrency()
Is the data type a currency type? For JDBC only.
|
UserProtos.ResultColumnMetadata.Builder |
clearIsNullable()
optional bool is_nullable = 7; |
UserProtos.ResultColumnMetadata.Builder |
clearLabel()
Column label name for display or print purposes.
|
UserProtos.ResultColumnMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UserProtos.ResultColumnMetadata.Builder |
clearPrecision()
For numeric data, this is the maximum precision.
|
UserProtos.ResultColumnMetadata.Builder |
clearScale()
Column's number of digits to right of the decimal point.
|
UserProtos.ResultColumnMetadata.Builder |
clearSchemaName()
Designated column's schema name.
|
UserProtos.ResultColumnMetadata.Builder |
clearSearchability()
optional .exec.user.ColumnSearchability searchability = 13; |
UserProtos.ResultColumnMetadata.Builder |
clearSigned()
Indicates whether values in the designated column are signed numbers.
|
UserProtos.ResultColumnMetadata.Builder |
clearSortable()
whether the column can be used in ORDER BY clause
|
UserProtos.ResultColumnMetadata.Builder |
clearTableName()
Designated column's table name.
|
UserProtos.ResultColumnMetadata.Builder |
clearUpdatability()
Defaults to READ_ONLY
|
UserProtos.ResultColumnMetadata.Builder |
clone() |
boolean |
getAutoIncrement()
whether the designated column is automatically incremented.
|
boolean |
getCaseSensitivity()
Whether column's case matters for collations and comparisons.
|
String |
getCatalogName()
Designated column's catalog name.
|
com.google.protobuf.ByteString |
getCatalogNameBytes()
Designated column's catalog name.
|
String |
getClassName()
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.
|
com.google.protobuf.ByteString |
getClassNameBytes()
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.
|
String |
getColumnName()
column name
|
com.google.protobuf.ByteString |
getColumnNameBytes()
column name
|
String |
getDataType()
Data type in string format.
|
com.google.protobuf.ByteString |
getDataTypeBytes()
Data type in string format.
|
UserProtos.ResultColumnMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDisplaySize()
Maximum number of characters required to display data from the column.
|
boolean |
getIsAliased()
Is the column an aliased column.
|
boolean |
getIsCurrency()
Is the data type a currency type? For JDBC only.
|
boolean |
getIsNullable()
optional bool is_nullable = 7; |
String |
getLabel()
Column label name for display or print purposes.
|
com.google.protobuf.ByteString |
getLabelBytes()
Column label name for display or print purposes.
|
int |
getPrecision()
For numeric data, this is the maximum precision.
|
int |
getScale()
Column's number of digits to right of the decimal point.
|
String |
getSchemaName()
Designated column's schema name.
|
com.google.protobuf.ByteString |
getSchemaNameBytes()
Designated column's schema name.
|
UserProtos.ColumnSearchability |
getSearchability()
optional .exec.user.ColumnSearchability searchability = 13; |
boolean |
getSigned()
Indicates whether values in the designated column are signed numbers.
|
boolean |
getSortable()
whether the column can be used in ORDER BY clause
|
String |
getTableName()
Designated column's table name.
|
com.google.protobuf.ByteString |
getTableNameBytes()
Designated column's table name.
|
UserProtos.ColumnUpdatability |
getUpdatability()
Defaults to READ_ONLY
|
boolean |
hasAutoIncrement()
whether the designated column is automatically incremented.
|
boolean |
hasCaseSensitivity()
Whether column's case matters for collations and comparisons.
|
boolean |
hasCatalogName()
Designated column's catalog name.
|
boolean |
hasClassName()
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.
|
boolean |
hasColumnName()
column name
|
boolean |
hasDataType()
Data type in string format.
|
boolean |
hasDisplaySize()
Maximum number of characters required to display data from the column.
|
boolean |
hasIsAliased()
Is the column an aliased column.
|
boolean |
hasIsCurrency()
Is the data type a currency type? For JDBC only.
|
boolean |
hasIsNullable()
optional bool is_nullable = 7; |
boolean |
hasLabel()
Column label name for display or print purposes.
|
boolean |
hasPrecision()
For numeric data, this is the maximum precision.
|
boolean |
hasScale()
Column's number of digits to right of the decimal point.
|
boolean |
hasSchemaName()
Designated column's schema name.
|
boolean |
hasSearchability()
optional .exec.user.ColumnSearchability searchability = 13; |
boolean |
hasSigned()
Indicates whether values in the designated column are signed numbers.
|
boolean |
hasSortable()
whether the column can be used in ORDER BY clause
|
boolean |
hasTableName()
Designated column's table name.
|
boolean |
hasUpdatability()
Defaults to READ_ONLY
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UserProtos.ResultColumnMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UserProtos.ResultColumnMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
UserProtos.ResultColumnMetadata.Builder |
mergeFrom(UserProtos.ResultColumnMetadata other) |
UserProtos.ResultColumnMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UserProtos.ResultColumnMetadata.Builder |
setAutoIncrement(boolean value)
whether the designated column is automatically incremented.
|
UserProtos.ResultColumnMetadata.Builder |
setCaseSensitivity(boolean value)
Whether column's case matters for collations and comparisons.
|
UserProtos.ResultColumnMetadata.Builder |
setCatalogName(String value)
Designated column's catalog name.
|
UserProtos.ResultColumnMetadata.Builder |
setCatalogNameBytes(com.google.protobuf.ByteString value)
Designated column's catalog name.
|
UserProtos.ResultColumnMetadata.Builder |
setClassName(String value)
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.
|
UserProtos.ResultColumnMetadata.Builder |
setClassNameBytes(com.google.protobuf.ByteString value)
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.
|
UserProtos.ResultColumnMetadata.Builder |
setColumnName(String value)
column name
|
UserProtos.ResultColumnMetadata.Builder |
setColumnNameBytes(com.google.protobuf.ByteString value)
column name
|
UserProtos.ResultColumnMetadata.Builder |
setDataType(String value)
Data type in string format.
|
UserProtos.ResultColumnMetadata.Builder |
setDataTypeBytes(com.google.protobuf.ByteString value)
Data type in string format.
|
UserProtos.ResultColumnMetadata.Builder |
setDisplaySize(int value)
Maximum number of characters required to display data from the column.
|
UserProtos.ResultColumnMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UserProtos.ResultColumnMetadata.Builder |
setIsAliased(boolean value)
Is the column an aliased column.
|
UserProtos.ResultColumnMetadata.Builder |
setIsCurrency(boolean value)
Is the data type a currency type? For JDBC only.
|
UserProtos.ResultColumnMetadata.Builder |
setIsNullable(boolean value)
optional bool is_nullable = 7; |
UserProtos.ResultColumnMetadata.Builder |
setLabel(String value)
Column label name for display or print purposes.
|
UserProtos.ResultColumnMetadata.Builder |
setLabelBytes(com.google.protobuf.ByteString value)
Column label name for display or print purposes.
|
UserProtos.ResultColumnMetadata.Builder |
setPrecision(int value)
For numeric data, this is the maximum precision.
|
UserProtos.ResultColumnMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UserProtos.ResultColumnMetadata.Builder |
setScale(int value)
Column's number of digits to right of the decimal point.
|
UserProtos.ResultColumnMetadata.Builder |
setSchemaName(String value)
Designated column's schema name.
|
UserProtos.ResultColumnMetadata.Builder |
setSchemaNameBytes(com.google.protobuf.ByteString value)
Designated column's schema name.
|
UserProtos.ResultColumnMetadata.Builder |
setSearchability(UserProtos.ColumnSearchability value)
optional .exec.user.ColumnSearchability searchability = 13; |
UserProtos.ResultColumnMetadata.Builder |
setSigned(boolean value)
Indicates whether values in the designated column are signed numbers.
|
UserProtos.ResultColumnMetadata.Builder |
setSortable(boolean value)
whether the column can be used in ORDER BY clause
|
UserProtos.ResultColumnMetadata.Builder |
setTableName(String value)
Designated column's table name.
|
UserProtos.ResultColumnMetadata.Builder |
setTableNameBytes(com.google.protobuf.ByteString value)
Designated column's table name.
|
UserProtos.ResultColumnMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UserProtos.ResultColumnMetadata.Builder |
setUpdatability(UserProtos.ColumnUpdatability value)
Defaults to READ_ONLY
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UserProtos.ResultColumnMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UserProtos.ResultColumnMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UserProtos.ResultColumnMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata.Builder mergeFrom(UserProtos.ResultColumnMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public UserProtos.ResultColumnMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UserProtos.ResultColumnMetadata.Builder>IOExceptionpublic boolean hasCatalogName()
Designated column's catalog name. Empty string if not applicable. Defaults to "DRILL" as drill has only one catalog.
optional string catalog_name = 1;hasCatalogName in interface UserProtos.ResultColumnMetadataOrBuilderpublic String getCatalogName()
Designated column's catalog name. Empty string if not applicable. Defaults to "DRILL" as drill has only one catalog.
optional string catalog_name = 1;getCatalogName in interface UserProtos.ResultColumnMetadataOrBuilderpublic com.google.protobuf.ByteString getCatalogNameBytes()
Designated column's catalog name. Empty string if not applicable. Defaults to "DRILL" as drill has only one catalog.
optional string catalog_name = 1;getCatalogNameBytes in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setCatalogName(String value)
Designated column's catalog name. Empty string if not applicable. Defaults to "DRILL" as drill has only one catalog.
optional string catalog_name = 1;value - The catalogName to set.public UserProtos.ResultColumnMetadata.Builder clearCatalogName()
Designated column's catalog name. Empty string if not applicable. Defaults to "DRILL" as drill has only one catalog.
optional string catalog_name = 1;public UserProtos.ResultColumnMetadata.Builder setCatalogNameBytes(com.google.protobuf.ByteString value)
Designated column's catalog name. Empty string if not applicable. Defaults to "DRILL" as drill has only one catalog.
optional string catalog_name = 1;value - The bytes for catalogName to set.public boolean hasSchemaName()
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.
optional string schema_name = 2;hasSchemaName in interface UserProtos.ResultColumnMetadataOrBuilderpublic String getSchemaName()
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.
optional string schema_name = 2;getSchemaName in interface UserProtos.ResultColumnMetadataOrBuilderpublic com.google.protobuf.ByteString getSchemaNameBytes()
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.
optional string schema_name = 2;getSchemaNameBytes in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setSchemaName(String value)
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.
optional string schema_name = 2;value - The schemaName to set.public UserProtos.ResultColumnMetadata.Builder clearSchemaName()
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.
optional string schema_name = 2;public UserProtos.ResultColumnMetadata.Builder setSchemaNameBytes(com.google.protobuf.ByteString value)
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.
optional string schema_name = 2;value - The bytes for schemaName to set.public boolean hasTableName()
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.
optional string table_name = 3;hasTableName in interface UserProtos.ResultColumnMetadataOrBuilderpublic String getTableName()
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.
optional string table_name = 3;getTableName in interface UserProtos.ResultColumnMetadataOrBuilderpublic com.google.protobuf.ByteString getTableNameBytes()
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.
optional string table_name = 3;getTableNameBytes in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setTableName(String value)
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.
optional string table_name = 3;value - The tableName to set.public UserProtos.ResultColumnMetadata.Builder clearTableName()
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.
optional string table_name = 3;public UserProtos.ResultColumnMetadata.Builder setTableNameBytes(com.google.protobuf.ByteString value)
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.
optional string table_name = 3;value - The bytes for tableName to set.public boolean hasColumnName()
column name
optional string column_name = 4;hasColumnName in interface UserProtos.ResultColumnMetadataOrBuilderpublic String getColumnName()
column name
optional string column_name = 4;getColumnName in interface UserProtos.ResultColumnMetadataOrBuilderpublic com.google.protobuf.ByteString getColumnNameBytes()
column name
optional string column_name = 4;getColumnNameBytes in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setColumnName(String value)
column name
optional string column_name = 4;value - The columnName to set.public UserProtos.ResultColumnMetadata.Builder clearColumnName()
column name
optional string column_name = 4;public UserProtos.ResultColumnMetadata.Builder setColumnNameBytes(com.google.protobuf.ByteString value)
column name
optional string column_name = 4;value - The bytes for columnName to set.public boolean hasLabel()
Column label name for display or print purposes. Ex. a column named "empName" might be labeled as "Employee Name".
optional string label = 5;hasLabel in interface UserProtos.ResultColumnMetadataOrBuilderpublic String getLabel()
Column label name for display or print purposes. Ex. a column named "empName" might be labeled as "Employee Name".
optional string label = 5;getLabel in interface UserProtos.ResultColumnMetadataOrBuilderpublic com.google.protobuf.ByteString getLabelBytes()
Column label name for display or print purposes. Ex. a column named "empName" might be labeled as "Employee Name".
optional string label = 5;getLabelBytes in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setLabel(String value)
Column label name for display or print purposes. Ex. a column named "empName" might be labeled as "Employee Name".
optional string label = 5;value - The label to set.public UserProtos.ResultColumnMetadata.Builder clearLabel()
Column label name for display or print purposes. Ex. a column named "empName" might be labeled as "Employee Name".
optional string label = 5;public UserProtos.ResultColumnMetadata.Builder setLabelBytes(com.google.protobuf.ByteString value)
Column label name for display or print purposes. Ex. a column named "empName" might be labeled as "Employee Name".
optional string label = 5;value - The bytes for label to set.public boolean hasDataType()
Data type in string format. Value is SQL standard type.
optional string data_type = 6;hasDataType in interface UserProtos.ResultColumnMetadataOrBuilderpublic String getDataType()
Data type in string format. Value is SQL standard type.
optional string data_type = 6;getDataType in interface UserProtos.ResultColumnMetadataOrBuilderpublic com.google.protobuf.ByteString getDataTypeBytes()
Data type in string format. Value is SQL standard type.
optional string data_type = 6;getDataTypeBytes in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setDataType(String value)
Data type in string format. Value is SQL standard type.
optional string data_type = 6;value - The dataType to set.public UserProtos.ResultColumnMetadata.Builder clearDataType()
Data type in string format. Value is SQL standard type.
optional string data_type = 6;public UserProtos.ResultColumnMetadata.Builder setDataTypeBytes(com.google.protobuf.ByteString value)
Data type in string format. Value is SQL standard type.
optional string data_type = 6;value - The bytes for dataType to set.public boolean hasIsNullable()
optional bool is_nullable = 7;hasIsNullable in interface UserProtos.ResultColumnMetadataOrBuilderpublic boolean getIsNullable()
optional bool is_nullable = 7;getIsNullable in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setIsNullable(boolean value)
optional bool is_nullable = 7;value - The isNullable to set.public UserProtos.ResultColumnMetadata.Builder clearIsNullable()
optional bool is_nullable = 7;public boolean hasPrecision()
For numeric data, this is the maximum precision.
For character data, this is the length in characters.
For datetime datatypes, this is the length in characters of the String representation
(assuming the maximum allowed precision of the fractional seconds component).
For binary data, this is the length in bytes.
For all other types 0 is returned where the column size is not applicable.
optional int32 precision = 8;hasPrecision in interface UserProtos.ResultColumnMetadataOrBuilderpublic int getPrecision()
For numeric data, this is the maximum precision.
For character data, this is the length in characters.
For datetime datatypes, this is the length in characters of the String representation
(assuming the maximum allowed precision of the fractional seconds component).
For binary data, this is the length in bytes.
For all other types 0 is returned where the column size is not applicable.
optional int32 precision = 8;getPrecision in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setPrecision(int value)
For numeric data, this is the maximum precision.
For character data, this is the length in characters.
For datetime datatypes, this is the length in characters of the String representation
(assuming the maximum allowed precision of the fractional seconds component).
For binary data, this is the length in bytes.
For all other types 0 is returned where the column size is not applicable.
optional int32 precision = 8;value - The precision to set.public UserProtos.ResultColumnMetadata.Builder clearPrecision()
For numeric data, this is the maximum precision.
For character data, this is the length in characters.
For datetime datatypes, this is the length in characters of the String representation
(assuming the maximum allowed precision of the fractional seconds component).
For binary data, this is the length in bytes.
For all other types 0 is returned where the column size is not applicable.
optional int32 precision = 8;public boolean hasScale()
Column's number of digits to right of the decimal point. 0 is returned for types where the scale is not applicable
optional int32 scale = 9;hasScale in interface UserProtos.ResultColumnMetadataOrBuilderpublic int getScale()
Column's number of digits to right of the decimal point. 0 is returned for types where the scale is not applicable
optional int32 scale = 9;getScale in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setScale(int value)
Column's number of digits to right of the decimal point. 0 is returned for types where the scale is not applicable
optional int32 scale = 9;value - The scale to set.public UserProtos.ResultColumnMetadata.Builder clearScale()
Column's number of digits to right of the decimal point. 0 is returned for types where the scale is not applicable
optional int32 scale = 9;public boolean hasSigned()
Indicates whether values in the designated column are signed numbers.
optional bool signed = 10;hasSigned in interface UserProtos.ResultColumnMetadataOrBuilderpublic boolean getSigned()
Indicates whether values in the designated column are signed numbers.
optional bool signed = 10;getSigned in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setSigned(boolean value)
Indicates whether values in the designated column are signed numbers.
optional bool signed = 10;value - The signed to set.public UserProtos.ResultColumnMetadata.Builder clearSigned()
Indicates whether values in the designated column are signed numbers.
optional bool signed = 10;public boolean hasDisplaySize()
Maximum number of characters required to display data from the column.
optional int32 display_size = 11;hasDisplaySize in interface UserProtos.ResultColumnMetadataOrBuilderpublic int getDisplaySize()
Maximum number of characters required to display data from the column.
optional int32 display_size = 11;getDisplaySize in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setDisplaySize(int value)
Maximum number of characters required to display data from the column.
optional int32 display_size = 11;value - The displaySize to set.public UserProtos.ResultColumnMetadata.Builder clearDisplaySize()
Maximum number of characters required to display data from the column.
optional int32 display_size = 11;public boolean hasIsAliased()
Is the column an aliased column. Initial implementation defaults to true as we derive schema from LIMIT 0 query and not the query plan.
optional bool is_aliased = 12;hasIsAliased in interface UserProtos.ResultColumnMetadataOrBuilderpublic boolean getIsAliased()
Is the column an aliased column. Initial implementation defaults to true as we derive schema from LIMIT 0 query and not the query plan.
optional bool is_aliased = 12;getIsAliased in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setIsAliased(boolean value)
Is the column an aliased column. Initial implementation defaults to true as we derive schema from LIMIT 0 query and not the query plan.
optional bool is_aliased = 12;value - The isAliased to set.public UserProtos.ResultColumnMetadata.Builder clearIsAliased()
Is the column an aliased column. Initial implementation defaults to true as we derive schema from LIMIT 0 query and not the query plan.
optional bool is_aliased = 12;public boolean hasSearchability()
optional .exec.user.ColumnSearchability searchability = 13;hasSearchability in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ColumnSearchability getSearchability()
optional .exec.user.ColumnSearchability searchability = 13;getSearchability in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setSearchability(UserProtos.ColumnSearchability value)
optional .exec.user.ColumnSearchability searchability = 13;value - The searchability to set.public UserProtos.ResultColumnMetadata.Builder clearSearchability()
optional .exec.user.ColumnSearchability searchability = 13;public boolean hasUpdatability()
Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;hasUpdatability in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ColumnUpdatability getUpdatability()
Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;getUpdatability in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setUpdatability(UserProtos.ColumnUpdatability value)
Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;value - The updatability to set.public UserProtos.ResultColumnMetadata.Builder clearUpdatability()
Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;public boolean hasAutoIncrement()
whether the designated column is automatically incremented.
optional bool auto_increment = 15;hasAutoIncrement in interface UserProtos.ResultColumnMetadataOrBuilderpublic boolean getAutoIncrement()
whether the designated column is automatically incremented.
optional bool auto_increment = 15;getAutoIncrement in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setAutoIncrement(boolean value)
whether the designated column is automatically incremented.
optional bool auto_increment = 15;value - The autoIncrement to set.public UserProtos.ResultColumnMetadata.Builder clearAutoIncrement()
whether the designated column is automatically incremented.
optional bool auto_increment = 15;public boolean hasCaseSensitivity()
Whether column's case matters for collations and comparisons. Defaults to true.
optional bool case_sensitivity = 16;hasCaseSensitivity in interface UserProtos.ResultColumnMetadataOrBuilderpublic boolean getCaseSensitivity()
Whether column's case matters for collations and comparisons. Defaults to true.
optional bool case_sensitivity = 16;getCaseSensitivity in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setCaseSensitivity(boolean value)
Whether column's case matters for collations and comparisons. Defaults to true.
optional bool case_sensitivity = 16;value - The caseSensitivity to set.public UserProtos.ResultColumnMetadata.Builder clearCaseSensitivity()
Whether column's case matters for collations and comparisons. Defaults to true.
optional bool case_sensitivity = 16;public boolean hasSortable()
whether the column can be used in ORDER BY clause
optional bool sortable = 17;hasSortable in interface UserProtos.ResultColumnMetadataOrBuilderpublic boolean getSortable()
whether the column can be used in ORDER BY clause
optional bool sortable = 17;getSortable in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setSortable(boolean value)
whether the column can be used in ORDER BY clause
optional bool sortable = 17;value - The sortable to set.public UserProtos.ResultColumnMetadata.Builder clearSortable()
whether the column can be used in ORDER BY clause
optional bool sortable = 17;public boolean hasClassName()
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.
optional string class_name = 18;hasClassName in interface UserProtos.ResultColumnMetadataOrBuilderpublic String getClassName()
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.
optional string class_name = 18;getClassName in interface UserProtos.ResultColumnMetadataOrBuilderpublic com.google.protobuf.ByteString getClassNameBytes()
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.
optional string class_name = 18;getClassNameBytes in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setClassName(String value)
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.
optional string class_name = 18;value - The className to set.public UserProtos.ResultColumnMetadata.Builder clearClassName()
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.
optional string class_name = 18;public UserProtos.ResultColumnMetadata.Builder setClassNameBytes(com.google.protobuf.ByteString value)
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.
optional string class_name = 18;value - The bytes for className to set.public boolean hasIsCurrency()
Is the data type a currency type? For JDBC only.
optional bool is_currency = 20;hasIsCurrency in interface UserProtos.ResultColumnMetadataOrBuilderpublic boolean getIsCurrency()
Is the data type a currency type? For JDBC only.
optional bool is_currency = 20;getIsCurrency in interface UserProtos.ResultColumnMetadataOrBuilderpublic UserProtos.ResultColumnMetadata.Builder setIsCurrency(boolean value)
Is the data type a currency type? For JDBC only.
optional bool is_currency = 20;value - The isCurrency to set.public UserProtos.ResultColumnMetadata.Builder clearIsCurrency()
Is the data type a currency type? For JDBC only.
optional bool is_currency = 20;public final UserProtos.ResultColumnMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>public final UserProtos.ResultColumnMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ResultColumnMetadata.Builder>Copyright © 2021 The Apache Software Foundation. All rights reserved.