Jazz 1.25.+
Loading...
Searching...
No Matches
space.h
1/* Jazz (c) 2018-2026 kaalam.ai (The Authors of Jazz), using (under the same license):
2
3 1. Biomodelling - The AATBlockQueue class (c) Jacques BasaldĂșa, 2009-2012 licensed
4 exclusively for the use in the Jazz server software.
5
6 Copyright 2009-2012 Jacques BasaldĂșa
7
8 2. BBVA - Jazz: A lightweight analytical web server for data-driven applications.
9
10 Copyright 2016-2017 Banco Bilbao Vizcaya Argentaria, S.A.
11
12 This product includes software developed at
13
14 BBVA (https://www.bbva.com/)
15
16 3. LMDB, Copyright 2011-2017 Howard Chu, Symas Corp. All rights reserved.
17
18 Licensed under http://www.OpenLDAP.org/license.html
19
20
21 Licensed under the Apache License, Version 2.0 (the "License");
22 you may not use this file except in compliance with the License.
23 You may obtain a copy of the License at
24
25 http://www.apache.org/licenses/LICENSE-2.0
26
27 Unless required by applicable law or agreed to in writing, software
28 distributed under the License is distributed on an "AS IS" BASIS,
29 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30 See the License for the specific language governing permissions and
31 limitations under the License.
32*/
33
34
35#include "src/jazz_bebop/std_wrap.h"
36
37#if defined CATCH_TEST
38#ifndef INCLUDED_JAZZ_CATCH2
39#define INCLUDED_JAZZ_CATCH2
40
41#include "src/catch2/catch.hpp"
42
43#endif
44#endif
45
46
47#ifndef INCLUDED_JAZZ_BEBOP_SPACE
48#define INCLUDED_JAZZ_BEBOP_SPACE
49
50
51namespace jazz_bebop
52{
53
54typedef uint64_t RowNumber;
56
57#define SPACE_NOT_A_ROW 0xffffFFFFffffFFFE
58#define SPACE_ROW_STOP_ITERATOR 0xffffFFFFffffFFFF
59
60
61class Space;
62typedef Space *pSpace;
63
64
65class Space : public Tuple {
66
67 public:
68
69 // Service interface
70
71};
72
73//TODO: Clarify why space is a Service. Spoiler: It is not!
74//TODO: Clarify how spaces build a tree.
75//TODO: Clarify why we need singular/plural like collections of, because we want to have just one service for all the spaces at a level.
76//TODO: Think that in Bop, a space is something that accepts then [] and the '.' the latter being just a property of what is on its left:
77 // (E.g.: this.is.just.a.hierarchy.defining.some.path.on.a.tree)
78//TODO: Is row the appropriate abstraction? Is a space somehow always tabular? A row is a key
79
100} // namespace jazz_bebop
101
102#endif // ifndef INCLUDED_JAZZ_BEBOP_SPACE
Definition space.h:65
Tuple: A Jazz Block with multiple Tensors.
Definition tuple.h:94
A language to access any container by base using locators.
Definition base_api.cpp:39
Space * pSpace
Forward definition of Space.
Definition space.h:62
uint64_t RowNumber
A row number in a Space.
Definition space.h:54
Name ColumnName
A column name in a Space.
Definition space.h:55
char Name[NAME_SIZE]
A short identifier used in Blocks, Containers and API.
Definition types.h:188