Package org.apache.drill.exec.proto
Class UserProtos.ResultColumnMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.drill.exec.proto.UserProtos.ResultColumnMetadata
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,UserProtos.ResultColumnMetadataOrBuilder
- Enclosing class:
UserProtos
public static final class UserProtos.ResultColumnMetadata
extends com.google.protobuf.GeneratedMessageV3
implements UserProtos.ResultColumnMetadataOrBuilder
Metadata of a column in query result setProtobuf type
exec.user.ResultColumnMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata of a column in query result setNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<UserProtos.ResultColumnMetadata> Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanwhether the designated column is automatically incremented.booleanWhether column's case matters for collations and comparisons.Designated column's catalog name.com.google.protobuf.ByteStringDesignated column's catalog name.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.ByteStringA 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.column namecom.google.protobuf.ByteStringcolumn nameData type in string format.com.google.protobuf.ByteStringData type in string format.static final com.google.protobuf.Descriptors.DescriptorintMaximum number of characters required to display data from the column.booleanIs the column an aliased column.booleanIs the data type a currency type? For JDBC only.booleanoptional bool is_nullable = 7;getLabel()Column label name for display or print purposes.com.google.protobuf.ByteStringColumn label name for display or print purposes.com.google.protobuf.Parser<UserProtos.ResultColumnMetadata> intFor numeric data, this is the maximum precision.intgetScale()Column's number of digits to right of the decimal point.Designated column's schema name.com.google.protobuf.ByteStringDesignated column's schema name.optional .exec.user.ColumnSearchability searchability = 13;intbooleanIndicates whether values in the designated column are signed numbers.booleanwhether the column can be used in ORDER BY clauseDesignated column's table name.com.google.protobuf.ByteStringDesignated column's table name.final com.google.protobuf.UnknownFieldSetDefaults to READ_ONLYbooleanwhether the designated column is automatically incremented.booleanWhether column's case matters for collations and comparisons.booleanDesignated column's catalog name.booleanA 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.booleancolumn namebooleanData type in string format.booleanMaximum number of characters required to display data from the column.inthashCode()booleanIs the column an aliased column.booleanIs the data type a currency type? For JDBC only.booleanoptional bool is_nullable = 7;booleanhasLabel()Column label name for display or print purposes.booleanFor numeric data, this is the maximum precision.booleanhasScale()Column's number of digits to right of the decimal point.booleanDesignated column's schema name.booleanoptional .exec.user.ColumnSearchability searchability = 13;booleanIndicates whether values in the designated column are signed numbers.booleanwhether the column can be used in ORDER BY clausebooleanDesignated column's table name.booleanDefaults to READ_ONLYprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(UserProtos.ResultColumnMetadata prototype) protected UserProtos.ResultColumnMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UserProtos.ResultColumnMetadata> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
CATALOG_NAME_FIELD_NUMBER
public static final int CATALOG_NAME_FIELD_NUMBER- See Also:
-
SCHEMA_NAME_FIELD_NUMBER
public static final int SCHEMA_NAME_FIELD_NUMBER- See Also:
-
TABLE_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER- See Also:
-
COLUMN_NAME_FIELD_NUMBER
public static final int COLUMN_NAME_FIELD_NUMBER- See Also:
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER- See Also:
-
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER- See Also:
-
IS_NULLABLE_FIELD_NUMBER
public static final int IS_NULLABLE_FIELD_NUMBER- See Also:
-
PRECISION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER- See Also:
-
SCALE_FIELD_NUMBER
public static final int SCALE_FIELD_NUMBER- See Also:
-
SIGNED_FIELD_NUMBER
public static final int SIGNED_FIELD_NUMBER- See Also:
-
DISPLAY_SIZE_FIELD_NUMBER
public static final int DISPLAY_SIZE_FIELD_NUMBER- See Also:
-
IS_ALIASED_FIELD_NUMBER
public static final int IS_ALIASED_FIELD_NUMBER- See Also:
-
SEARCHABILITY_FIELD_NUMBER
public static final int SEARCHABILITY_FIELD_NUMBER- See Also:
-
UPDATABILITY_FIELD_NUMBER
public static final int UPDATABILITY_FIELD_NUMBER- See Also:
-
AUTO_INCREMENT_FIELD_NUMBER
public static final int AUTO_INCREMENT_FIELD_NUMBER- See Also:
-
CASE_SENSITIVITY_FIELD_NUMBER
public static final int CASE_SENSITIVITY_FIELD_NUMBER- See Also:
-
SORTABLE_FIELD_NUMBER
public static final int SORTABLE_FIELD_NUMBER- See Also:
-
CLASS_NAME_FIELD_NUMBER
public static final int CLASS_NAME_FIELD_NUMBER- See Also:
-
IS_CURRENCY_FIELD_NUMBER
public static final int IS_CURRENCY_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasCatalogName
public 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;- Specified by:
hasCatalogNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the catalogName field is set.
-
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;- Specified by:
getCatalogNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The catalogName.
-
getCatalogNameBytes
public 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;- Specified by:
getCatalogNameBytesin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The bytes for catalogName.
-
hasSchemaName
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;- Specified by:
hasSchemaNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the schemaName field is set.
-
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;- Specified by:
getSchemaNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The schemaName.
-
getSchemaNameBytes
public 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;- Specified by:
getSchemaNameBytesin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The bytes for schemaName.
-
hasTableName
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;- Specified by:
hasTableNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the tableName field is set.
-
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;- Specified by:
getTableNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The tableName.
-
getTableNameBytes
public 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;- Specified by:
getTableNameBytesin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The bytes for tableName.
-
hasColumnName
public boolean hasColumnName()column name
optional string column_name = 4;- Specified by:
hasColumnNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the columnName field is set.
-
getColumnName
column name
optional string column_name = 4;- Specified by:
getColumnNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The columnName.
-
getColumnNameBytes
public com.google.protobuf.ByteString getColumnNameBytes()column name
optional string column_name = 4;- Specified by:
getColumnNameBytesin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The bytes for columnName.
-
hasLabel
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;- Specified by:
hasLabelin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the label field is set.
-
getLabel
Column label name for display or print purposes. Ex. a column named "empName" might be labeled as "Employee Name".
optional string label = 5;- Specified by:
getLabelin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The label.
-
getLabelBytes
public 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;- Specified by:
getLabelBytesin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The bytes for label.
-
hasDataType
public boolean hasDataType()Data type in string format. Value is SQL standard type.
optional string data_type = 6;- Specified by:
hasDataTypein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the dataType field is set.
-
getDataType
Data type in string format. Value is SQL standard type.
optional string data_type = 6;- Specified by:
getDataTypein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()Data type in string format. Value is SQL standard type.
optional string data_type = 6;- Specified by:
getDataTypeBytesin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The bytes for dataType.
-
hasIsNullable
public boolean hasIsNullable()optional bool is_nullable = 7;- Specified by:
hasIsNullablein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the isNullable field is set.
-
getIsNullable
public boolean getIsNullable()optional bool is_nullable = 7;- Specified by:
getIsNullablein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The isNullable.
-
hasPrecision
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;- Specified by:
hasPrecisionin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the precision field is set.
-
getPrecision
public 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;- Specified by:
getPrecisionin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The precision.
-
hasScale
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;- Specified by:
hasScalein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the scale field is set.
-
getScale
public 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;- Specified by:
getScalein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The scale.
-
hasSigned
public boolean hasSigned()Indicates whether values in the designated column are signed numbers.
optional bool signed = 10;- Specified by:
hasSignedin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the signed field is set.
-
getSigned
public boolean getSigned()Indicates whether values in the designated column are signed numbers.
optional bool signed = 10;- Specified by:
getSignedin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The signed.
-
hasDisplaySize
public boolean hasDisplaySize()Maximum number of characters required to display data from the column.
optional int32 display_size = 11;- Specified by:
hasDisplaySizein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the displaySize field is set.
-
getDisplaySize
public int getDisplaySize()Maximum number of characters required to display data from the column.
optional int32 display_size = 11;- Specified by:
getDisplaySizein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The displaySize.
-
hasIsAliased
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;- Specified by:
hasIsAliasedin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the isAliased field is set.
-
getIsAliased
public 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;- Specified by:
getIsAliasedin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The isAliased.
-
hasSearchability
public boolean hasSearchability()optional .exec.user.ColumnSearchability searchability = 13;- Specified by:
hasSearchabilityin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the searchability field is set.
-
getSearchability
optional .exec.user.ColumnSearchability searchability = 13;- Specified by:
getSearchabilityin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The searchability.
-
hasUpdatability
public boolean hasUpdatability()Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;- Specified by:
hasUpdatabilityin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the updatability field is set.
-
getUpdatability
Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;- Specified by:
getUpdatabilityin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The updatability.
-
hasAutoIncrement
public boolean hasAutoIncrement()whether the designated column is automatically incremented.
optional bool auto_increment = 15;- Specified by:
hasAutoIncrementin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the autoIncrement field is set.
-
getAutoIncrement
public boolean getAutoIncrement()whether the designated column is automatically incremented.
optional bool auto_increment = 15;- Specified by:
getAutoIncrementin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The autoIncrement.
-
hasCaseSensitivity
public boolean hasCaseSensitivity()Whether column's case matters for collations and comparisons. Defaults to true.
optional bool case_sensitivity = 16;- Specified by:
hasCaseSensitivityin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the caseSensitivity field is set.
-
getCaseSensitivity
public boolean getCaseSensitivity()Whether column's case matters for collations and comparisons. Defaults to true.
optional bool case_sensitivity = 16;- Specified by:
getCaseSensitivityin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The caseSensitivity.
-
hasSortable
public boolean hasSortable()whether the column can be used in ORDER BY clause
optional bool sortable = 17;- Specified by:
hasSortablein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the sortable field is set.
-
getSortable
public boolean getSortable()whether the column can be used in ORDER BY clause
optional bool sortable = 17;- Specified by:
getSortablein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The sortable.
-
hasClassName
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;- Specified by:
hasClassNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the className field is set.
-
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;- Specified by:
getClassNamein interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The className.
-
getClassNameBytes
public 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;- Specified by:
getClassNameBytesin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The bytes for className.
-
hasIsCurrency
public boolean hasIsCurrency()Is the data type a currency type? For JDBC only.
optional bool is_currency = 20;- Specified by:
hasIsCurrencyin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- Whether the isCurrency field is set.
-
getIsCurrency
public boolean getIsCurrency()Is the data type a currency type? For JDBC only.
optional bool is_currency = 20;- Specified by:
getIsCurrencyin interfaceUserProtos.ResultColumnMetadataOrBuilder- Returns:
- The isCurrency.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UserProtos.ResultColumnMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.ResultColumnMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.ResultColumnMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.ResultColumnMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.ResultColumnMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UserProtos.ResultColumnMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static UserProtos.ResultColumnMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UserProtos.ResultColumnMetadata parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UserProtos.ResultColumnMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UserProtos.ResultColumnMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UserProtos.ResultColumnMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static UserProtos.ResultColumnMetadata.Builder newBuilder(UserProtos.ResultColumnMetadata prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UserProtos.ResultColumnMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-