Package org.apache.calcite.avatica.proto
Class Common.ColumnMetaData
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.calcite.avatica.proto.Common.ColumnMetaData
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,Common.ColumnMetaDataOrBuilder
- Enclosing class:
- Common
public static final class Common.ColumnMetaData extends com.google.protobuf.GeneratedMessageV3 implements Common.ColumnMetaDataOrBuilder
Protobuf typeColumnMetaData- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommon.ColumnMetaData.BuilderProtobuf typeColumnMetaData-
Nested 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
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateColumnMetaData()privateColumnMetaData(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)privateColumnMetaData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)booleangetAutoIncrement()bool auto_increment = 2;booleangetCaseSensitive()bool case_sensitive = 3;java.lang.StringgetCatalogName()string catalog_name = 15;com.google.protobuf.ByteStringgetCatalogNameBytes()string catalog_name = 15;java.lang.StringgetColumnClassName()string column_class_name = 19;com.google.protobuf.ByteStringgetColumnClassNameBytes()string column_class_name = 19;java.lang.StringgetColumnName()string column_name = 10;com.google.protobuf.ByteStringgetColumnNameBytes()string column_name = 10;booleangetCurrency()bool currency = 5;static Common.ColumnMetaDatagetDefaultInstance()Common.ColumnMetaDatagetDefaultInstanceForType()booleangetDefinitelyWritable()bool definitely_writable = 18;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetDisplaySize()uint32 display_size = 8;java.lang.StringgetLabel()string label = 9;com.google.protobuf.ByteStringgetLabelBytes()string label = 9;intgetNullable()uint32 nullable = 6;intgetOrdinal()uint32 ordinal = 1;com.google.protobuf.Parser<Common.ColumnMetaData>getParserForType()intgetPrecision()uint32 precision = 12;booleangetReadOnly()bool read_only = 16;intgetScale()uint32 scale = 13;java.lang.StringgetSchemaName()string schema_name = 11;com.google.protobuf.ByteStringgetSchemaNameBytes()string schema_name = 11;booleangetSearchable()bool searchable = 4;intgetSerializedSize()booleangetSigned()bool signed = 7;java.lang.StringgetTableName()string table_name = 14;com.google.protobuf.ByteStringgetTableNameBytes()string table_name = 14;Common.AvaticaTypegetType().AvaticaType type = 20;Common.AvaticaTypeOrBuildergetTypeOrBuilder().AvaticaType type = 20;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleangetWritable()bool writable = 17;inthashCode()booleanhasType().AvaticaType type = 20;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Common.ColumnMetaData.BuildernewBuilder()static Common.ColumnMetaData.BuildernewBuilder(Common.ColumnMetaData prototype)Common.ColumnMetaData.BuildernewBuilderForType()protected Common.ColumnMetaData.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Common.ColumnMetaDataparseDelimitedFrom(java.io.InputStream input)static Common.ColumnMetaDataparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnMetaDataparseFrom(byte[] data)static Common.ColumnMetaDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnMetaDataparseFrom(com.google.protobuf.ByteString data)static Common.ColumnMetaDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnMetaDataparseFrom(com.google.protobuf.CodedInputStream input)static Common.ColumnMetaDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnMetaDataparseFrom(java.io.InputStream input)static Common.ColumnMetaDataparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Common.ColumnMetaDataparseFrom(java.nio.ByteBuffer data)static Common.ColumnMetaDataparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Common.ColumnMetaData>parser()Common.ColumnMetaData.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
ORDINAL_FIELD_NUMBER
public static final int ORDINAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ordinal_
private int ordinal_
-
AUTO_INCREMENT_FIELD_NUMBER
public static final int AUTO_INCREMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
autoIncrement_
private boolean autoIncrement_
-
CASE_SENSITIVE_FIELD_NUMBER
public static final int CASE_SENSITIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
caseSensitive_
private boolean caseSensitive_
-
SEARCHABLE_FIELD_NUMBER
public static final int SEARCHABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
searchable_
private boolean searchable_
-
CURRENCY_FIELD_NUMBER
public static final int CURRENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
currency_
private boolean currency_
-
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
nullable_
private int nullable_
-
SIGNED_FIELD_NUMBER
public static final int SIGNED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
signed_
private boolean signed_
-
DISPLAY_SIZE_FIELD_NUMBER
public static final int DISPLAY_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
displaySize_
private int displaySize_
-
LABEL_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
label_
private volatile java.lang.Object label_
-
COLUMN_NAME_FIELD_NUMBER
public static final int COLUMN_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
columnName_
private volatile java.lang.Object columnName_
-
SCHEMA_NAME_FIELD_NUMBER
public static final int SCHEMA_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
schemaName_
private volatile java.lang.Object schemaName_
-
PRECISION_FIELD_NUMBER
public static final int PRECISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
precision_
private int precision_
-
SCALE_FIELD_NUMBER
public static final int SCALE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
scale_
private int scale_
-
TABLE_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
tableName_
private volatile java.lang.Object tableName_
-
CATALOG_NAME_FIELD_NUMBER
public static final int CATALOG_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
catalogName_
private volatile java.lang.Object catalogName_
-
READ_ONLY_FIELD_NUMBER
public static final int READ_ONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
readOnly_
private boolean readOnly_
-
WRITABLE_FIELD_NUMBER
public static final int WRITABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
writable_
private boolean writable_
-
DEFINITELY_WRITABLE_FIELD_NUMBER
public static final int DEFINITELY_WRITABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
definitelyWritable_
private boolean definitelyWritable_
-
COLUMN_CLASS_NAME_FIELD_NUMBER
public static final int COLUMN_CLASS_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
columnClassName_
private volatile java.lang.Object columnClassName_
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
type_
private Common.AvaticaType type_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Common.ColumnMetaData DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Common.ColumnMetaData> PARSER
-
-
Constructor Detail
-
ColumnMetaData
private ColumnMetaData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
ColumnMetaData
private ColumnMetaData()
-
ColumnMetaData
private ColumnMetaData(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
-
Method Detail
-
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
-
getOrdinal
public int getOrdinal()
uint32 ordinal = 1;- Specified by:
getOrdinalin interfaceCommon.ColumnMetaDataOrBuilder
-
getAutoIncrement
public boolean getAutoIncrement()
bool auto_increment = 2;- Specified by:
getAutoIncrementin interfaceCommon.ColumnMetaDataOrBuilder
-
getCaseSensitive
public boolean getCaseSensitive()
bool case_sensitive = 3;- Specified by:
getCaseSensitivein interfaceCommon.ColumnMetaDataOrBuilder
-
getSearchable
public boolean getSearchable()
bool searchable = 4;- Specified by:
getSearchablein interfaceCommon.ColumnMetaDataOrBuilder
-
getCurrency
public boolean getCurrency()
bool currency = 5;- Specified by:
getCurrencyin interfaceCommon.ColumnMetaDataOrBuilder
-
getNullable
public int getNullable()
uint32 nullable = 6;- Specified by:
getNullablein interfaceCommon.ColumnMetaDataOrBuilder
-
getSigned
public boolean getSigned()
bool signed = 7;- Specified by:
getSignedin interfaceCommon.ColumnMetaDataOrBuilder
-
getDisplaySize
public int getDisplaySize()
uint32 display_size = 8;- Specified by:
getDisplaySizein interfaceCommon.ColumnMetaDataOrBuilder
-
getLabel
public java.lang.String getLabel()
string label = 9;- Specified by:
getLabelin interfaceCommon.ColumnMetaDataOrBuilder
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()
string label = 9;- Specified by:
getLabelBytesin interfaceCommon.ColumnMetaDataOrBuilder
-
getColumnName
public java.lang.String getColumnName()
string column_name = 10;- Specified by:
getColumnNamein interfaceCommon.ColumnMetaDataOrBuilder
-
getColumnNameBytes
public com.google.protobuf.ByteString getColumnNameBytes()
string column_name = 10;- Specified by:
getColumnNameBytesin interfaceCommon.ColumnMetaDataOrBuilder
-
getSchemaName
public java.lang.String getSchemaName()
string schema_name = 11;- Specified by:
getSchemaNamein interfaceCommon.ColumnMetaDataOrBuilder
-
getSchemaNameBytes
public com.google.protobuf.ByteString getSchemaNameBytes()
string schema_name = 11;- Specified by:
getSchemaNameBytesin interfaceCommon.ColumnMetaDataOrBuilder
-
getPrecision
public int getPrecision()
uint32 precision = 12;- Specified by:
getPrecisionin interfaceCommon.ColumnMetaDataOrBuilder
-
getScale
public int getScale()
uint32 scale = 13;- Specified by:
getScalein interfaceCommon.ColumnMetaDataOrBuilder
-
getTableName
public java.lang.String getTableName()
string table_name = 14;- Specified by:
getTableNamein interfaceCommon.ColumnMetaDataOrBuilder
-
getTableNameBytes
public com.google.protobuf.ByteString getTableNameBytes()
string table_name = 14;- Specified by:
getTableNameBytesin interfaceCommon.ColumnMetaDataOrBuilder
-
getCatalogName
public java.lang.String getCatalogName()
string catalog_name = 15;- Specified by:
getCatalogNamein interfaceCommon.ColumnMetaDataOrBuilder
-
getCatalogNameBytes
public com.google.protobuf.ByteString getCatalogNameBytes()
string catalog_name = 15;- Specified by:
getCatalogNameBytesin interfaceCommon.ColumnMetaDataOrBuilder
-
getReadOnly
public boolean getReadOnly()
bool read_only = 16;- Specified by:
getReadOnlyin interfaceCommon.ColumnMetaDataOrBuilder
-
getWritable
public boolean getWritable()
bool writable = 17;- Specified by:
getWritablein interfaceCommon.ColumnMetaDataOrBuilder
-
getDefinitelyWritable
public boolean getDefinitelyWritable()
bool definitely_writable = 18;- Specified by:
getDefinitelyWritablein interfaceCommon.ColumnMetaDataOrBuilder
-
getColumnClassName
public java.lang.String getColumnClassName()
string column_class_name = 19;- Specified by:
getColumnClassNamein interfaceCommon.ColumnMetaDataOrBuilder
-
getColumnClassNameBytes
public com.google.protobuf.ByteString getColumnClassNameBytes()
string column_class_name = 19;- Specified by:
getColumnClassNameBytesin interfaceCommon.ColumnMetaDataOrBuilder
-
hasType
public boolean hasType()
.AvaticaType type = 20;- Specified by:
hasTypein interfaceCommon.ColumnMetaDataOrBuilder
-
getType
public Common.AvaticaType getType()
.AvaticaType type = 20;- Specified by:
getTypein interfaceCommon.ColumnMetaDataOrBuilder
-
getTypeOrBuilder
public Common.AvaticaTypeOrBuilder getTypeOrBuilder()
.AvaticaType type = 20;- Specified by:
getTypeOrBuilderin interfaceCommon.ColumnMetaDataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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 Common.ColumnMetaData parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnMetaData parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnMetaData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnMetaData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnMetaData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnMetaData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.ColumnMetaData parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Common.ColumnMetaData parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Common.ColumnMetaData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Common.ColumnMetaData parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Common.ColumnMetaData parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Common.ColumnMetaData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Common.ColumnMetaData.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Common.ColumnMetaData.Builder newBuilder()
-
newBuilder
public static Common.ColumnMetaData.Builder newBuilder(Common.ColumnMetaData prototype)
-
toBuilder
public Common.ColumnMetaData.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Common.ColumnMetaData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Common.ColumnMetaData getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Common.ColumnMetaData> parser()
-
getParserForType
public com.google.protobuf.Parser<Common.ColumnMetaData> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Common.ColumnMetaData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-