Package io.unitycatalog.client.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ColumnInfo object is equal to o.User-provided free-form text description.getName()Name of Column.Whether field may be Null.Partition index for column.Ordinal position of column (starting at position 0).Format of IntervalType.Full data type specification, JSON-serialized.Get typeNameDigits of precision; required for DecimalTypes.Digits to right of decimal; Required for DecimalTypes.Full data type specification as SQL/catalogString text.inthashCode()partitionIndex(Integer partitionIndex) voidsetComment(String comment) voidvoidsetNullable(Boolean nullable) voidsetPartitionIndex(Integer partitionIndex) voidsetPosition(Integer position) voidsetTypeIntervalType(String typeIntervalType) voidsetTypeJson(String typeJson) voidsetTypeName(ColumnTypeName typeName) voidsetTypePrecision(Integer typePrecision) voidsetTypeScale(Integer typeScale) voidsetTypeText(String typeText) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.typeIntervalType(String typeIntervalType) typeName(ColumnTypeName typeName) typePrecision(Integer typePrecision)
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TYPE_TEXT
- See Also:
-
JSON_PROPERTY_TYPE_JSON
- See Also:
-
JSON_PROPERTY_TYPE_NAME
- See Also:
-
JSON_PROPERTY_TYPE_PRECISION
- See Also:
-
JSON_PROPERTY_TYPE_SCALE
- See Also:
-
JSON_PROPERTY_TYPE_INTERVAL_TYPE
- See Also:
-
JSON_PROPERTY_POSITION
- See Also:
-
JSON_PROPERTY_COMMENT
- See Also:
-
JSON_PROPERTY_NULLABLE
- See Also:
-
JSON_PROPERTY_PARTITION_INDEX
- See Also:
-
-
Constructor Details
-
ColumnInfo
public ColumnInfo()
-
-
Method Details
-
name
-
getName
Name of Column.- Returns:
- name
-
setName
-
typeText
-
getTypeText
Full data type specification as SQL/catalogString text.- Returns:
- typeText
-
setTypeText
-
typeJson
-
getTypeJson
Full data type specification, JSON-serialized.- Returns:
- typeJson
-
setTypeJson
-
typeName
-
getTypeName
Get typeName- Returns:
- typeName
-
setTypeName
-
typePrecision
-
getTypePrecision
Digits of precision; required for DecimalTypes.- Returns:
- typePrecision
-
setTypePrecision
-
typeScale
-
getTypeScale
Digits to right of decimal; Required for DecimalTypes.- Returns:
- typeScale
-
setTypeScale
-
typeIntervalType
-
getTypeIntervalType
Format of IntervalType.- Returns:
- typeIntervalType
-
setTypeIntervalType
-
position
-
getPosition
Ordinal position of column (starting at position 0).- Returns:
- position
-
setPosition
-
comment
-
getComment
User-provided free-form text description.- Returns:
- comment
-
setComment
-
nullable
-
getNullable
Whether field may be Null.- Returns:
- nullable
-
setNullable
-
partitionIndex
-
getPartitionIndex
Partition index for column.- Returns:
- partitionIndex
-
setPartitionIndex
-
equals
Return true if this ColumnInfo object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-