vastdb 1.3.6__py3-none-any.whl → 1.3.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. vastdb/_internal.py +170 -78
  2. vastdb/bench/test_perf.py +2 -2
  3. vastdb/config.py +3 -0
  4. vastdb/errors.py +6 -0
  5. vastdb/features.py +9 -0
  6. vastdb/schema.py +5 -3
  7. vastdb/table.py +76 -15
  8. vastdb/tests/test_imports.py +70 -1
  9. vastdb/tests/test_tables.py +217 -0
  10. vastdb/tests/util.py +2 -2
  11. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Aggregate.py +4 -4
  12. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Call.py +2 -2
  13. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/CaseFragment.py +2 -2
  14. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Cast.py +2 -2
  15. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/ConditionalCase.py +2 -2
  16. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Filter.py +3 -3
  17. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Grouping.py +1 -1
  18. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Join.py +4 -4
  19. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/KeyValue.py +2 -2
  20. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Limit.py +2 -2
  21. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/ListLiteral.py +1 -1
  22. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Literal.py +1 -1
  23. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/LiteralColumn.py +1 -1
  24. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/LiteralRelation.py +2 -2
  25. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/MapKey.py +1 -1
  26. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/MapLiteral.py +1 -1
  27. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/OrderBy.py +3 -3
  28. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Plan.py +1 -1
  29. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Project.py +3 -3
  30. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/SetOperation.py +2 -2
  31. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/SimpleCase.py +3 -3
  32. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/SortKey.py +1 -1
  33. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Source.py +4 -4
  34. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/StructLiteral.py +1 -1
  35. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/WindowCall.py +3 -3
  36. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/DictionaryBatch.py +1 -1
  37. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/DictionaryEncoding.py +1 -1
  38. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Field.py +3 -3
  39. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Footer.py +4 -4
  40. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Message.py +1 -1
  41. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/RecordBatch.py +3 -3
  42. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Schema.py +2 -2
  43. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/SparseMatrixIndexCSX.py +4 -4
  44. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/SparseTensor.py +2 -2
  45. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/SparseTensorIndexCOO.py +2 -2
  46. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/SparseTensorIndexCSF.py +4 -4
  47. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Tensor.py +2 -2
  48. vastdb/vast_flatbuf/tabular/ColumnDetails.py +56 -0
  49. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/CreateProjectionRequest.py +1 -1
  50. vastdb/vast_flatbuf/tabular/FilterString.py +45 -0
  51. vastdb/vast_flatbuf/tabular/GetRowColumnSecurityResponse.py +166 -0
  52. vastdb/vast_flatbuf/tabular/GetTableStatsResponse.py +178 -0
  53. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/ImportDataRequest.py +34 -1
  54. vastdb/vast_flatbuf/tabular/KeyName.py +45 -0
  55. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/ListProjectionsResponse.py +1 -1
  56. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/ListSchemasResponse.py +1 -1
  57. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/ListTablesResponse.py +1 -1
  58. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/ListViewsResponse.py +1 -1
  59. vastdb/vast_flatbuf/tabular/NameString.py +45 -0
  60. vastdb/vast_flatbuf/tabular/ObjectDetails.py +168 -0
  61. {vastdb-1.3.6.dist-info → vastdb-1.3.8.dist-info}/METADATA +1 -1
  62. vastdb-1.3.8.dist-info/RECORD +216 -0
  63. vastdb-1.3.8.dist-info/top_level.txt +1 -0
  64. vast_flatbuf/tabular/GetTableStatsResponse.py +0 -111
  65. vast_flatbuf/tabular/ObjectDetails.py +0 -112
  66. vastdb-1.3.6.dist-info/RECORD +0 -211
  67. vastdb-1.3.6.dist-info/top_level.txt +0 -2
  68. {vast_flatbuf → vastdb/vast_flatbuf}/__init__.py +0 -0
  69. {vast_flatbuf → vastdb/vast_flatbuf}/org/__init__.py +0 -0
  70. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/__init__.py +0 -0
  71. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/__init__.py +0 -0
  72. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/__init__.py +0 -0
  73. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/ArraySlice.py +0 -0
  74. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/ArraySubscript.py +0 -0
  75. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/BinaryLiteral.py +0 -0
  76. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/BooleanLiteral.py +0 -0
  77. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Bound.py +0 -0
  78. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/ConcreteBoundImpl.py +0 -0
  79. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/CurrentRow.py +0 -0
  80. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/DateLiteral.py +0 -0
  81. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/DecimalLiteral.py +0 -0
  82. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Deref.py +0 -0
  83. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/DurationLiteral.py +0 -0
  84. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Expression.py +0 -0
  85. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/ExpressionImpl.py +0 -0
  86. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/FieldIndex.py +0 -0
  87. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/FieldRef.py +0 -0
  88. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/FixedSizeBinaryLiteral.py +0 -0
  89. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Float16Literal.py +0 -0
  90. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Float32Literal.py +0 -0
  91. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Float64Literal.py +0 -0
  92. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Following.py +0 -0
  93. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Frame.py +0 -0
  94. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Int16Literal.py +0 -0
  95. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Int32Literal.py +0 -0
  96. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Int64Literal.py +0 -0
  97. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Int8Literal.py +0 -0
  98. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/IntervalLiteral.py +0 -0
  99. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/IntervalLiteralDaysMilliseconds.py +0 -0
  100. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/IntervalLiteralImpl.py +0 -0
  101. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/IntervalLiteralMonths.py +0 -0
  102. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/JoinKind.py +0 -0
  103. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/LiteralImpl.py +0 -0
  104. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Ordering.py +0 -0
  105. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Preceding.py +0 -0
  106. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/RelId.py +0 -0
  107. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Relation.py +0 -0
  108. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/RelationImpl.py +0 -0
  109. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/SetOpKind.py +0 -0
  110. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/StringLiteral.py +0 -0
  111. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/StructField.py +0 -0
  112. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/TimeLiteral.py +0 -0
  113. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/TimestampLiteral.py +0 -0
  114. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/UInt16Literal.py +0 -0
  115. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/UInt32Literal.py +0 -0
  116. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/UInt64Literal.py +0 -0
  117. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/UInt8Literal.py +0 -0
  118. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/Unbounded.py +0 -0
  119. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/computeir/flatbuf/__init__.py +0 -0
  120. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Binary.py +0 -0
  121. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Block.py +0 -0
  122. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/BodyCompression.py +0 -0
  123. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/BodyCompressionMethod.py +0 -0
  124. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Bool.py +0 -0
  125. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Buffer.py +0 -0
  126. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/CompressionType.py +0 -0
  127. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Date.py +0 -0
  128. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/DateUnit.py +0 -0
  129. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Decimal.py +0 -0
  130. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/DictionaryKind.py +0 -0
  131. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Duration.py +0 -0
  132. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Endianness.py +0 -0
  133. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Feature.py +0 -0
  134. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/FieldNode.py +0 -0
  135. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/FixedSizeBinary.py +0 -0
  136. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/FixedSizeList.py +0 -0
  137. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/FloatingPoint.py +0 -0
  138. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Int.py +0 -0
  139. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Interval.py +0 -0
  140. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/IntervalUnit.py +0 -0
  141. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/KeyValue.py +0 -0
  142. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/LargeBinary.py +0 -0
  143. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/LargeList.py +0 -0
  144. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/LargeUtf8.py +0 -0
  145. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/List.py +0 -0
  146. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Map.py +0 -0
  147. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/MessageHeader.py +0 -0
  148. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/MetadataVersion.py +0 -0
  149. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Null.py +0 -0
  150. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Precision.py +0 -0
  151. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/SparseMatrixCompressedAxis.py +0 -0
  152. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/SparseTensorIndex.py +0 -0
  153. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Struct_.py +0 -0
  154. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/TensorDim.py +0 -0
  155. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Time.py +0 -0
  156. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/TimeUnit.py +0 -0
  157. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Timestamp.py +0 -0
  158. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Type.py +0 -0
  159. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Union.py +0 -0
  160. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/UnionMode.py +0 -0
  161. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/Utf8.py +0 -0
  162. {vast_flatbuf → vastdb/vast_flatbuf}/org/apache/arrow/flatbuf/__init__.py +0 -0
  163. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/AlterColumnRequest.py +0 -0
  164. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/AlterProjectionTableRequest.py +0 -0
  165. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/AlterSchemaRequest.py +0 -0
  166. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/AlterTableRequest.py +0 -0
  167. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/Column.py +0 -0
  168. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/ColumnType.py +0 -0
  169. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/CreateSchemaRequest.py +0 -0
  170. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/CreateViewRequest.py +0 -0
  171. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/GetProjectionTableStatsResponse.py +0 -0
  172. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/S3File.py +0 -0
  173. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/VipRange.py +0 -0
  174. {vast_flatbuf → vastdb/vast_flatbuf}/tabular/__init__.py +0 -0
  175. {vastdb-1.3.6.dist-info → vastdb-1.3.8.dist-info}/LICENSE +0 -0
  176. {vastdb-1.3.6.dist-info → vastdb-1.3.8.dist-info}/WHEEL +0 -0
