Class ColumnInfo

java.lang.Object
io.unitycatalog.client.model.ColumnInfo

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.5.0") public class ColumnInfo extends Object
ColumnInfo
  • Field Details

  • Constructor Details

    • ColumnInfo

      public ColumnInfo()
  • Method Details

    • name

      public ColumnInfo name(String name)
    • getName

      @Nullable public String getName()
      Name of Column.
      Returns:
      name
    • setName

      public void setName(String name)
    • typeText

      public ColumnInfo typeText(String typeText)
    • getTypeText

      @Nullable public String getTypeText()
      Full data type specification as SQL/catalogString text.
      Returns:
      typeText
    • setTypeText

      public void setTypeText(String typeText)
    • typeJson

      public ColumnInfo typeJson(String typeJson)
    • getTypeJson

      @Nullable public String getTypeJson()
      Full data type specification, JSON-serialized.
      Returns:
      typeJson
    • setTypeJson

      public void setTypeJson(String typeJson)
    • typeName

      public ColumnInfo typeName(ColumnTypeName typeName)
    • getTypeName

      @Nullable public ColumnTypeName getTypeName()
      Get typeName
      Returns:
      typeName
    • setTypeName

      public void setTypeName(ColumnTypeName typeName)
    • typePrecision

      public ColumnInfo typePrecision(Integer typePrecision)
    • getTypePrecision

      @Nullable public Integer getTypePrecision()
      Digits of precision; required for DecimalTypes.
      Returns:
      typePrecision
    • setTypePrecision

      public void setTypePrecision(Integer typePrecision)
    • typeScale

      public ColumnInfo typeScale(Integer typeScale)
    • getTypeScale

      @Nullable public Integer getTypeScale()
      Digits to right of decimal; Required for DecimalTypes.
      Returns:
      typeScale
    • setTypeScale

      public void setTypeScale(Integer typeScale)
    • typeIntervalType

      public ColumnInfo typeIntervalType(String typeIntervalType)
    • getTypeIntervalType

      @Nullable public String getTypeIntervalType()
      Format of IntervalType.
      Returns:
      typeIntervalType
    • setTypeIntervalType

      public void setTypeIntervalType(String typeIntervalType)
    • position

      public ColumnInfo position(Integer position)
    • getPosition

      @Nullable public Integer getPosition()
      Ordinal position of column (starting at position 0).
      Returns:
      position
    • setPosition

      public void setPosition(Integer position)
    • comment

      public ColumnInfo comment(String comment)
    • getComment

      @Nullable public String getComment()
      User-provided free-form text description.
      Returns:
      comment
    • setComment

      public void setComment(String comment)
    • nullable

      public ColumnInfo nullable(Boolean nullable)
    • getNullable

      @Nullable public Boolean getNullable()
      Whether field may be Null.
      Returns:
      nullable
    • setNullable

      public void setNullable(Boolean nullable)
    • partitionIndex

      public ColumnInfo partitionIndex(Integer partitionIndex)
    • getPartitionIndex

      @Nullable public Integer getPartitionIndex()
      Partition index for column.
      Returns:
      partitionIndex
    • setPartitionIndex

      public void setPartitionIndex(Integer partitionIndex)
    • equals

      public boolean equals(Object o)
      Return true if this ColumnInfo object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string