Skip to main content

Types

Version: 2.0.8

AggregationRtQuery

Inheritance: System-2.0.8/Entity-1System-2.0.8/PersistentQuery-1System-2.0.8/AggregationRtQuery-1

Query type for performing aggregation operations (Count, Min, Max, Avg, Sum) on entity data without grouping.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/AggregationQueryColumnsFalse
System-2/Query.FieldFilterTrue
System-2/Query.TextSearchFilterTrue
System-2/Query.AttributeSearchFilterTrue

AutoIncrement

Inheritance: System-2.0.8/Entity-1System-2.0.8/AutoIncrement-1

Manages auto-incrementing sequences for generating unique identifiers with configurable format and range.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/AutoIncrement.EndFalse
System-2/AutoIncrement.FormatTrue
System-2/AutoIncrement.CurrentValueFalse

Configuration

Inheritance: System-2.0.8/Entity-1System-2.0.8/Configuration-1

Base type for all configuration types

Entity

Inheritance: System-2.0.8/Entity-1

Abstract base type for all entities in the system. Provides common indexing and association capabilities.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/RtBlueprintSourceTrue
System-2/RtBlueprintLockedTrue
System-2/RtBlueprintAppliedAtTrue

Outbound Associations

Outbound NameOutbound MultiplicityCkRoleIdTargetCKTypeIdTarget Attributes
RelatesToNSystem-2/RelatedSystem-2/Entity

Inbound Associations

Inbound NameInbound MultiplicityCkRoleIdTargetCKTypeIdTarget Attributes
RelatesFromNSystem-2/RelatedSystem-2/Entity

GroupingAggregationRtQuery

Inheritance: System-2.0.8/Entity-1System-2.0.8/PersistentQuery-1System-2.0.8/GroupingAggregationRtQuery-1

Query type for performing grouped aggregation operations with GROUP BY functionality on entity data.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/Query.GroupByColumnsFalse
System-2/AggregationQueryColumnsFalse
System-2/Query.FieldFilterTrue
System-2/Query.TextSearchFilterTrue
System-2/Query.AttributeSearchFilterTrue

MigrationHistory

Inheritance: System-2.0.8/Entity-1System-2.0.8/MigrationHistory-1

Records executed CK model migrations per tenant. Each instance represents one migration execution from a source version to a target version.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/MigrationHistory.CkModelNameFalse
System-2/MigrationHistory.FromVersionFalse
System-2/MigrationHistory.ToVersionFalse
System-2/MigrationHistory.ExecutedAtFalse
System-2/MigrationHistory.SuccessFalse
System-2/MigrationHistory.EntitiesAffectedTrue
System-2/MigrationHistory.EntitiesAddedTrue
System-2/MigrationHistory.EntitiesUpdatedTrue
System-2/MigrationHistory.EntitiesDeletedTrue
System-2/MigrationHistory.DurationMsTrue
System-2/MigrationHistory.ErrorsTrue
System-2/MigrationHistory.WarningsTrue
System-2/MigrationHistory.BackupIdTrue

PersistentQuery

Inheritance: System-2.0.8/Entity-1System-2.0.8/PersistentQuery-1

Abstract base type for all query types. Defines common query properties like name, description, and target type.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/NameFalse
System-2/DescriptionTrue
System-2/Query.CkTypeIdFalse
System-2/Query.NavigationFilterModeTrue

SimpleRtQuery

Inheritance: System-2.0.8/Entity-1System-2.0.8/PersistentQuery-1System-2.0.8/SimpleRtQuery-1

Query type for retrieving rows/tuples from entities with support for column selection, sorting, and filtering.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/Query.ColumnsFalse
System-2/Query.SortingTrue
System-2/Query.FieldFilterTrue
System-2/Query.TextSearchFilterTrue
System-2/Query.AttributeSearchFilterTrue

StreamDataAggregationQuery

Inheritance: System-2.0.8/Entity-1System-2.0.8/PersistentQuery-1System-2.0.8/StreamDataAggregationQuery-1

Persistent query that performs aggregation operations (Count, Min, Max, Avg, Sum) on time-series stream data from CrateDB without grouping.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/AggregationQueryColumnsFalse
System-2/StreamDataQuery.RtIdsTrue
System-2/StreamDataQuery.FromTrue
System-2/StreamDataQuery.ToTrue
System-2/StreamDataQuery.LimitTrue
System-2/Query.FieldFilterTrue

StreamDataDownsamplingQuery

Inheritance: System-2.0.8/Entity-1System-2.0.8/PersistentQuery-1System-2.0.8/StreamDataDownsamplingQuery-1

Persistent query that downsamples time-series stream data from CrateDB using DATE_BIN bucketing with per-column aggregation (AVG, MIN, MAX). Requires From, To, and Limit (bucket count).

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/AggregationQueryColumnsFalse
System-2/StreamDataQuery.RtIdsTrue
System-2/StreamDataQuery.FromFalse
System-2/StreamDataQuery.ToFalse
System-2/StreamDataQuery.LimitFalse
System-2/Query.FieldFilterTrue

StreamDataGroupingAggregationQuery

Inheritance: System-2.0.8/Entity-1System-2.0.8/PersistentQuery-1System-2.0.8/StreamDataGroupingAggregationQuery-1

Persistent query that performs grouped aggregation operations with GROUP BY functionality on time-series stream data from CrateDB.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/Query.GroupByColumnsFalse
System-2/AggregationQueryColumnsFalse
System-2/StreamDataQuery.RtIdsTrue
System-2/StreamDataQuery.FromTrue
System-2/StreamDataQuery.ToTrue
System-2/StreamDataQuery.LimitTrue
System-2/Query.FieldFilterTrue

StreamDataSimpleQuery

Inheritance: System-2.0.8/Entity-1System-2.0.8/PersistentQuery-1System-2.0.8/StreamDataSimpleQuery-1

Persistent query that retrieves time-series stream data from CrateDB for a given CK type with optional RtIds scope, time filtering, and field filters.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/StreamDataQuery.ColumnsFalse
System-2/StreamDataQuery.RtIdsTrue
System-2/StreamDataQuery.FromTrue
System-2/StreamDataQuery.ToTrue
System-2/StreamDataQuery.LimitTrue
System-2/Query.SortingTrue
System-2/Query.FieldFilterTrue

Tenant

Inheritance: System-2.0.8/Entity-1System-2.0.8/Tenant-1

Represents a tenant in the multi-tenant system with its unique identifier, parent relationship, and database mapping.

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/TenantIdFalse
System-2/ParentTenantIdTrue
System-2/DatabaseNameFalse

TenantConfiguration

Inheritance: System-2.0.8/Entity-1System-2.0.8/Configuration-1System-2.0.8/TenantConfiguration-1

Configuration for a tenant regarding data version of schema or identity data

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/ConfigurationValueTrue

TenantModeConfiguration

Inheritance: System-2.0.8/Entity-1System-2.0.8/Configuration-1System-2.0.8/TenantModeConfiguration-1

Configuration for a tenant if the tenant is in a specific mode, e.g. test mode or maintenance mode

IDAuto Complete ValuesAuto Increment ReferenceIs Optional
System-2/EnvironmentModeFalse
System-2/MaintenanceLevelFalse