@@ -0,0 +1,56 @@
1
+ # automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ # namespace: tabular
4
+
5
+ import flatbuffers
6
+ from flatbuffers.compat import import_numpy
7
+ np = import_numpy()
8
+
9
+ class ColumnDetails(object):
10
+ __slots__ = ['_tab']
11
+
12
+ @classmethod
13
+ def GetRootAs(cls, buf, offset=0):
14
+ n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
15
+ x = ColumnDetails()
16
+ x.Init(buf, n + offset)
17
+ return x
18
+
19
+ @classmethod
20
+ def GetRootAsColumnDetails(cls, buf, offset=0):
21
+ """This method is deprecated. Please switch to GetRootAs."""
22
+ return cls.GetRootAs(buf, offset)
23
+ # ColumnDetails
24
+ def Init(self, buf, pos):
25
+ self._tab = flatbuffers.table.Table(buf, pos)
26
+
27
+ # ColumnDetails
28
+ def Name(self):
29
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
30
+ if o != 0:
31
+ return self._tab.String(o + self._tab.Pos)
32
+ return None
33
+
34
+ # ColumnDetails
35
+ def Mask(self):
36
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
37
+ if o != 0:
38
+ return self._tab.String(o + self._tab.Pos)
39
+ return None
40
+
41
+ def Start(builder): builder.StartObject(2)
42
+ def ColumnDetailsStart(builder):
43
+ """This method is deprecated. Please switch to Start."""
44
+ return Start(builder)
45
+ def AddName(builder, name): builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(name), 0)
46
+ def ColumnDetailsAddName(builder, name):
47
+ """This method is deprecated. Please switch to AddName."""
48
+ return AddName(builder, name)
49
+ def AddMask(builder, mask): builder.PrependUOffsetTRelativeSlot(1, flatbuffers.number_types.UOffsetTFlags.py_type(mask), 0)
50
+ def ColumnDetailsAddMask(builder, mask):
51
+ """This method is deprecated. Please switch to AddMask."""
52
+ return AddMask(builder, mask)
53
+ def End(builder): return builder.EndObject()
54
+ def ColumnDetailsEnd(builder):
55
+ """This method is deprecated. Please switch to End."""
56
+ return End(builder)
@@ -31,7 +31,7 @@ class CreateProjectionRequest(object):
31
31
  x = self._tab.Vector(o)
