Edit

Share via


Projection

A projection provides the ability to define a set of operations to dynamically manipulate a logical definition. For a in-depth explanation about how projections work refer to this page.

public class CdmProjection extends CdmObjectDefinitionBase

CdmProjection extends CdmObjectDefinition in Python.

Constructors

Name Description
CdmProjection(CdmCorpusContext)
ctx: The corpus context.
Initializes a new instance of the CdmProjection class.

Properties

Name Type Description
Condition string A string condition that is evaluated at runtime to determine if the operations will run or not. If the condition evaluates to false, the operations will not run and the attributes coming from the source are the result of the projection.
Operations List<CdmOperationBase> A list of operations that composes this projection.
RunSequentially bool If true, runs the operations sequentially so each operation receives the result of the previous one. Otherwise, all operation will receive the same attribute set which comes from the source property.
Source string The data type's name.

Methods

Name Description Return Type
GetName() See CdmObjectDefinition.GetName(). string
IsDerivedFrom(string, ResolveOptions) See CdmObject.IsDerivedFrom(...). bool
Copy(ResolveOptions, CdmObject) See CdmObject.Copy(...). CdmObject
Validate() See CdmObject.Validate(). bool