ColumnExpression Class

Spotfire 14.3 API Reference
This is a handle to a column expression. This class is created by the factory methods Create(String), and can be used to retrieve information about the components of the column expression.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Data.ExpressionsAbstractExpression
    Spotfire.Dxp.Data.ExpressionsColumnExpression

Namespace:  Spotfire.Dxp.Data.Expressions
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
[SerializableAttribute]
[NotPersistedAttribute]
public sealed class ColumnExpression : AbstractExpression

The ColumnExpression type exposes the following members.

Properties

  NameDescription
Public propertyAlias
Get the alias (name) of the calculated column if there is an AS part of the column expression.
Public propertyColumnNames
Get the names of all column names referenced in the expression.
Public propertyErrorDisplayMessage
Get the localized error message if the expression is invalid, null otherwise.
Public propertyErrorExpression
Get the expression that could not be parsed if it exists, if the expression is valid then this property is null.
Public propertyErrorMessage
Get the error message if the expression is invalid, null otherwise.
Public propertyExpression
Gets the expression as a string. This would exclude any alias (name) statement.
Public propertyHierarchyNames
Get all hierarchy names referenced in the expression.
Public propertyIsValid
True if the expression is valid, false otherwise.
Public propertyMethodNames
Get the names of all the methods which are referenced in the expression.
Top
Methods

  NameDescription
Public methodClone
Clone the expression.
Public methodContainsAggregationMethod
Checks if column expression contains an aggregation method.
Public methodStatic memberCreate
Parse a column expression and return a ColumnExpression.
Public methodStatic memberCreateFromPlotExpression
Parse a custom expression that can be used on plots and return a list of ColumnExpressions.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetExpressionReturnType
Get the result type for the given expression using the columns in the specified table.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodQualifyNames
Make sure that all column/hierarchy references in the query are fully qualified.
Public methodRenameColumn
Rename all column references from oldName to newName.
Public methodRenameHierarchy
Rename all hierarchy references from oldName to newName.
Public methodToString
Get a string representation of the column expression.
(Overrides ObjectToString.)
Public methodValidate
Validates if the column expression is valid in the given DataTable context.
Top
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference