HiLang 2.2.1
See the version list below for details.
dotnet add package HiLang --version 2.2.1
NuGet\Install-Package HiLang -Version 2.2.1
<PackageReference Include="HiLang" Version="2.2.1" />
<PackageVersion Include="HiLang" Version="2.2.1" />
<PackageReference Include="HiLang" />
paket add HiLang --version 2.2.1
#r "nuget: HiLang, 2.2.1"
#:package HiLang@2.2.1
#addin nuget:?package=HiLang&version=2.2.1
#tool nuget:?package=HiLang&version=2.2.1
HiLang
HiLang is a minimal high-level language to describe the schema of a domain, taking inspiration from protobuf (.proto models) for hierarchical structures and SQL DML for entities, relations and views.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FSharp.Core (>= 9.0.202)
- FsLexYacc (>= 11.3.0)
- FsLexYacc.Runtime (>= 11.3.0)
- Microsoft.CodeAnalysis.Analyzers (>= 3.11.0)
- Microsoft.CodeAnalysis.CSharp (>= 4.13.0)
- Nerdbank.GitVersioning (>= 3.7.115)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on HiLang:
Package | Downloads |
---|---|
Hiperspace.SQL
# Hiperspace.SQL Hiperspace.SQL is a full SQL query engine for Hiperspace, supporting the full range of joins, aggregations, and subqueries. Hiperspace.SQL provides the same query functionality as a .NET client can use with LINQ queries, but without the need to write code in C#/F# Hiperspace fully supports point-in-time "time travel" queries that are not possible with Python Data-Frames or DuckDB ## Features - Hiperspace.SQL is not limited to queries of columns within a table, but supports the full navigation of properties of Hiperspace elements - Where a column is a complex object it is returned as a JSON object - Executing a batch of SQL statements return columnar data frames (dictionary of column-name and array of values) - Explain SQL returns the execution plan, detailing the SetSPaces accessed and keys used for search (Key, Index, Scan) - The Parquet method returns a Parquet file that can be used with any Apache Parquet library, or added to DuckDB OLAP store |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
2.4.0 | 135 | 7/10/2025 |
2.3.8 | 130 | 7/1/2025 |
2.3.7 | 149 | 6/18/2025 |
2.3.4 | 142 | 6/5/2025 |
2.2.2 | 148 | 5/5/2025 |
2.2.1 | 197 | 4/14/2025 |
2.2.0 | 95 | 3/29/2025 |
2.1.9 | 209 | 3/5/2025 |
2.1.6 | 107 | 2/15/2025 |
2.1.0 | 109 | 1/24/2025 |
2.0.0 | 88 | 1/14/2025 |
1.3.9 | 129 | 11/15/2024 |
1.3.0 | 113 | 10/5/2024 |
1.2.18 | 152 | 9/15/2024 |
1.2.16 | 136 | 9/7/2024 |
1.2.15 | 124 | 9/1/2024 |
1.2.11 | 102 | 8/6/2024 |
1.2.9 | 99 | 7/26/2024 |
1.2.8 | 136 | 7/19/2024 |
1.2.6 | 113 | 7/15/2024 |
1.2.4 | 134 | 7/4/2024 |
1.2.0 | 137 | 5/30/2024 |
1.1.37 | 126 | 5/11/2024 |
1.1.34 | 122 | 4/22/2024 |
1.1.30 | 129 | 3/24/2024 |
1.1.26 | 146 | 3/14/2024 |
1.1.23 | 149 | 2/26/2024 |
1.1.22 | 141 | 2/16/2024 |
1.1.21 | 193 | 1/11/2024 |
1.1.19 | 167 | 1/1/2024 |
1.1.17 | 155 | 12/23/2023 |
1.1.11 | 150 | 12/16/2023 |
1.1.10 | 154 | 12/6/2023 |
1.1.7 | 150 | 11/30/2023 |
1.1.5 | 146 | 11/21/2023 |
1.0.14-prerelease | 182 | 8/6/2023 |
https://www.cepheis.com/hiperspace/20250414
# Overview
This release extends the `Hipperspace` model to better support streaming aggregation of Cube and viewing of aggregates part of graph view. It also updated `SessionSpace` to use stream replication rather than Zip file compression.
## Cube aggregation
Traditional [OLAP Cubes](https://en.wikipedia.org/wiki/OLAP_cube) do not include the notion of history unless includes as a dimension in the cube, and are either calculated
1. *Multidimensional* cubes recalculated each night
2. *Relational* cubes are translated into the SQL queries that aggregate at a point in time from source data
3. *Hybrid* cubes combine an overnight batch with intraday *relational* updates
Hiperspace includes history for element stored in `Hiperspace` with access to the full history of the element. Cube data is not overwritten whenever a value is changed intraday, but a new version is created. This allows a point-in-time view of a `SubSpace` to be opened, or history to be used for regression analysis over time (*A portfolio/book view can be aggregated in a cube and trend-line examined as the data changes*). Traditionally the value of the latest summary (e.g. total-sales per product) is discounted by the frequency it is examined (*you wouldn't want to calculate a per-minute summary for a product if you only analyze it once a day*) and the cost of recalculating it each night if only reviewed at month end.
When you add the capability for regression analysis, the value of each observation increases: we presume that historical values will be re-used many times, and calculate the projection for fast access to data.
### Stream aggregation
`Hiperspace` uses Delta indexes to fast access to changes within a short epoch, and version history to calculate the delta from the last epoch. The a price change to APPL.N stock will only update the portfolio that reference this stock, and not require the reaggregation of the entire portfolio (if APPL.N changes from $300 to $290 for a portfolio of 100 shares, the value of the portfolio changes by $-900, which is added to the current portfolio value) . Point-in-time `AsAt` views of the `SubSpace` are used to perform aggregation *concurrently* with other changes (*which will be included in the next epoch calculation*) without degradation to performance.
### code changes
Additional interfaces are added for runtime access to Cube data:
* **CubeDimension** property of a {`entity`, `segment`, `aspect`} now includes an `ICubeDimension` interface that includes the *CubeSlice* string (used to directly access the summary value for a cube node, without retriveing intersection with other dimensions
* **CubeHierarchy** property to indicate that the dimension is part of a hierarchy and aggregates for levels in the hierarchy should be calculated in addition to the leaf values
* **CubeFact** property of of a {`entity`, `segment`, `aspect`} now includes `ICubeFact` for the fact table, and includes methods to add dimensions and retrieve values generically.
These methods enable cube data to be viewed as part of graph view. When a *Cube Dimension* is a graph node, a `Node` view is added *fact table* with two edges *Dimension*-(Fact)->*Fact* for traversal from dimennsion to fact, and *Fact*-(Dimension)->*Dimension* for traversal from Fact to the Dimension.
For example, a Cube of Transactions with dimensions {Customer, Product, Region}, the addition of *Fact Nodes* creates transitive edges for {Customer->Product, Customer->Region, Product->Region} via transaction fact. When combined with *Transitive Edges* (*Hyper Edges*) it becomes possible to view to Cube data through a graph view in a [Hypergraph](https://en.wikipedia.org/wiki/Hypergraph).
For the Customer "British Steel" (*Client Node*), and "Coking Coal" (*Product Node*) the Quantity Fact contains the total available ( "British Steel" -> "Coking Coal" -> Quantity Edge), and ( "British Steel" -> "Coking Coal" -> "Scunthorpe" -> Quantity Edge) references only the total currently in that region.
[image]Sites/hiperspace/cube-edge.png[/image]
## Transitative Edge becomes Hiper Edge
The name of `SetSpace` `TransitiveEdge` has been changed to `HiperEdge` better distinguish Graph Edges that are transitively projected as Hiper-edges, from edges that might themselves be transitive without being projected. This **breaking change** is used because Hiper-Edges can be viewed as *Cube edges* where each step in a *Cube Edge* is also a drill-down into the dimensions of a **Cube** for the dimensions in the hipergraph.
`HiperEdge` is used instead of the mathematically correct *hyper-edge* (within a [Hyper-Graph](https://en.wikipedia.org/wiki/Hypergraph) because our implementation explicitly includes the references to the *Hiper Edge* (extended) and *Edge* (projected): The inclusion of the path enables the identification of each *Dimension* and `CubeSlice` referenced
## Hiperspace.DB
`Hiperspace.DB` provides functionality to project *Edge* to *HiperEdge*, and aggregate *Fact Cubes* close to the data without network access - especially important for web-assembly clients that may be accessing the `Hiperspace` over the internet.
*Edges*, *HiperEdges* and *Facts* can be used in SQL queries (our implementation of SQL allows joins to nested sets (syntax appears as a cross-join since the actual join is created by ownership).
```
select p.Name as Person,
r.To.Name as Relation,
r.TypeName as Relationship,
r.Length as Length,
r.Width as Width
from Persons as p,
p.AllRelatives as r
where p.Name = :name;
```
## SessionSpace
`HiperSpace` has additional streaming methods for `ExportAsync` and `ImportAsync` for bulk data import, but also for `SessionSpace` which might exceed message sizes when saving a large amount of data over the internet. The legacy `Space()` function has is now `[Obsolete]`, and will be removed in a future release
## Hilang
The Hilang AOT compiler has been updated to provide the implementation for the `ICubeDimension` and 'ICubeFact` views.