public static interface UserProtos.ResultColumnMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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.
|
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
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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;
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;
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;
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;
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;
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;
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;
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;
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;
boolean hasColumnName()
column name
optional string column_name = 4;
String getColumnName()
column name
optional string column_name = 4;
com.google.protobuf.ByteString getColumnNameBytes()
column name
optional string column_name = 4;
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;
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;
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;
boolean hasDataType()
Data type in string format. Value is SQL standard type.
optional string data_type = 6;
String getDataType()
Data type in string format. Value is SQL standard type.
optional string data_type = 6;
com.google.protobuf.ByteString getDataTypeBytes()
Data type in string format. Value is SQL standard type.
optional string data_type = 6;
boolean hasIsNullable()
optional bool is_nullable = 7;
boolean getIsNullable()
optional bool is_nullable = 7;
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;
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;
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;
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;
boolean hasSigned()
Indicates whether values in the designated column are signed numbers.
optional bool signed = 10;
boolean getSigned()
Indicates whether values in the designated column are signed numbers.
optional bool signed = 10;
boolean hasDisplaySize()
Maximum number of characters required to display data from the column.
optional int32 display_size = 11;
int getDisplaySize()
Maximum number of characters required to display data from the column.
optional int32 display_size = 11;
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;
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;
boolean hasSearchability()
optional .exec.user.ColumnSearchability searchability = 13;
UserProtos.ColumnSearchability getSearchability()
optional .exec.user.ColumnSearchability searchability = 13;
boolean hasUpdatability()
Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;
UserProtos.ColumnUpdatability getUpdatability()
Defaults to READ_ONLY
optional .exec.user.ColumnUpdatability updatability = 14;
boolean hasAutoIncrement()
whether the designated column is automatically incremented.
optional bool auto_increment = 15;
boolean getAutoIncrement()
whether the designated column is automatically incremented.
optional bool auto_increment = 15;
boolean hasCaseSensitivity()
Whether column's case matters for collations and comparisons. Defaults to true.
optional bool case_sensitivity = 16;
boolean getCaseSensitivity()
Whether column's case matters for collations and comparisons. Defaults to true.
optional bool case_sensitivity = 16;
boolean hasSortable()
whether the column can be used in ORDER BY clause
optional bool sortable = 17;
boolean getSortable()
whether the column can be used in ORDER BY clause
optional bool sortable = 17;
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;
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;
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;
boolean hasIsCurrency()
Is the data type a currency type? For JDBC only.
optional bool is_currency = 20;
boolean getIsCurrency()
Is the data type a currency type? For JDBC only.
optional bool is_currency = 20;
Copyright © 1970 The Apache Software Foundation. All rights reserved.