Interface ColumnEntityOrBuilder

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

    public interface ColumnEntityOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Column name.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

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

        String getDataType()
         Column data type.
         
        string data_type = 2;
        Returns:
        The dataType.
      • getDataTypeBytes

        com.google.protobuf.ByteString getDataTypeBytes()
         Column data type.
         
        string data_type = 2;
        Returns:
        The bytes for dataType.
      • getCharset

        String getCharset()
         Charset override - instead of table level charset.
         
        string charset = 3;
        Returns:
        The charset.
      • getCharsetBytes

        com.google.protobuf.ByteString getCharsetBytes()
         Charset override - instead of table level charset.
         
        string charset = 3;
        Returns:
        The bytes for charset.
      • getCollation

        String getCollation()
         Collation override - instead of table level collation.
         
        string collation = 4;
        Returns:
        The collation.
      • getCollationBytes

        com.google.protobuf.ByteString getCollationBytes()
         Collation override - instead of table level collation.
         
        string collation = 4;
        Returns:
        The bytes for collation.
      • getLength

        long getLength()
         Column length - e.g. varchar (50).
         
        int64 length = 5;
        Returns:
        The length.
      • getPrecision

        int getPrecision()
         Column precision - when relevant.
         
        int32 precision = 6;
        Returns:
        The precision.
      • getScale

        int getScale()
         Column scale - when relevant.
         
        int32 scale = 7;
        Returns:
        The scale.
      • getFractionalSecondsPrecision

        int getFractionalSecondsPrecision()
         Column fractional second precision - used for timestamp based datatypes.
         
        int32 fractional_seconds_precision = 8;
        Returns:
        The fractionalSecondsPrecision.
      • getArray

        boolean getArray()
         Is the column of array type.
         
        bool array = 9;
        Returns:
        The array.
      • getArrayLength

        int getArrayLength()
         If the column is array, of which length.
         
        int32 array_length = 10;
        Returns:
        The arrayLength.
      • getNullable

        boolean getNullable()
         Is the column nullable.
         
        bool nullable = 11;
        Returns:
        The nullable.
      • getAutoGenerated

        boolean getAutoGenerated()
         Is the column auto-generated/identity.
         
        bool auto_generated = 12;
        Returns:
        The autoGenerated.
      • getUdt

        boolean getUdt()
         Is the column a UDT.
         
        bool udt = 13;
        Returns:
        The udt.
      • hasCustomFeatures

        boolean hasCustomFeatures()
         Custom engine specific features.
         
        .google.protobuf.Struct custom_features = 14;
        Returns:
        Whether the customFeatures field is set.
      • getCustomFeatures

        com.google.protobuf.Struct getCustomFeatures()
         Custom engine specific features.
         
        .google.protobuf.Struct custom_features = 14;
        Returns:
        The customFeatures.
      • getCustomFeaturesOrBuilder

        com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
         Custom engine specific features.
         
        .google.protobuf.Struct custom_features = 14;
      • getSetValuesList

        List<String> getSetValuesList()
         Specifies the list of values allowed in the column.
         Only used for set data type.
         
        repeated string set_values = 15;
        Returns:
        A list containing the setValues.
      • getSetValuesCount

        int getSetValuesCount()
         Specifies the list of values allowed in the column.
         Only used for set data type.
         
        repeated string set_values = 15;
        Returns:
        The count of setValues.
      • getSetValues

        String getSetValues​(int index)
         Specifies the list of values allowed in the column.
         Only used for set data type.
         
        repeated string set_values = 15;
        Parameters:
        index - The index of the element to return.
        Returns:
        The setValues at the given index.
      • getSetValuesBytes

        com.google.protobuf.ByteString getSetValuesBytes​(int index)
         Specifies the list of values allowed in the column.
         Only used for set data type.
         
        repeated string set_values = 15;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the setValues at the given index.
      • getComment

        String getComment()
         Comment associated with the column.
         
        string comment = 16;
        Returns:
        The comment.
      • getCommentBytes

        com.google.protobuf.ByteString getCommentBytes()
         Comment associated with the column.
         
        string comment = 16;
        Returns:
        The bytes for comment.
      • getOrdinalPosition

        int getOrdinalPosition()
         Column order in the table.
         
        int32 ordinal_position = 17;
        Returns:
        The ordinalPosition.
      • getDefaultValue

        String getDefaultValue()
         Default value of the column.
         
        string default_value = 18;
        Returns:
        The defaultValue.
      • getDefaultValueBytes

        com.google.protobuf.ByteString getDefaultValueBytes()
         Default value of the column.
         
        string default_value = 18;
        Returns:
        The bytes for defaultValue.