32
32
  x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
33
33
  x = self._tab.Indirect(x)
34
- from vast_flatbuf.tabular.Column import Column
34
+ from vastdb.vast_flatbuf.tabular.Column import Column
35
35
  obj = Column()
36
36
  obj.Init(self._tab.Bytes, x)
37
37
  return obj
@@ -0,0 +1,45 @@
1
+ # automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ # namespace: tabular
4
+
5
+ import flatbuffers
6
+ from flatbuffers.compat import import_numpy
7
+ np = import_numpy()
8
+
9
+ class FilterString(object):
10
+ __slots__ = ['_tab']
11
+
12
+ @classmethod
13
+ def GetRootAs(cls, buf, offset=0):
14
+ n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
15
+ x = FilterString()
16
+ x.Init(buf, n + offset)
17
+ return x
18
+
19
+ @classmethod
20
+ def GetRootAsFilterString(cls, buf, offset=0):
21
+ """This method is deprecated. Please switch to GetRootAs."""
22
+ return cls.GetRootAs(buf, offset)
23
+ # FilterString
24
+ def Init(self, buf, pos):
25
+ self._tab = flatbuffers.table.Table(buf, pos)
26
+
27
+ # FilterString
28
+ def Filter(self):
29
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
30
+ if o != 0:
31
+ return self._tab.String(o + self._tab.Pos)
32
+ return None
33
+
34
+ def Start(builder): builder.StartObject(1)
35
+ def FilterStringStart(builder):
36
+ """This method is deprecated. Please switch to Start."""
37
+ return Start(builder)
38
+ def AddFilter(builder, filter): builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(filter), 0)
39
+ def FilterStringAddFilter(builder, filter):
40
+ """This method is deprecated. Please switch to AddFilter."""
41
+ return AddFilter(builder, filter)
42
+ def End(builder): return builder.EndObject()
43
+ def FilterStringEnd(builder):
44
+ """This method is deprecated. Please switch to End."""
45
+ return End(builder)
@@ -0,0 +1,166 @@
1
+ # automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ # namespace: tabular
4
+
5
+ import flatbuffers
6
+ from flatbuffers.compat import import_numpy
7
+ np = import_numpy()
8
+
9
+ class GetRowColumnSecurityResponse(object):
10
+ __slots__ = ['_tab']
11
+
12
+ @classmethod
13
+ def GetRootAs(cls, buf, offset=0):
14
+ n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
15
+ x = GetRowColumnSecurityResponse()
16
+ x.Init(buf, n + offset)
17
+ return x
18
+
19
+ @classmethod
20
+ def GetRootAsGetRowColumnSecurityResponse(cls, buf, offset=0):
21
+ """This method is deprecated. Please switch to GetRootAs."""
22
+ return cls.GetRootAs(buf, offset)
23
+ # GetRowColumnSecurityResponse
24
+ def Init(self, buf, pos):
25
+ self._tab = flatbuffers.table.Table(buf, pos)
26
+
27
+ # GetRowColumnSecurityResponse
28
+ def RowFilter(self, j):
29
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
30
+ if o != 0:
31
+ x = self._tab.Vector(o)
32
+ x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
33
+ x = self._tab.Indirect(x)
34
+ from vastdb.vast_flatbuf.tabular.FilterString import FilterString
35
+ obj = FilterString()
36
+ obj.Init(self._tab.Bytes, x)
37
+ return obj
38
+ return None
39
+
40
+ # GetRowColumnSecurityResponse
41
+ def RowFilterLength(self):
42
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
43
+ if o != 0:
44
+ return self._tab.VectorLen(o)
45
+ return 0
46
+
47
+ # GetRowColumnSecurityResponse
48
+ def RowFilterIsNone(self):
49
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
50
+ return o == 0
51
+
52
+ # GetRowColumnSecurityResponse
53
+ def ColumnMask(self, j):
54
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
55
+ if o != 0:
56
+ x = self._tab.Vector(o)
57
+ x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
58
+ x = self._tab.Indirect(x)
59
+ from vastdb.vast_flatbuf.tabular.ColumnDetails import ColumnDetails
60
+ obj = ColumnDetails()
61
+ obj.Init(self._tab.Bytes, x)
62
+ return obj
63
+ return None
64
+
65
+ # GetRowColumnSecurityResponse
66
+ def ColumnMaskLength(self):
67
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
68
+ if o != 0:
69
+ return self._tab.VectorLen(o)
70
+ return 0
71
+
72
+ # GetRowColumnSecurityResponse
73
+ def ColumnMaskIsNone(self):
74
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
75
+ return o == 0
76
+
77
+ # GetRowColumnSecurityResponse
78
+ def ColumnAllow(self, j):
79
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
80
+ if o != 0:
81
+ x = self._tab.Vector(o)
82
+ x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
83
+ x = self._tab.Indirect(x)
84
+ from vastdb.vast_flatbuf.tabular.NameString import NameString
85
+ obj = NameString()
86
+ obj.Init(self._tab.Bytes, x)
87
+ return obj
88
+ return None
89
+
90
+ # GetRowColumnSecurityResponse
91
+ def ColumnAllowLength(self):
92
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
93
+ if o != 0:
94
+ return self._tab.VectorLen(o)
95
+ return 0
96
+
97
+ # GetRowColumnSecurityResponse
98
+ def ColumnAllowIsNone(self):
99
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
100
+ return o == 0
101
+
102
+ # GetRowColumnSecurityResponse
103
+ def ColumnDeny(self, j):
104
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
105
+ if o != 0:
106
+ x = self._tab.Vector(o)
107
+ x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
108
+ x = self._tab.Indirect(x)
109
+ from vastdb.vast_flatbuf.tabular.NameString import NameString
110
+ obj = NameString()
111
+ obj.Init(self._tab.Bytes, x)
112
+ return obj
113
+ return None
114
+
115
+ # GetRowColumnSecurityResponse
116
+ def ColumnDenyLength(self):
117
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
118
+ if o != 0:
119
+ return self._tab.VectorLen(o)
120
+ return 0
121
+
122
+ # GetRowColumnSecurityResponse
123
+ def ColumnDenyIsNone(self):
124
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
125
+ return o == 0
126
+
127
+ def Start(builder): builder.StartObject(4)
128
+ def GetRowColumnSecurityResponseStart(builder):
129
+ """This method is deprecated. Please switch to Start."""
130
+ return Start(builder)
131
+ def AddRowFilter(builder, rowFilter): builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(rowFilter), 0)
132
+ def GetRowColumnSecurityResponseAddRowFilter(builder, rowFilter):
133
+ """This method is deprecated. Please switch to AddRowFilter."""
134
+ return AddRowFilter(builder, rowFilter)
135
+ def StartRowFilterVector(builder, numElems): return builder.StartVector(4, numElems, 4)
136
+ def GetRowColumnSecurityResponseStartRowFilterVector(builder, numElems):
137
+ """This method is deprecated. Please switch to Start."""
138
+ return StartRowFilterVector(builder, numElems)
139
+ def AddColumnMask(builder, columnMask): builder.PrependUOffsetTRelativeSlot(1, flatbuffers.number_types.UOffsetTFlags.py_type(columnMask), 0)
140
+ def GetRowColumnSecurityResponseAddColumnMask(builder, columnMask):
141
+ """This method is deprecated. Please switch to AddColumnMask."""
142
+ return AddColumnMask(builder, columnMask)
143
+ def StartColumnMaskVector(builder, numElems): return builder.StartVector(4, numElems, 4)
144
+ def GetRowColumnSecurityResponseStartColumnMaskVector(builder, numElems):
145
+ """This method is deprecated. Please switch to Start."""
146
+ return StartColumnMaskVector(builder, numElems)
147
+ def AddColumnAllow(builder, columnAllow): builder.PrependUOffsetTRelativeSlot(2, flatbuffers.number_types.UOffsetTFlags.py_type(columnAllow), 0)
148
+ def GetRowColumnSecurityResponseAddColumnAllow(builder, columnAllow):
149
+ """This method is deprecated. Please switch to AddColumnAllow."""
150
+ return AddColumnAllow(builder, columnAllow)
151
+ def StartColumnAllowVector(builder, numElems): return builder.StartVector(4, numElems, 4)
152
+ def GetRowColumnSecurityResponseStartColumnAllowVector(builder, numElems):
153
+ """This method is deprecated. Please switch to Start."""
154
+ return StartColumnAllowVector(builder, numElems)
155
+ def AddColumnDeny(builder, columnDeny): builder.PrependUOffsetTRelativeSlot(3, flatbuffers.number_types.UOffsetTFlags.py_type(columnDeny), 0)
156
+ def GetRowColumnSecurityResponseAddColumnDeny(builder, columnDeny):
157
+ """This method is deprecated. Please switch to AddColumnDeny."""
158
+ return AddColumnDeny(builder, columnDeny)
159
+ def StartColumnDenyVector(builder, numElems): return builder.StartVector(4, numElems, 4)
160
+ def GetRowColumnSecurityResponseStartColumnDenyVector(builder, numElems):
161
+ """This method is deprecated. Please switch to Start."""
162
+ return StartColumnDenyVector(builder, numElems)
163
+ def End(builder): return builder.EndObject()
164
+ def GetRowColumnSecurityResponseEnd(builder):
165
+ """This method is deprecated. Please switch to End."""
166
+ return End(builder)
@@ -0,0 +1,178 @@
1
+ # automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ # namespace: tabular
4
+
5
+ import flatbuffers
6
+ from flatbuffers.compat import import_numpy
7
+ np = import_numpy()
8
+
9
+ class GetTableStatsResponse(object):
10
+ __slots__ = ['_tab']
11
+
12
+ @classmethod
13
+ def GetRootAs(cls, buf, offset=0):
14
+ n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
15
+ x = GetTableStatsResponse()
16
+ x.Init(buf, n + offset)
17
+ return x
18
+
19
+ @classmethod
20
+ def GetRootAsGetTableStatsResponse(cls, buf, offset=0):
21
+ """This method is deprecated. Please switch to GetRootAs."""
22
+ return cls.GetRootAs(buf, offset)
23
+ # GetTableStatsResponse
24
+ def Init(self, buf, pos):
25
+ self._tab = flatbuffers.table.Table(buf, pos)
26
+
27
+ # GetTableStatsResponse
28
+ def NumRows(self):
29
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
30
+ if o != 0:
31
+ return self._tab.Get(flatbuffers.number_types.Int64Flags, o + self._tab.Pos)
32
+ return 0
33
+
34
+ # GetTableStatsResponse
35
+ def SizeInBytes(self):
36
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
37
+ if o != 0:
38
+ return self._tab.Get(flatbuffers.number_types.Int64Flags, o + self._tab.Pos)
39
+ return 0
40
+
41
+ # GetTableStatsResponse
42
+ def IsExternalRowidAlloc(self):
43
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8))
44
+ if o != 0:
45
+ return bool(self._tab.Get(flatbuffers.number_types.BoolFlags, o + self._tab.Pos))
46
+ return False
47
+
48
+ # GetTableStatsResponse
49
+ def AddressType(self):
50
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10))
51
+ if o != 0:
52
+ return self._tab.String(o + self._tab.Pos)
53
+ return None
54
+
55
+ # GetTableStatsResponse
56
+ def Vips(self, j):
57
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
58
+ if o != 0:
59
+ x = self._tab.Vector(o)
60
+ x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
61
+ x = self._tab.Indirect(x)
62
+ from vastdb.vast_flatbuf.tabular.VipRange import VipRange
63
+ obj = VipRange()
64
+ obj.Init(self._tab.Bytes, x)
65
+ return obj
66
+ return None
67
+
68
+ # GetTableStatsResponse
69
+ def VipsLength(self):
70
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
71
+ if o != 0:
72
+ return self._tab.VectorLen(o)
73
+ return 0
74
+
75
+ # GetTableStatsResponse
76
+ def VipsIsNone(self):
77
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12))
78
+ return o == 0
79
+
80
+ # GetTableStatsResponse
81
+ def SortingKeyEnabled(self):
82
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(14))
83
+ if o != 0:
84
+ return bool(self._tab.Get(flatbuffers.number_types.BoolFlags, o + self._tab.Pos))
85
+ return False
86
+
87
+ # GetTableStatsResponse
88
+ def SortingScore(self):
89
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(16))
90
+ if o != 0:
91
+ return self._tab.Get(flatbuffers.number_types.Int64Flags, o + self._tab.Pos)
92
+ return 0
93
+
94
+ # GetTableStatsResponse
95
+ def WriteAmplification(self):
96
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(18))
97
+ if o != 0:
98
+ return self._tab.Get(flatbuffers.number_types.Int64Flags, o + self._tab.Pos)
99
+ return 0
100
+
101
+ # GetTableStatsResponse
102
+ def AcummulativeRowInseritionCount(self):
103
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(20))
104
+ if o != 0:
105
+ return self._tab.Get(flatbuffers.number_types.Int64Flags, o + self._tab.Pos)
106
+ return 0
107
+
108
+ def GetTableStatsResponseStart(builder):
109
+ builder.StartObject(9)
110
+
111
+ def Start(builder):
112
+ GetTableStatsResponseStart(builder)
113
+
114
+ def GetTableStatsResponseAddNumRows(builder, numRows):
115
+ builder.PrependInt64Slot(0, numRows, 0)
116
+
117
+ def AddNumRows(builder, numRows):
118
+ GetTableStatsResponseAddNumRows(builder, numRows)
119
+
120
+ def GetTableStatsResponseAddSizeInBytes(builder, sizeInBytes):
121
+ builder.PrependInt64Slot(1, sizeInBytes, 0)
122
+
123
+ def AddSizeInBytes(builder, sizeInBytes):
124
+ GetTableStatsResponseAddSizeInBytes(builder, sizeInBytes)
125
+
126
+ def GetTableStatsResponseAddIsExternalRowidAlloc(builder, isExternalRowidAlloc):
127
+ builder.PrependBoolSlot(2, isExternalRowidAlloc, 0)
128
+
129
+ def AddIsExternalRowidAlloc(builder, isExternalRowidAlloc):
130
+ GetTableStatsResponseAddIsExternalRowidAlloc(builder, isExternalRowidAlloc)
131
+
132
+ def GetTableStatsResponseAddAddressType(builder, addressType):
133
+ builder.PrependUOffsetTRelativeSlot(3, flatbuffers.number_types.UOffsetTFlags.py_type(addressType), 0)
134
+
135
+ def AddAddressType(builder, addressType):
136
+ GetTableStatsResponseAddAddressType(builder, addressType)
137
+
138
+ def GetTableStatsResponseAddVips(builder, vips):
139
+ builder.PrependUOffsetTRelativeSlot(4, flatbuffers.number_types.UOffsetTFlags.py_type(vips), 0)
140
+
141
+ def AddVips(builder, vips):
142
+ GetTableStatsResponseAddVips(builder, vips)
143
+
144
+ def GetTableStatsResponseStartVipsVector(builder, numElems):
145
+ return builder.StartVector(4, numElems, 4)
146
+
147
+ def StartVipsVector(builder, numElems):
148
+ return GetTableStatsResponseStartVipsVector(builder, numElems)
149
+
150
+ def GetTableStatsResponseAddSortingKeyEnabled(builder, sortingKeyEnabled):
151
+ builder.PrependBoolSlot(5, sortingKeyEnabled, 0)
152
+
153
+ def AddSortingKeyEnabled(builder, sortingKeyEnabled):
154
+ GetTableStatsResponseAddSortingKeyEnabled(builder, sortingKeyEnabled)
155
+
156
+ def GetTableStatsResponseAddSortingScore(builder, sortingScore):
157
+ builder.PrependInt64Slot(6, sortingScore, 0)
158
+
159
+ def AddSortingScore(builder, sortingScore):
160
+ GetTableStatsResponseAddSortingScore(builder, sortingScore)
161
+
162
+ def GetTableStatsResponseAddWriteAmplification(builder, writeAmplification):
163
+ builder.PrependInt64Slot(7, writeAmplification, 0)
164
+
165
+ def AddWriteAmplification(builder, writeAmplification):
166
+ GetTableStatsResponseAddWriteAmplification(builder, writeAmplification)
167
+
168
+ def GetTableStatsResponseAddAcummulativeRowInseritionCount(builder, acummulativeRowInseritionCount):
169
+ builder.PrependInt64Slot(8, acummulativeRowInseritionCount, 0)
170
+
171
+ def AddAcummulativeRowInseritionCount(builder, acummulativeRowInseritionCount):
172
+ GetTableStatsResponseAddAcummulativeRowInseritionCount(builder, acummulativeRowInseritionCount)
173
+
174
+ def GetTableStatsResponseEnd(builder):
175
+ return builder.EndObject()
176
+
177
+ def End(builder):
178
+ return GetTableStatsResponseEnd(builder)
@@ -49,7 +49,32 @@ class ImportDataRequest(object):
49
49
  o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
