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
Modifier and TypeClassDescriptionstatic final class
Metadata 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,
BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<UserProtos.ResultColumnMetadata>
Deprecated.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
whether the designated column is automatically incremented.boolean
Whether column's case matters for collations and comparisons.Designated column's catalog name.com.google.protobuf.ByteString
Designated 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.ByteString
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.column namecom.google.protobuf.ByteString
column nameData type in string format.com.google.protobuf.ByteString
Data type in string format.static final com.google.protobuf.Descriptors.Descriptor
int
Maximum number of characters required to display data from the column.boolean
Is the column an aliased column.boolean
Is the data type a currency type? For JDBC only.boolean
optional bool is_nullable = 7;
getLabel()
Column label name for display or print purposes.com.google.protobuf.ByteString
Column label name for display or print purposes.com.google.protobuf.Parser<UserProtos.ResultColumnMetadata>
int
For numeric data, this is the maximum precision.int
getScale()
Column's number of digits to right of the decimal point.Designated column's schema name.com.google.protobuf.ByteString
Designated column's schema name.optional .exec.user.ColumnSearchability searchability = 13;
int
boolean
Indicates whether values in the designated column are signed numbers.boolean
whether the column can be used in ORDER BY clauseDesignated column's table name.com.google.protobuf.ByteString
Designated column's table name.final com.google.protobuf.UnknownFieldSet
Defaults to READ_ONLYboolean
whether the designated column is automatically incremented.boolean
Whether column's case matters for collations and comparisons.boolean
Designated column's catalog name.boolean
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
column nameboolean
Data type in string format.boolean
Maximum number of characters required to display data from the column.int
hashCode()
boolean
Is the column an aliased column.boolean
Is the data type a currency type? For JDBC only.boolean
optional bool is_nullable = 7;
boolean
hasLabel()
Column label name for display or print purposes.boolean
For numeric data, this is the maximum precision.boolean
hasScale()
Column's number of digits to right of the decimal point.boolean
Designated column's schema name.boolean
optional .exec.user.ColumnSearchability searchability = 13;
boolean
Indicates whether values in the designated column are signed numbers.boolean
whether the column can be used in ORDER BY clauseboolean
Designated column's table name.boolean
Defaults to READ_ONLYprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(UserProtos.ResultColumnMetadata prototype) protected UserProtos.ResultColumnMetadata.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(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()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in 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:
hasCatalogName
in 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:
getCatalogName
in 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:
getCatalogNameBytes
in 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:
hasSchemaName
in 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:
getSchemaName
in 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:
getSchemaNameBytes
in 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:
hasTableName
in 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:
getTableName
in 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:
getTableNameBytes
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- The bytes for tableName.
-
hasColumnName
public boolean hasColumnName()column name
optional string column_name = 4;
- Specified by:
hasColumnName
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- Whether the columnName field is set.
-
getColumnName
column name
optional string column_name = 4;
- Specified by:
getColumnName
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- The columnName.
-
getColumnNameBytes
public com.google.protobuf.ByteString getColumnNameBytes()column name
optional string column_name = 4;
- Specified by:
getColumnNameBytes
in 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:
hasLabel
in 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:
getLabel
in 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:
getLabelBytes
in 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:
hasDataType
in 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:
getDataType
in 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:
getDataTypeBytes
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- The bytes for dataType.
-
hasIsNullable
public boolean hasIsNullable()optional bool is_nullable = 7;
- Specified by:
hasIsNullable
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- Whether the isNullable field is set.
-
getIsNullable
public boolean getIsNullable()optional bool is_nullable = 7;
- Specified by:
getIsNullable
in 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:
hasPrecision
in 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:
getPrecision
in 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:
hasScale
in 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:
getScale
in 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:
hasSigned
in 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:
getSigned
in 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:
hasDisplaySize
in 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:
getDisplaySize
in 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:
hasIsAliased
in 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:
getIsAliased
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- The isAliased.
-
hasSearchability
public boolean hasSearchability()optional .exec.user.ColumnSearchability searchability = 13;
- Specified by:
hasSearchability
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- Whether the searchability field is set.
-
getSearchability
optional .exec.user.ColumnSearchability searchability = 13;
- Specified by:
getSearchability
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- The searchability.
-
hasUpdatability
public boolean hasUpdatability()Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;
- Specified by:
hasUpdatability
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- Whether the updatability field is set.
-
getUpdatability
Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;
- Specified by:
getUpdatability
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- The updatability.
-
hasAutoIncrement
public boolean hasAutoIncrement()whether the designated column is automatically incremented.
optional bool auto_increment = 15;
- Specified by:
hasAutoIncrement
in 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:
getAutoIncrement
in 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:
hasCaseSensitivity
in 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:
getCaseSensitivity
in 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:
hasSortable
in 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:
getSortable
in 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:
hasClassName
in 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:
getClassName
in 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:
getClassNameBytes
in 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:
hasIsCurrency
in 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:
getIsCurrency
in interfaceUserProtos.ResultColumnMetadataOrBuilder
- Returns:
- The isCurrency.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static UserProtos.ResultColumnMetadata.Builder newBuilder(UserProtos.ResultColumnMetadata prototype) -
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UserProtos.ResultColumnMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-