Package io.dingodb.meta
Class Meta.ColumnDefinition
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.meta.Meta.ColumnDefinition
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Meta.ColumnDefinitionOrBuilder,Serializable
- Enclosing class:
- Meta
public static final class Meta.ColumnDefinition
extends com.google.protobuf.GeneratedMessageV3
implements Meta.ColumnDefinitionOrBuilder
Column Definition.Protobuf type
dingodb.pb.meta.ColumnDefinition- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classColumn Definition.Nested 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 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 TypeMethodDescriptionbooleanstring comment = 30;com.google.protobuf.ByteStringstring comment = 30;intuint32 create_version = 51;static Meta.ColumnDefinitionstring default_val = 9;com.google.protobuf.ByteStringstring default_val = 9;intuint32 delete_version = 53;static final com.google.protobuf.Descriptors.Descriptorstring element_type = 3;com.google.protobuf.ByteStringstring element_type = 3;booleanbool has_default_val = 8;intint32 indexOfKey = 7;booleanbool is_auto_increment = 10;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;booleanbool nullable = 6;com.google.protobuf.Parser<Meta.ColumnDefinition>intint32 precision = 4;intgetScale()int32 scale = 5;.dingodb.pb.common.SchemaState schemaState = 31;int.dingodb.pb.common.SchemaState schemaState = 31;intstring sql_type = 2;com.google.protobuf.ByteStringstring sql_type = 2;intgetState()int32 state = 20;intuint32 update_version = 52;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Meta.ColumnDefinition prototype) protected Meta.ColumnDefinition.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Meta.ColumnDefinitionparseDelimitedFrom(InputStream input) static Meta.ColumnDefinitionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ColumnDefinitionparseFrom(byte[] data) static Meta.ColumnDefinitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ColumnDefinitionparseFrom(com.google.protobuf.ByteString data) static Meta.ColumnDefinitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ColumnDefinitionparseFrom(com.google.protobuf.CodedInputStream input) static Meta.ColumnDefinitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ColumnDefinitionparseFrom(InputStream input) static Meta.ColumnDefinitionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Meta.ColumnDefinitionparseFrom(ByteBuffer data) static Meta.ColumnDefinitionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Meta.ColumnDefinition>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, getUnknownFields, 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, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SQL_TYPE_FIELD_NUMBER
public static final int SQL_TYPE_FIELD_NUMBER- See Also:
-
ELEMENT_TYPE_FIELD_NUMBER
public static final int ELEMENT_TYPE_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:
-
NULLABLE_FIELD_NUMBER
public static final int NULLABLE_FIELD_NUMBER- See Also:
-
INDEXOFKEY_FIELD_NUMBER
public static final int INDEXOFKEY_FIELD_NUMBER- See Also:
-
HAS_DEFAULT_VAL_FIELD_NUMBER
public static final int HAS_DEFAULT_VAL_FIELD_NUMBER- See Also:
-
DEFAULT_VAL_FIELD_NUMBER
public static final int DEFAULT_VAL_FIELD_NUMBER- See Also:
-
IS_AUTO_INCREMENT_FIELD_NUMBER
public static final int IS_AUTO_INCREMENT_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
COMMENT_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER- See Also:
-
SCHEMASTATE_FIELD_NUMBER
public static final int SCHEMASTATE_FIELD_NUMBER- See Also:
-
CREATE_VERSION_FIELD_NUMBER
public static final int CREATE_VERSION_FIELD_NUMBER- See Also:
-
UPDATE_VERSION_FIELD_NUMBER
public static final int UPDATE_VERSION_FIELD_NUMBER- See Also:
-
DELETE_VERSION_FIELD_NUMBER
public static final int DELETE_VERSION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
-
getName
string name = 1;- Specified by:
getNamein interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1;- Specified by:
getNameBytesin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The bytes for name.
-
getSqlType
string sql_type = 2;- Specified by:
getSqlTypein interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The sqlType.
-
getSqlTypeBytes
public com.google.protobuf.ByteString getSqlTypeBytes()string sql_type = 2;- Specified by:
getSqlTypeBytesin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The bytes for sqlType.
-
getElementType
string element_type = 3;- Specified by:
getElementTypein interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The elementType.
-
getElementTypeBytes
public com.google.protobuf.ByteString getElementTypeBytes()string element_type = 3;- Specified by:
getElementTypeBytesin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The bytes for elementType.
-
getPrecision
public int getPrecision()int32 precision = 4;- Specified by:
getPrecisionin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The precision.
-
getScale
public int getScale()int32 scale = 5;- Specified by:
getScalein interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The scale.
-
getNullable
public boolean getNullable()bool nullable = 6;- Specified by:
getNullablein interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The nullable.
-
getIndexOfKey
public int getIndexOfKey()int32 indexOfKey = 7;- Specified by:
getIndexOfKeyin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The indexOfKey.
-
getHasDefaultVal
public boolean getHasDefaultVal()bool has_default_val = 8;- Specified by:
getHasDefaultValin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The hasDefaultVal.
-
getDefaultVal
string default_val = 9;- Specified by:
getDefaultValin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The defaultVal.
-
getDefaultValBytes
public com.google.protobuf.ByteString getDefaultValBytes()string default_val = 9;- Specified by:
getDefaultValBytesin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The bytes for defaultVal.
-
getIsAutoIncrement
public boolean getIsAutoIncrement()bool is_auto_increment = 10;- Specified by:
getIsAutoIncrementin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The isAutoIncrement.
-
getState
public int getState()int32 state = 20;- Specified by:
getStatein interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The state.
-
getComment
string comment = 30;- Specified by:
getCommentin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()string comment = 30;- Specified by:
getCommentBytesin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The bytes for comment.
-
getSchemaStateValue
public int getSchemaStateValue().dingodb.pb.common.SchemaState schemaState = 31;- Specified by:
getSchemaStateValuein interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The enum numeric value on the wire for schemaState.
-
getSchemaState
.dingodb.pb.common.SchemaState schemaState = 31;- Specified by:
getSchemaStatein interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The schemaState.
-
getCreateVersion
public int getCreateVersion()uint32 create_version = 51;- Specified by:
getCreateVersionin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The createVersion.
-
getUpdateVersion
public int getUpdateVersion()uint32 update_version = 52;- Specified by:
getUpdateVersionin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The updateVersion.
-
getDeleteVersion
public int getDeleteVersion()uint32 delete_version = 53;- Specified by:
getDeleteVersionin interfaceMeta.ColumnDefinitionOrBuilder- Returns:
- The deleteVersion.
-
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 Meta.ColumnDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ColumnDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ColumnDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ColumnDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ColumnDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Meta.ColumnDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Meta.ColumnDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Meta.ColumnDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Meta.ColumnDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Meta.ColumnDefinition 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Meta.ColumnDefinition.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
-