50
50
  return o == 0
51
51
 
52
- def Start(builder): builder.StartObject(1)
52
+ # ImportDataRequest
53
+ def KeyNames(self, j):
54
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
55
+ if o != 0:
56
+ x = self._tab.Vector(o)
57
+ x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
58
+ x = self._tab.Indirect(x)
59
+ from vast_flatbuf.tabular.KeyName import KeyName
60
+ obj = KeyName()
61
+ obj.Init(self._tab.Bytes, x)
62
+ return obj
63
+ return None
64
+
65
+ # ImportDataRequest
66
+ def KeyNamesLength(self):
67
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
68
+ if o != 0:
69
+ return self._tab.VectorLen(o)
70
+ return 0
71
+
72
+ # ImportDataRequest
73
+ def KeyNamesIsNone(self):
74
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6))
75
+ return o == 0
76
+
77
+ def Start(builder): builder.StartObject(2)
53
78
  def ImportDataRequestStart(builder):
54
79
  """This method is deprecated. Please switch to Start."""
55
80
  return Start(builder)
@@ -61,6 +86,14 @@ def StartS3FilesVector(builder, numElems): return builder.StartVector(4, numElem
61
86
  def ImportDataRequestStartS3FilesVector(builder, numElems):
62
87
  """This method is deprecated. Please switch to Start."""
63
88
  return StartS3FilesVector(builder, numElems)
89
+ def AddKeyNames(builder, keyNames): builder.PrependUOffsetTRelativeSlot(1, flatbuffers.number_types.UOffsetTFlags.py_type(keyNames), 0)
90
+ def ImportDataRequestAddKeyNames(builder, keyNames):
91
+ """This method is deprecated. Please switch to AddKeyNames."""
92
+ return AddKeyNames(builder, keyNames)
93
+ def StartKeyNamesVector(builder, numElems): return builder.StartVector(4, numElems, 4)
94
+ def ImportDataRequestStartKeyNamesVector(builder, numElems):
95
+ """This method is deprecated. Please switch to Start."""
96
+ return StartKeyNamesVector(builder, numElems)
64
97
  def End(builder): return builder.EndObject()
65
98
  def ImportDataRequestEnd(builder):
66
99
  """This method is deprecated. Please switch to End."""
@@ -0,0 +1,45 @@
1
+ # automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ # namespace: tabular
4
+
5
+ import flatbuffers
6
+ from flatbuffers.compat import import_numpy
7
+ np = import_numpy()
8
+
9
+ class KeyName(object):
10
+ __slots__ = ['_tab']
11
+
12
+ @classmethod
13
+ def GetRootAs(cls, buf, offset=0):
14
+ n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
15
+ x = KeyName()
16
+ x.Init(buf, n + offset)
17
+ return x
18
+
19
+ @classmethod
20
+ def GetRootAsKeyName(cls, buf, offset=0):
21
+ """This method is deprecated. Please switch to GetRootAs."""
22
+ return cls.GetRootAs(buf, offset)
23
+ # KeyName
24
+ def Init(self, buf, pos):
25
+ self._tab = flatbuffers.table.Table(buf, pos)
26
+
27
+ # KeyName
28
+ def Name(self):
29
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
30
+ if o != 0:
31
+ return self._tab.String(o + self._tab.Pos)
32
+ return None
33
+
34
+ def Start(builder): builder.StartObject(1)
35
+ def KeyNameStart(builder):
36
+ """This method is deprecated. Please switch to Start."""
37
+ return Start(builder)
38
+ def AddName(builder, name): builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(name), 0)
39
+ def KeyNameAddName(builder, name):
40
+ """This method is deprecated. Please switch to AddName."""
41
+ return AddName(builder, name)
42
+ def End(builder): return builder.EndObject()
43
+ def KeyNameEnd(builder):
44
+ """This method is deprecated. Please switch to End."""
45
+ return End(builder)
@@ -52,7 +52,7 @@ class ListProjectionsResponse(object):
52
52
  x = self._tab.Vector(o)
