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 getColumnName()
      Column name.
      com.google.protobuf.ByteString getColumnNameBytes()
      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.
      boolean getPrimaryKey()
      Whether or not the column represents a primary key.
      • 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

      • getColumnName

        String getColumnName()
         Column name.
         
        string column_name = 1;
        Returns:
        The columnName.
      • getColumnNameBytes

        com.google.protobuf.ByteString getColumnNameBytes()
         Column name.
         
        string column_name = 1;
        Returns:
        The bytes for columnName.
      • 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.