Action
    Preparing search index...

    Class DataColumnProperties

    Represents a collection of the properties in a column.

    2.0

    Hierarchy (View Summary)

    Index

    Methods

    • Casts this object to the specified type. Throws error on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns T1

    • Determines whether the specified object is equal to the current object.

      Parameters

      • obj: any

        The object to compare with the current object.

      Returns boolean

      true if the specified object is equal to the current object; otherwise, false.

    • Serves as the default hash function.

      Returns number

      A hash code for the current object.

    • Returns a string that represents the current object.

      Returns string

      A string that represents the current object.

    • Casts this object to the specified type. Returns null on failure.

      Type Parameters

      • T1

        The target type of the cast.

      • T2

        The type of the object to cast.

      Parameters

      Returns null | T1

    • Determines whether the specified object instances are considered equal.

      Parameters

      • objA: any

        The first object to compare.

      • objB: any

        The second object to compare.

      Returns boolean

      true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.

    Default capability

    • get CalculatedExpression(): string

      Gets the derived expression of the column. The calculated expression is the expression text after preprocessing the original expression (Spotfire.Dxp.Data.DataColumnProperties.Expression).

      Returns string

      Automatic column name changes, e.g., changing case of column names have also been applied to the calculated expression.

      2.0

    • get ContentType(): string

      Gets or sets a more specific type of the data contained in a column of a certain DataType.

      Returns string

      2.0

    • set ContentType(value: string): void

      Parameters

      • value: string

      Returns void

    • get DataType(): DataType

      Gets or sets the data type of the column.

      Returns DataType

      2.0

    • set DataType(value: DataType): void

      Parameters

      Returns void

    • get Description(): string

      Gets or sets a textual description of the column.

      Returns string

      2.0

    • set Description(value: string): void

      Parameters

      • value: string

      Returns void

    • get Expression(): string

      Gets the defining expression of the column.

      Returns string

      2.0

    • get ExternalId(): string

      Gets or sets the external identifier of the column.

      Returns string

      This is an external identifier of some sort that identifies the column.

      2.0

    • set ExternalId(value: string): void

      Parameters

      • value: string

      Returns void

    • get ExternalName(): string

      Gets or sets the external name of the column.

      Returns string

      The external name is the name that the column originally had in the original Spotfire.Dxp.Data.DataSource.

      2.0

    • set ExternalName(value: string): void

      Parameters

      • value: string

      Returns void

    • get IsValid(): boolean

      Gets a value indicating whether the column has valid values: true if the column has valid values; otherwise, false.

      Returns boolean

      2.0

    • get Name(): string

      Gets or sets the name of the column.

      Returns string

      2.0

    • set Name(value: string): void

      Parameters

      • value: string

      Returns void

    • get PreferredAggregationMethod(): null | string

      Gets or sets the preferred aggregation method. If set to the name of an aggregation method, for instance "sum" or "avg", this method is used by plot heuristics when creating aggregated expressions from this column.

      Returns null | string

      2.0

    • set PreferredAggregationMethod(value: null | string): void

      Parameters

      • value: null | string

      Returns void

    • Gets the value of a named property. Binary data properties are returned as UInt8Array.

      Parameters

      • propertyName: string | String

        The property name.

      Returns unknown

      The value of the property.

      2.0

    • Checks if a property with a given name exists.

      Parameters

      • name: string | String

        The name of the property.

      Returns boolean

      true if the property exists; otherwise, false.

      The property value may still be undefined even if it exists.

      2.0

    • Sets the value of a named property. Setting a binary data property expects the value to be an UInt8Array.

      Parameters

      • propertyName: string | String

        The property name.

      • value: any

        The value to set.

      Returns void

      2.0