File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,21 @@ public DataType DataType
53
53
}
54
54
}
55
55
56
+ /// <summary>
57
+ /// Gets whether the <see cref="QueryField"/> is nullable.
58
+ /// </summary>
59
+ public bool IsNullable
60
+ {
61
+ get
62
+ {
63
+ using var ctxHandle = _ctx . Handle . Acquire ( ) ;
64
+ using var handle = _handle . Acquire ( ) ;
65
+ byte result ;
66
+ _ctx . handle_error ( Methods . tiledb_field_get_nullable ( ctxHandle , handle , & result ) ) ;
67
+ return result != 0 ;
68
+ }
69
+ }
70
+
56
71
/// <summary>
57
72
/// Gets the origin of the <see cref="QueryField"/>.
58
73
/// </summary>
Original file line number Diff line number Diff line change @@ -18,6 +18,20 @@ public static unsafe class Stats
18
18
/// </summary>
19
19
public static void Disable ( ) => ErrorHandling . ThrowOnError ( Methods . tiledb_stats_disable ( ) ) ;
20
20
21
+ /// <summary>
22
+ /// Gets whether statistics are enabled.
23
+ /// </summary>
24
+ /// <seealso cref="Enable"/>
25
+ /// <seealso cref="Disable"/>
26
+ public static bool IsEnabled
27
+ {
28
+ get {
29
+ byte val ;
30
+ ErrorHandling . ThrowOnError ( Methods . tiledb_stats_is_enabled ( & val ) ) ;
31
+ return val != 0 ;
32
+ }
33
+ }
34
+
21
35
/// <summary>
22
36
/// Resets all previously gathered statistics.
23
37
/// </summary>
You can’t perform that action at this time.
0 commit comments