53
53
  x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
54
54
  x = self._tab.Indirect(x)
55
- from vast_flatbuf.tabular.ObjectDetails import ObjectDetails
55
+ from vastdb.vast_flatbuf.tabular.ObjectDetails import ObjectDetails
56
56
  obj = ObjectDetails()
57
57
  obj.Init(self._tab.Bytes, x)
58
58
  return obj
@@ -38,7 +38,7 @@ class ListSchemasResponse(object):
38
38
  x = self._tab.Vector(o)
39
39
  x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
40
40
  x = self._tab.Indirect(x)
41
- from vast_flatbuf.tabular.ObjectDetails import ObjectDetails
41
+ from vastdb.vast_flatbuf.tabular.ObjectDetails import ObjectDetails
42
42
  obj = ObjectDetails()
43
43
  obj.Init(self._tab.Bytes, x)
44
44
  return obj
@@ -45,7 +45,7 @@ class ListTablesResponse(object):
45
45
  x = self._tab.Vector(o)
46
46
  x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
47
47
  x = self._tab.Indirect(x)
48
- from vast_flatbuf.tabular.ObjectDetails import ObjectDetails
48
+ from vastdb.vast_flatbuf.tabular.ObjectDetails import ObjectDetails
49
49
  obj = ObjectDetails()
