-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
836 lines (712 loc) · 30.6 KB
/
index.html
File metadata and controls
836 lines (712 loc) · 30.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="iboxdb,android,xamarin,unity,acid,nosql,database,transaction,java,mono,embedded,mvcc,keyonly,document,blazor,mysql,mongodb,sqlite,fast,net,db,c#">
<meta name="description" content="fast lightweight ACID embedded table style document NoSQL database for java .net android unity xamarin mono blazor c# linux windows">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="bookmark" href="favicon.ico" />
<title>iBoxDB Pure Java .NET ACiD Embedded NoSQL Database</title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="highlight/styles/vs.css">
</head>
<body>
<!-- HEADER -->
<div id="header_wrap" class="outer" style="border-bottom-style: solid; border-bottom-width: medium; border-bottom-color: #33CC00;">
<header class="inner">
<div id="logo"></div>
<h1 id="project_title">iBoxDB</h1>
<h1 id="project_title_h1"> e^d = Ne^(Kd) </h1>
<h2 id="project_title_h2"><div>
cos { (1/2) ( y^(1/d) + (y^(-1/d)) ( 1 - (1-y)^(2/d) ) ) } <br>
projection { x = x*cos( a ) + k*cos( XtoK + a ) } <br>
geo - helio - entropycentrism - triocentrism<br>
0^0-e-LD-time-WE-light-HD; e^(d+1) = Ne^(d+ln(e/N)) <br>
|C| = |e^(Xi)|; time = e^(Xi) - e^(0i) <br>
Ct = P = Ct'; t' = tk, Ctk = P' <br>
( -V + C )cos( y, d1 ) = C = ( V + C )cos( y, d2 ) <br>
Ft = L = F't'; F'=(-F); t'=0-t, t=0-t'; dipolar events.<br>
F' = ma' = m(V1-V0)/1 = m(C-V0) = observer deviation.<br>
each time one eats, the fate changed a bit. <br>
before time were clouds, life was born at first glance. <br>
F = [LD,WE,HD] = Rainbow Gravity. <br>
d(C^2) = d( V(x,y,z)V(x,y,z) ) = V(x,y,z)A(x,y,z) = 0, <br>
all movement have orthogonal acceleration. <br>
curvature = F(A) / F(V) = F(A)/1 = orthogonal force. <br>
board a plane on the air to another speedtime. <br>
Twins: P = mV = (m0, V0) + (m1, V1) - (m2, -V2). <br>
use Twins to build High-Time and Low-Time, <br>
to mitigate Light-Time and Mass. <br>
reverse current middled in Coil to build Twins-photon,<br>
norms of U-D surfaces outward to get zero field solid. <br>
electrons are pinned in orbits to make solid flow in light. <br>
dark-solid has different orbits, anti-solid backs in time. <br>
b-field = relative movement, twist b-field = movement. <br>
{ dot( V, curl(E) ) = dot( E, curl(V) ) } = DNA of Ether. <br>
cos(ratio,volume) of speedtime. <br>
leaving increases speed, closing increases time. <br>
curl(B) = (dE / dt) / (C^2) .. (C^2)curl(B) = curl(B+A), <br>
movement is self-repairing design of being. <br>
the goal of design is everything backs to origin.
</div></h2>
<h2 id="project_tagline">Fast ACID Table-Style Document NoSQL Database</h2>
<div id="downloads">
<a href="iboxdb-java-csharp-embedded-nosql-database.html#nosql_download">DOWNLOAD</a>
</div>
</header>
</div>
<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<!-- key words -->
<div style="width: 1px; height: 1px; overflow: hidden">
Application NoSQL Database small footprint makes it easier and cheaper to store and process data.
Thread-Safe best lightweight general purpose Java .NET Local ACID database.
NoSQL Embedded Document Database Engine Java C# Mono Android ASP.NET Core.
fast lightweight ACID embedded table style document NoSQL database for java c# android unity xamarin mono blazor .net core linux windows.
In Memory and On Disk Mobile Database,
Java C# Local Serverless NoSQL Storage, with SQL Document Table.
embedded database server cross-platform development.
support Blazor to store data on server or client. and can post database from client to server when online.
lightweight serverless database best NoSQL database embedded for java .net c# android stable standalone DB.
Local Database Lightweight self-contained database Cross Platform for Linux and Mac and Win.
</div>
<br>
<h3>Description</h3>
<div>
<p>iBoxDB is a fast acid table-style document NoSQL Embedded Database, easily store objects and documents, traditional table with unstructured data, zero configuration, pure JAVA and DotNET engines, no dependencies.</p>
<p>
iBoxDB has a well designed interface with great performance and capability for agile development. You can create applications with database services embedded and deploy it on mobiles, desktops, servers,
to locally persist your data from anywhere.
</p>
<p> <strong>Green</strong>, low carbon emission!</p>
<p>
Dual Core Application Database
<br />
For JAVA C# Android Unity Xamarin Mono Linux Windows
</p>
</div>
<h3>Features</h3>
<ul>
<li>CRUD and Forward CRUD</li>
<li>KeyValue and KeyOnly tables</li>
<li>Unique and non-unique indexes</li>
<li>Unique and non-unique composite indexes</li>
<li>SQL like query language</li>
<li>Transactions support</li>
<li>Concurrency control, thread safe</li>
<li>Multiple applications supported</li>
<li>Memory management</li>
<li>Programmable replication</li>
<li>Hot mirror copy</li>
<li>On disk and in memory databases supported</li>
<li>Automatically create databases</li>
<li>Zero configuration, copy and run, purely managed code</li>
<li>Dynamic columns</li>
<li>Prototype columns</li>
<li>Different types with different indexes can be stored in same table</li>
<li>Persistence + ORM + Cache + Embeddable, ONE STOP solution</li>
<li>Ason, Array Script Object Notation</li>
<li>High performance, no dependencies</li>
<li>Transaction Huggers</li>
<li>Directly Select</li>
<li>Update Increment</li>
<li>Selecting Tracer</li>
<li>Snapshot-Serializable Isolation</li>
<li>Benchmark Anytime</li>
<li>JAVA6+ .NET2+</li>
</ul>
<div>
<h3 id="Examples">Examples, CSharp and Java</h3>
<h4>Each box is an ISOLATED data space (transaction-based)</h4>
<div>
<pre><code class="cs"> using(var box = auto.Cube())
{
//select, insert, update, delete ...
//replace()=(insert or update)
CommitResult cr = box.Commit();
}
</code></pre>
<br />
<pre><code class="java"> try(Box box = auto.cube()){
...
CommitResult cr = box.commit();
} </code></pre>
</div>
as above, <b>box</b> is method's local variable, don't define as global variable.
one box for one delivery. <b>AutoBox</b> can be defined globally in single application.
<br />
<br />
<h5>Advertising</h5>
<div>
Digital life starts here, record every parameter guided to memorable moment.
</div>
<br />
<h5>Normal Object</h5>
<div>
<pre><code class="cs"> Member m = new Member();
m.Id = box.NewId();
m.Name = "Andy";
m.Password = EncodePassowrd("123");
box["Member"].Insert(m);
</code></pre>
<br />
<pre><code class="java"> Member m = new Member();
m.Id = box.newId();
m.Name = "Kevin";
box.d("Member").insert(m); </code></pre>
</div>
<br />
<h5>Dynamic Object (document database)</h5>
<div>
<pre><code class="cs"> //Game : Dictionary<string, object>
game["GameType"] = "ACT";
box["Product"].Insert(game);
</code></pre>
<br />
<pre><code class="java"> //Game extends HashMap<String,Object>
game.put("GameType", "ACT");
box.d("Product").insert(game); </code></pre>
</div>
<br />
<h5>Key Value Style Query</h5>
<div>
<pre><code class="cs"> box["Table", 2L].Select<Member>();
//Composite Key
box["Table2", 99, "ABC"].Select<Product>();
</code></pre>
<br />
<pre><code class="java"> box.d("Table", 3L).select(Member.class);
//Composite Key
box.d("Table2", 88, "ABC").select(Product.class); </code></pre>
</div>
<br />
<h5>Composite Key Supported</h5>
<pre><code class="java"> config.ensureTable(Item.class, "Item", "UID", "Type")</code></pre>
<img src="images/compositekey.png" alt="Database Composite Key" />
<br />
<h5>SQL Like</h5>
<div>
<pre><code class="cs"> /*
from TABLE where A>? & B<=? order by C limit 0,10
from [table] where [condition]
order by [field1] desc,[field2] limit [0,10]
[Condition:] == != < <= > >= & | ( )
*/
box.Select<Member>("from Member where Name==?", "MyName");</code></pre>
<pre><code class="java"> box.select(Member.class, "from Member where Name==?", "MyName"); </code></pre>
</div>
<br />
<h5>Query</h5>
<pre><code class="cs"> //query
box.Select("from Member"); </code></pre>
<h5>Query Options</h5>
<pre><code class="cs"> //load to memory first, startswith '*'.
//because the OS has read-ahead setting,
//normally don't need to load first.
box.Select("*from Member");
//selecting tracer, startswith '!'
box.Select("!from Member"); </code></pre>
<br />
<h5>Weak Object</h5>
<pre><code class="java"> //Strongly typed
box.select("from Table where Id > ?" , 1L);
//Weak Object
box.select("from Table where Id > ?" , new Variant("1")); </code></pre>
<br />
<h5>Index, make Select hundred times faster in average</h5>
<pre><code class="cs"> //Index
config.EnsureIndex<Member>("Member", "Field1")
config.ensureIndex(Member.class, "Member", isUnique,"Field1")</code></pre>
<pre><code class="cs"> //Composite-Index
config.EnsureIndex<Member>("Member", "Field1","Field2")
config.ensureIndex(Member.class, "Member", isUnique,"Field1","Field2")</code></pre>
<pre><code class="cs"> //Both can speed up Search, free to choose one of them.
//only one Index will be selected in one Search,
//adding both to one Search will waste.
//Index is generic, and fast enough.
//Composite-Index mostly used in equal-and-equal scenario
box.Select("from Member where Field1 == ? & Field2 == ?",arg1,arg2)</code></pre>
<br />
<pre><code class="cs"> //Id on the Left would faster in many cases
box.Select("from Member where Id == ? & Field == ?",id,arg)
//Key is primary Index, can create composite Index with Key
//but Key is unique, the second field is rarely used
config.EnsureIndex(..., "Id","Field")
//switch the order might help in some cases
config.EnsureIndex(..., "Field","Id")
//see detail of Array comparison
//KeyValue databases always have Key</code></pre>
<br />
<pre><code class="cs"> //combining Results would faster than OR,
//depends on the scale of dataset and corresponded Index configure.
//where Id == ? | Id == ? | Id == ?
foreach(var id in [ 1, 2, 3 ])
combiner.Add( box.Select("from Member where Id == ?",id) )</code></pre>
<br />
<h5>Custom QueryFunction</h5>
<div>
<pre><code class="cs"> box.Select<Member>("from Member where [Tags]", new IFunction("Value"))</code></pre>
</div>
<br />
<h5>Custom Object Table Binding</h5>
<div>
<pre><code class="cs"> public bool Insert(Member m){
return auto.Insert(nameof(Member), m);
}</code></pre>
</div>
<br />
<h5>Nested Columns</h5>
<div>
<pre><code class="java"> // Flatten nested Columns
// obj.site.name = _name;
obj.site_name = "Leibniz";</code></pre>
</div>
<br />
<h5>Compatible with LINQ (.NET)</h5>
<div>
<pre><code class="cs"> from o in box.Select<Member>("from Member")
where o.Text.Contains(text) select o;</code></pre>
</div>
<br />
<h5>Compatible with Stream (Java)</h5>
<div>
<pre><code class="java"> StreamSupport
.stream(box.select(Member.class,"from Member").spliterator(), true)
.collect(groupingBy(m -> m.group, summarizingLong(m -> m.value)))</code></pre>
</div>
<br />
<h5>Ason and Prototype Columns</h5>
<div>
<pre><code class="java"> //define prototype, Id is Long
Ason prototype = new Ason("Id:", 0L, "Name:", "Guest");
Ason record = prototype.select();
//set Id as String,
record.set("Id", "123");
//will automatically convert to Long as the prototype
System.out.println("Output: " + record.get("Id").getClass());
//Output: class java.lang.Long
</code></pre>
</div>
<br />
<h5>Hot Mirror Copy</h5>
<div>
<pre><code class="cs"> auto.GetDatabase().CopyTo(bakAddr, bakRoot, buffer);
.CopyTo(bakAddr, bakRoot, buffer, new_mask_key_128000='!!NULL'); </code></pre>
</div>
<br />
<h5>Directly Select</h5>
<div>
<pre><code class="cs"> //Select records from a samll file directly
//without initializing database
IEnumerable records = DB.Select(fileAddress) </code></pre>
</div>
<br />
<h5>Transaction Huggers</h5>
<div>
<pre><code class="cs"> //Three transactions committed together
long huggersBuffer = 1024L * 1024L * 32L;
box1.Commit(huggersBuffer);
box2.Commit(huggersBuffer);
box3.Commit(); </code></pre>
</div>
<br />
<h5>Programmable Replication</h5><div>
<pre><code class="java"> //Master-Master
BoxData.masterReplicate();
//Master-Slave
BoxData.slaveReplicate();</code></pre>
</div>
<br />
<h5>Snapshot-Serializable Transaction</h5>
<table style="width: 100%">
<tr>
<th>Transaction Step</th>
<th>Isolation Level</th>
</tr>
<tr>
<td>Application Point</td>
<td>Snapshot</td>
</tr>
<tr>
<td>Database Point</td>
<td>Serializable</td>
</tr>
</table>
<pre style="margin: 0px; padding: 0px;"><code class="cs">using(var box = auto.Cube()){
//Snapshot...
box.Commit( ()=>{
//Serializable...
});
}</code></pre>
<br />
<h5>Update Increment</h5>
<table style="width: 100%">
<tr>
<th> </th>
<th style="font-weight: bold">Update Increment</th>
<th>Auto Increment</th>
</tr>
<tr>
<td>Apply To</td>
<td>index</td>
<td>key</td>
</tr>
<tr>
<td>Trigger</td>
<td>insert / update</td>
<td>insert</td>
</tr>
<tr>
<td>Type</td>
<td>long</td>
<td>number</td>
</tr>
<tr>
<td>Value From</td>
<td>database newId (MaxPos,1)</td>
<td>table max (ID)+1</td>
</tr>
<tr>
<td>Generator Time</td>
<td>serializable transaction commit</td>
<td>data insert, differed from commit order</td>
</tr>
</table>
<br />
<h5>Selecting Tracer</h5>
<table style="width: 100%">
<tr>
<th ></th>
<th style="font-weight: bold">Tracer</th>
<th >Locker</th>
</tr>
<tr>
<td >Thread</td>
<td>non-blocked</td>
<td>blocked</td>
</tr>
<tr>
<td>Usage</td>
<td>read / write different records</td>
<td>read / write same record</td>
</tr>
</table>
<br />
<h5>IO</h5>
<table style="margin: 0px; padding: 0px; width: 100%">
<tr>
<th>IO</th>
</tr>
<tr>
<td style="margin: 0px; padding: 0px; vertical-align: top;">
<pre style="margin: 0px; padding: 0px;"><code class="cs"> <b>BoxFileStreamConfig</b>
BoxMemoryStreamConfig
ReadonlyStreamConfig
CacheStreamConfig </code></pre>
</td>
</tr>
</table>
<br />
<h5>Database Path</h5>
C# & JAVA, <strong>place outside IDE working directory</strong> can get better performance
<pre><code class="cs">//different path has hugely different writing speed on VM.
//Create Directory before putting DB inside.
//new File(path).mkdirs();
//Directory.CreateDirectory(path)
IBoxDB.LocalServer.DB.Root("/data/") </code></pre>
Add this Database Path as Exclusion into Scan-System to get higher performance,
for example, System Defender.
<br /><br />
ASP.NET Cross Platform
<pre><code class="cs">DB.Root(MapPath("~/App_Data/"))</code></pre>
<br />
Xamarin
<pre><code class="cs">DB.Root(System.Environment.GetFolderPath(
System.Environment.SpecialFolder.LocalApplicationData/Personal))</code></pre>
<br />
Unity3D
<pre><code class="cs">DB.Root(Application.persistentDataPath)</code></pre>
<br />
Android
<pre><code class="java">DB.root(android.os.Environment.getDataDirectory()
.getAbsolutePath() + "/data/" + packageName + "/") </code></pre>
<br />
JSP WebApplication
<pre><code class="java">@WebListener()
public class StartListener implements ServletContextListener {
@Override
public void contextInitialized(ServletContextEvent sce) {
String path = System.getProperty("user.home") + "/data/";
new File(path).mkdirs();
DB.root(path);
}
} </code></pre>
<br />
Godot
<pre><code class="xml"><PackageReference Include="iBoxDB" Version="" />
var dir = Godot.OS.GetUserDataDir();
dir = Path.Combine(dir, "DBROOT");
Directory.CreateDirectory(dir);
DB.Root(dir)</code></pre>
<br />
jMonkeyEngine
<pre><code class="java">File dir = JmeSystem.getStorageFolder(StorageFolderType.Internal);
dir = new File(dir, "ProjectName");
dir = new File(dir, "DatabaseName");
dir.mkdir();
DB.root(dir.getAbsolutePath()); </code></pre>
<br />
<h5>Getting Started</h5>
<pre><code class="cs"> using IBoxDB.LocalServer;
var db = new DB();
db.GetConfig().EnsureTable<Record>("Table", "Id");
AutoBox auto = db.Open();
auto.Insert("Table", new Record { Id = 1L, Name = "Andy" });
var record = auto.Get<Record>("Table", 1L);
record.Name = "Kelly";
auto.Update("Table", record);
auto.Delete("Table", 1L); </code></pre>
<br />
<pre><code class="java"> import iboxdb.localserver.*;
DB db = new DB();
db.getConfig().ensureTable(Record.class, "Table", "Id");
AutoBox auto = db.open();
auto.insert("Table", new Record(1L, "Andy"));
Record record = auto.get(Record.class, "Table", 1L);
record.Name = "Kelly";
auto.update("Table", record);
auto.delete("Table", 1L); </code></pre>
<br />
<h5>Memory Usage</h5>
<pre><code class="java"> DatabaseConfig cfg = db.getConfig();
//Cache Memory, set less 1/3 total
cfg.CacheLength = cfg.mb(1024L);
//Mobile Device 64MB
cfg.CacheLength = cfg.mb(64L);
//Read Pool, set <b>8+</b> to low Cache machine
cfg.ReadStreamCount = 8;
//Write Pool, set <b>4-</b> to low Cache machine
cfg.WriteStreamCount = 1;</code></pre>
<br />
<h5>Install</h5>
<pre><code class="cs">.NET: Add NETDB/iBoxDB.DLL to Project</code></pre>
<pre><code class="java">Java: Add JavaDB/iboxdb.jar to Project</code></pre>
<br />
<h5>Benchmark with MySQL</h5>
<pre><code class="sql">iBoxDB
Insert: 1,000,000 AVG: 47,016 objects/s
Update: 1,000,000 AVG: 25,558 objects/s
Delete: 1,000,000 AVG: 42,714 objects/s
MySQL
Insert: 1,000,000 AVG: 5,514 objects/s
Update: 1,000,000 AVG: 5,109 objects/s
Delete: 1,000,000 AVG: 6,044 objects/s
</code></pre>
<br />
<h5>Benchmark Anytime</h5>
Locally benchmark the whole Application before every publishing as you wish.
No expensive request units (RU/s).
<br />
<br />
<h5>Supported Types</h5>
<table style="margin: 0px; padding: 0px; width: 100%;">
<tr>
<th >.NET </th>
<th >JAVA </th>
</tr>
<tr>
<td style="margin: 0px; padding: 0px; vertical-align: top;">
<pre style="margin: 0px; padding: 0px; font-size:13px"><code class="diff"> bool
char
byte
sbyte
short
ushort
int
uint
long
ulong
float
double
decimal
DateTime
Guid
bool?
char?
byte?
sbyte?
short?
ushort?
int?
uint?
long?
ulong?
float?
double?
decimal?
DateTime?
Guid?
string
//non indexable
Dictionary
<string, object>
byte[]
string[]
//file
MemoryStream
<!--
bool[]
char[]
sbyte[]
short[]
ushort[]
int[]
uint[]
long[]
ulong[]
float[]
double[]
decimal[]
DateTime[]
Guid[]--> </code></pre>
</td>
<td style="margin: 0px; padding: 0px; vertical-align: top;">
<pre style="margin: 0px; padding: 0px; font-size:13px"><code class="diff"> boolean
Boolean
byte
Byte
char
Character
short
Short
int
Integer
long
Long
float
Float
double
Double
UUID
Date
//dynamic length
BigDecimal
BigInteger
String
//non indexable
HashMap
<String, Object>
byte[]
Object[]
//file
MemoryStream
</code></pre>
</td>
</tr>
<tr>
<th colspan="2"> Automatic Object Mapping </th>
</tr>
<tr>
<td style="margin: 0px; padding: 0px; vertical-align: top;">
<pre style="margin: 0px; padding: 0px; font-size:13px">
<code class="cs">//Name
*.Name
//name
*.name
</code></pre>
</td>
<td style="margin: 0px; padding: 0px; vertical-align: top;">
<pre style="margin: 0px; padding: 0px; font-size:13px">
<code class="java">//Name
*.Name
*.Name(val)
*.setName(val)
//name
*.name
*.name(val)
*.setname(val)</code></pre>
</td>
</tr>
</table>
<pre><code class="java"> DatabaseConfig cfg;
//Create Table
ensureTable(Record.class, "Table", "Id");
//Create Index with length 32
ensureIndex(Record.class, "Table", "Name(32)");
//Indexing for byte[] or others,
//using ToBase64String(byte[]) Converts it to String. </code></pre>
<br />
<h5>.NET AOT Register Types</h5>
<pre><code class="cs"> public static object Register
<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>()
where T : new()
{
return new T();
}
//Trigger DynamicallyAccessedMemberTypes.All
Register<T1>();
EnsureTable<T1>("T1", "Id"); </code></pre>
<br />
<h5>Cross Platform</h5>
<img src="images/p3.png" alt="NoSQL Application Database for JAVA, .NET, Android, Mono, Unity3D, Xamarin, Linux, Windows" />
<br />
<br />
<div style="width:100%"><a href="iboxdb-java-csharp-embedded-nosql-database.html#nosql_download" style="font-size:130%"> NEXT - > </a></div>
</div>
</section>
</div>
<!-- FOOTER -->
<div id="footer_wrap" class="outer" style="border-top-style: solid; border-top-width: medium; border-top-color: #33CC00">
<footer class="inner">
<p class="copyright">
Dual Core Application Database Express
<br />
For JAVA C# Android Unity Xamarin Mono Linux Windows
<br />
Databases : iBoxDB.JAVA iBoxDB.NET
<a href="iboxdb-java-csharp-embedded-nosql-database.html#nosql_download"><span style="display: inline-block; width: 1px; height: 1px; overflow: hidden">iBoxDB Embeddable NoSQL Document Database Object Storage Engines </span>Download & Example</a>
<a href="mailto:iboxdb@hotmail.com" title="iboxdb@hotmail.com">Support</a>
<br />
</p>
</footer>
</div>
<!-- Key Words -->
<div style="width: 1px; height: 1px; overflow: hidden">
iBoxDB professional document database ACID NoSQL application database
c# java .net core xamarin unity3d android embedded document database powerful cross platform NoSQL databases system.
Application NoSQL database small footprint makes it easier and cheaper to store and process data.
NoSQL embedded document database engines for java .net core c# mono android. cross-platform development.
Just Enough to Get the Job Done.
</div>
<div class="outer" style="position: relative; top: -60px; left: -1px">
<div class="inner">
<!-- toolbox -->
<script src="highlight/compact_share_buttons.packS.jS?SRC=USER"></script>
</div>
<div class="inner">
<a href="https://s05.flagcounter.com/count2/Ep/bg_373737/txt_F2F2F2/border_373737/columns_5/maxflags_180/viewers_0/labels_0/pageviews_1/flags_1/percent_0/" target="_blank" title="I'm here. click to log" >
<img class="imgwidth" src="https://s05.flagcounter.com/count2/Ep/bg_373737/txt_F2F2F2/border_373737/columns_3/maxflags_12/viewers_0/labels_0/pageviews_1/flags_0/percent_0/" alt="Visitors" border="0" loading="lazy" />
</a>
<br />
<a href="https://s05.flagcounter.com/count2/Ep/bg_373737/txt_F2F2F2/border_373737/columns_4/maxflags_100/viewers_0/labels_0/pageviews_1/flags_1/percent_0/" target="_blank">Visitors</a>
<!--
<br>
<img class="imgwidth" src="images/ico.png" />
-->
</div>
</div>
<!-- Global Links -->
<div style="width: 1px; height: 1px; overflow: hidden">
</div>
<!-- Key Words -->
<div style="width: 1px; height: 1px; overflow: hidden">
Updated 8-31-2021.
<img src="https://s05.flagcounter.com/mini/Ep/bg_373737/txt_F2F2F2/border_373737/flags_0/" border="0" />
</div>
<script src="highlight/highlight.packS.jS?SRC=USER" ></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>