Interface MysqlColumnOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    MysqlColumn, MysqlColumn.Builder

    public interface MysqlColumnOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCollation()
      Column collation.
      com.google.protobuf.ByteString getCollationBytes()
      Column collation.
      String getColumn()
      Column name.
      com.google.protobuf.ByteString getColumnBytes()
      Column name.
      String getDataType()
      The MySQL data type.
      com.google.protobuf.ByteString getDataTypeBytes()
      The MySQL data type.
      int getLength()
      Column length.
      boolean getNullable()
      Whether or not the column can accept a null value.
      int getOrdinalPosition()
      The ordinal position of the column in the table.
      int getPrecision()
      Column precision.
      boolean getPrimaryKey()
      Whether or not the column represents a primary key.
      int getScale()
      Column scale.
      • 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 Detail

      • getColumn

        String getColumn()
         Column name.
         
        string column = 1;
        Returns:
        The column.
      • getColumnBytes

        com.google.protobuf.ByteString getColumnBytes()
         Column name.
         
        string column = 1;
        Returns:
        The bytes for column.
      • getDataType

        String getDataType()
         The MySQL data type. Full data types list can be found here:
         https://dev.mysql.com/doc/refman/8.0/en/data-types.html
         
        string data_type = 2;
        Returns:
        The dataType.
      • getDataTypeBytes

        com.google.protobuf.ByteString getDataTypeBytes()
         The MySQL data type. Full data types list can be found here:
         https://dev.mysql.com/doc/refman/8.0/en/data-types.html
         
        string data_type = 2;
        Returns:
        The bytes for dataType.
      • getLength

        int getLength()
         Column length.
         
        int32 length = 3;
        Returns:
        The length.
      • getCollation

        String getCollation()
         Column collation.
         
        string collation = 4;
        Returns:
        The collation.
      • getCollationBytes

        com.google.protobuf.ByteString getCollationBytes()
         Column collation.
         
        string collation = 4;
        Returns:
        The bytes for collation.
      • getPrimaryKey

        boolean getPrimaryKey()
         Whether or not the column represents a primary key.
         
        bool primary_key = 5;
        Returns:
        The primaryKey.
      • getNullable

        boolean getNullable()
         Whether or not the column can accept a null value.
         
        bool nullable = 6;
        Returns:
        The nullable.
      • getOrdinalPosition

        int getOrdinalPosition()
         The ordinal position of the column in the table.
         
        int32 ordinal_position = 7;
        Returns:
        The ordinalPosition.
      • getPrecision

        int getPrecision()
         Column precision.
         
        int32 precision = 8;
        Returns:
        The precision.
      • getScale

        int getScale()
         Column scale.
         
        int32 scale = 9;
        Returns:
        The scale.