50
50
  obj.Init(self._tab.Bytes, x)
51
51
  return obj
@@ -45,7 +45,7 @@ class ListViewsResponse(object):
45
45
  x = self._tab.Vector(o)
46
46
  x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4
47
47
  x = self._tab.Indirect(x)
48
- from vast_flatbuf.tabular.ObjectDetails import ObjectDetails
48
+ from vastdb.vast_flatbuf.tabular.ObjectDetails import ObjectDetails
49
49
  obj = ObjectDetails()
50
50
  obj.Init(self._tab.Bytes, x)
51
51
  return obj
@@ -0,0 +1,45 @@
1
+ # automatically generated by the FlatBuffers compiler, do not modify
2
+
3
+ # namespace: tabular
4
+
5
+ import flatbuffers
6
+ from flatbuffers.compat import import_numpy
7
+ np = import_numpy()
8
+
9
+ class NameString(object):
10
+ __slots__ = ['_tab']
11
+
12
+ @classmethod
13
+ def GetRootAs(cls, buf, offset=0):
14
+ n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
15
+ x = NameString()
16
+ x.Init(buf, n + offset)
17
+ return x
18
+
19
+ @classmethod
20
+ def GetRootAsNameString(cls, buf, offset=0):
21
+ """This method is deprecated. Please switch to GetRootAs."""
22
+ return cls.GetRootAs(buf, offset)
23
+ # NameString
24
+ def Init(self, buf, pos):
25
+ self._tab = flatbuffers.table.Table(buf, pos)
26
+
27
+ # NameString
28
+ def Name(self):
29
+ o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4))
30
+ if o != 0:
31
+ return self._tab.String(o + self._tab.Pos)
32
+ return None
33
+
34
+ def Start(builder): builder.StartObject(1)
35
+ def NameStringStart(builder):
36
+ """This method is deprecated. Please switch to Start."""
37
+ return Start(builder)
38
+ def AddName(builder, name): builder.PrependUOffsetTRelativeSlot(0, flatbuffers.number_types.UOffsetTFlags.py_type(name), 0)
39
+ def NameStringAddName(builder, name):
40
+ """This method is deprecated. Please switch to AddName."""
41
+ return AddName(builder, name)
42
+ def End(builder): return builder.EndObject()
43
+ def NameStringEnd(builder):
44
+ """This method is deprecated. Please switch to End."""
45
+ return End(builder)