Interface Common.SchemaOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Common.Schema, Common.Schema.Builder
Enclosing class:
Common

public static interface Common.SchemaOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    index position starts from 0
    boolean
    Is primary key
    boolean
    is allowed to be empty
    field name only for scala , others invalid
    com.google.protobuf.ByteString
    field name only for scala , others invalid
    type of data
    int
    type of data

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTypeValue

      int getTypeValue()
       type of data
       
      .dingodb.pb.common.Schema.Type type = 1;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       type of data
       
      .dingodb.pb.common.Schema.Type type = 1;
      Returns:
      The type.
    • getIsKey

      boolean getIsKey()
       Is primary key
       
      bool is_key = 2;
      Returns:
      The isKey.
    • getIsNullable

      boolean getIsNullable()
       is allowed to be empty
       
      bool is_nullable = 3;
      Returns:
      The isNullable.
    • getIndex

      int getIndex()
       index position starts from 0
       
      int32 index = 4;
      Returns:
      The index.
    • getName

      String getName()
       field name only for scala , others invalid
       
      string name = 5;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       field name only for scala , others invalid
       
      string name = 5;
      Returns:
      The bytes for name.