2.2.5.6 Partition Object
The Partition object represents a partition in a table. It is a child of a Table object. The partitions in a table define the data from external data sources that become available when the table is queried.
The Partition object has the following properties.
Name |
Type |
Description |
---|---|---|
ID |
unsignedLong |
A reference to the object. |
TableID |
unsignedLong |
An ID-based reference to a Table object. |
Name |
string |
The name of the object. |
Description |
string |
The description of the object. |
DataSourceID |
unsignedLong |
An ID-based reference to a DataSource object. |
QueryDefinition |
string |
The text of the query to be executed when populating data into the partition. |
State |
enumeration |
A value that provides information about the state of the partition. The possible values and their interpretation are as follows:
|
Type |
enumeration |
The type of partition. The possible values are as follows:
|
PartitionStorageID |
unsignedLong |
An ID-based reference to a PartitionStorage object. The PartitionStorage object is reserved for internal use only. |
Mode |
enumeration |
Defines the method for making data available in the partition. The possible values are as follows:
|
DataView |
enumeration |
The value that determines which partitions are selected for use in queries that are run against the Model object. The possible values are as follows:
|
ModifiedTime |
dateTime |
The time that the object was last modified. |
RefreshedTime |
dateTime |
The time that the object was last refreshed. |
SystemFlags |
long |
A bitmask used to identify the type of object. The possible values are as follows:
|
ErrorMessage |
string |
The string that explains the error state associated with the current object. It is set by the engine only when the state of the object is one of these three values: SemanticError, DependencyError, or EvaluationError. This element applies only to partitions of the type Calculated. |
RetainDataTillForceCalculate<43> |
boolean |
A Boolean that indicates whether a calculated partition is allowed to contain data that is not affected by a RefreshCalculate command when only data changes have been made. Compatibility level 1400 or higher is required. |
QueryGroupID<44> |
unsignedLong |
An ID-based reference to a QueryGroup object. Compatibility level 1500 or higher is required. |
ExpressionSourceID<45> |
unsignedLong |
An ID-based reference to an Expression object. Compatibility level 1600 or higher is required. |
MAttributes<46> |
string |
A set of optional properties that can be used to define the literal attributes on the section members of the M queries. This set of properties is meaningful only if the type of the partition is M. Compatibility level 1600 or higher is required. |