ColumnExpression Class TIBCO Spotfire 7.6 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: 25.11.10401.3615 (25.11.10401.3615)
Syntax

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

The ColumnExpression type exposes the following members.

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.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetExpressionReturnType
Get the result type for the given expression using the columns in the specified table.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
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
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference