You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1199 lines
36 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1
  4. // protoc v3.21.11
  5. // source: columnar.proto
  6. package columnar_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type LogicalType int32
  20. const (
  21. LogicalType_Uint8 LogicalType = 0
  22. LogicalType_Uint16 LogicalType = 1
  23. LogicalType_Float32 LogicalType = 4
  24. )
  25. // Enum value maps for LogicalType.
  26. var (
  27. LogicalType_name = map[int32]string{
  28. 0: "Uint8",
  29. 1: "Uint16",
  30. 4: "Float32",
  31. }
  32. LogicalType_value = map[string]int32{
  33. "Uint8": 0,
  34. "Uint16": 1,
  35. "Float32": 4,
  36. }
  37. )
  38. func (x LogicalType) Enum() *LogicalType {
  39. p := new(LogicalType)
  40. *p = x
  41. return p
  42. }
  43. func (x LogicalType) String() string {
  44. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  45. }
  46. func (LogicalType) Descriptor() protoreflect.EnumDescriptor {
  47. return file_columnar_proto_enumTypes[0].Descriptor()
  48. }
  49. func (LogicalType) Type() protoreflect.EnumType {
  50. return &file_columnar_proto_enumTypes[0]
  51. }
  52. func (x LogicalType) Number() protoreflect.EnumNumber {
  53. return protoreflect.EnumNumber(x)
  54. }
  55. // Deprecated: Use LogicalType.Descriptor instead.
  56. func (LogicalType) EnumDescriptor() ([]byte, []int) {
  57. return file_columnar_proto_rawDescGZIP(), []int{0}
  58. }
  59. type Field_Type int32
  60. const (
  61. Field_PARENT Field_Type = 0
  62. Field_REPEATED Field_Type = 1
  63. Field_LEAF Field_Type = 2
  64. )
  65. // Enum value maps for Field_Type.
  66. var (
  67. Field_Type_name = map[int32]string{
  68. 0: "PARENT",
  69. 1: "REPEATED",
  70. 2: "LEAF",
  71. }
  72. Field_Type_value = map[string]int32{
  73. "PARENT": 0,
  74. "REPEATED": 1,
  75. "LEAF": 2,
  76. }
  77. )
  78. func (x Field_Type) Enum() *Field_Type {
  79. p := new(Field_Type)
  80. *p = x
  81. return p
  82. }
  83. func (x Field_Type) String() string {
  84. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  85. }
  86. func (Field_Type) Descriptor() protoreflect.EnumDescriptor {
  87. return file_columnar_proto_enumTypes[1].Descriptor()
  88. }
  89. func (Field_Type) Type() protoreflect.EnumType {
  90. return &file_columnar_proto_enumTypes[1]
  91. }
  92. func (x Field_Type) Number() protoreflect.EnumNumber {
  93. return protoreflect.EnumNumber(x)
  94. }
  95. // Deprecated: Use Field_Type.Descriptor instead.
  96. func (Field_Type) EnumDescriptor() ([]byte, []int) {
  97. return file_columnar_proto_rawDescGZIP(), []int{8, 0}
  98. }
  99. type FileId struct {
  100. state protoimpl.MessageState
  101. sizeCache protoimpl.SizeCache
  102. unknownFields protoimpl.UnknownFields
  103. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  104. FileKey uint64 `protobuf:"varint,2,opt,name=file_key,json=fileKey,proto3" json:"file_key,omitempty"`
  105. Cookie uint32 `protobuf:"fixed32,3,opt,name=cookie,proto3" json:"cookie,omitempty"`
  106. }
  107. func (x *FileId) Reset() {
  108. *x = FileId{}
  109. if protoimpl.UnsafeEnabled {
  110. mi := &file_columnar_proto_msgTypes[0]
  111. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  112. ms.StoreMessageInfo(mi)
  113. }
  114. }
  115. func (x *FileId) String() string {
  116. return protoimpl.X.MessageStringOf(x)
  117. }
  118. func (*FileId) ProtoMessage() {}
  119. func (x *FileId) ProtoReflect() protoreflect.Message {
  120. mi := &file_columnar_proto_msgTypes[0]
  121. if protoimpl.UnsafeEnabled && x != nil {
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. if ms.LoadMessageInfo() == nil {
  124. ms.StoreMessageInfo(mi)
  125. }
  126. return ms
  127. }
  128. return mi.MessageOf(x)
  129. }
  130. // Deprecated: Use FileId.ProtoReflect.Descriptor instead.
  131. func (*FileId) Descriptor() ([]byte, []int) {
  132. return file_columnar_proto_rawDescGZIP(), []int{0}
  133. }
  134. func (x *FileId) GetVolumeId() uint32 {
  135. if x != nil {
  136. return x.VolumeId
  137. }
  138. return 0
  139. }
  140. func (x *FileId) GetFileKey() uint64 {
  141. if x != nil {
  142. return x.FileKey
  143. }
  144. return 0
  145. }
  146. func (x *FileId) GetCookie() uint32 {
  147. if x != nil {
  148. return x.Cookie
  149. }
  150. return 0
  151. }
  152. type ColumnUint16 struct {
  153. state protoimpl.MessageState
  154. sizeCache protoimpl.SizeCache
  155. unknownFields protoimpl.UnknownFields
  156. Base uint32 `protobuf:"varint,1,opt,name=base,proto3" json:"base,omitempty"`
  157. Min uint32 `protobuf:"varint,3,opt,name=min,proto3" json:"min,omitempty"`
  158. Max uint32 `protobuf:"varint,4,opt,name=max,proto3" json:"max,omitempty"`
  159. }
  160. func (x *ColumnUint16) Reset() {
  161. *x = ColumnUint16{}
  162. if protoimpl.UnsafeEnabled {
  163. mi := &file_columnar_proto_msgTypes[1]
  164. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  165. ms.StoreMessageInfo(mi)
  166. }
  167. }
  168. func (x *ColumnUint16) String() string {
  169. return protoimpl.X.MessageStringOf(x)
  170. }
  171. func (*ColumnUint16) ProtoMessage() {}
  172. func (x *ColumnUint16) ProtoReflect() protoreflect.Message {
  173. mi := &file_columnar_proto_msgTypes[1]
  174. if protoimpl.UnsafeEnabled && x != nil {
  175. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  176. if ms.LoadMessageInfo() == nil {
  177. ms.StoreMessageInfo(mi)
  178. }
  179. return ms
  180. }
  181. return mi.MessageOf(x)
  182. }
  183. // Deprecated: Use ColumnUint16.ProtoReflect.Descriptor instead.
  184. func (*ColumnUint16) Descriptor() ([]byte, []int) {
  185. return file_columnar_proto_rawDescGZIP(), []int{1}
  186. }
  187. func (x *ColumnUint16) GetBase() uint32 {
  188. if x != nil {
  189. return x.Base
  190. }
  191. return 0
  192. }
  193. func (x *ColumnUint16) GetMin() uint32 {
  194. if x != nil {
  195. return x.Min
  196. }
  197. return 0
  198. }
  199. func (x *ColumnUint16) GetMax() uint32 {
  200. if x != nil {
  201. return x.Max
  202. }
  203. return 0
  204. }
  205. type ColumnUint32 struct {
  206. state protoimpl.MessageState
  207. sizeCache protoimpl.SizeCache
  208. unknownFields protoimpl.UnknownFields
  209. Base uint32 `protobuf:"varint,1,opt,name=base,proto3" json:"base,omitempty"`
  210. Min uint32 `protobuf:"varint,3,opt,name=min,proto3" json:"min,omitempty"`
  211. Max uint32 `protobuf:"varint,4,opt,name=max,proto3" json:"max,omitempty"`
  212. }
  213. func (x *ColumnUint32) Reset() {
  214. *x = ColumnUint32{}
  215. if protoimpl.UnsafeEnabled {
  216. mi := &file_columnar_proto_msgTypes[2]
  217. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  218. ms.StoreMessageInfo(mi)
  219. }
  220. }
  221. func (x *ColumnUint32) String() string {
  222. return protoimpl.X.MessageStringOf(x)
  223. }
  224. func (*ColumnUint32) ProtoMessage() {}
  225. func (x *ColumnUint32) ProtoReflect() protoreflect.Message {
  226. mi := &file_columnar_proto_msgTypes[2]
  227. if protoimpl.UnsafeEnabled && x != nil {
  228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  229. if ms.LoadMessageInfo() == nil {
  230. ms.StoreMessageInfo(mi)
  231. }
  232. return ms
  233. }
  234. return mi.MessageOf(x)
  235. }
  236. // Deprecated: Use ColumnUint32.ProtoReflect.Descriptor instead.
  237. func (*ColumnUint32) Descriptor() ([]byte, []int) {
  238. return file_columnar_proto_rawDescGZIP(), []int{2}
  239. }
  240. func (x *ColumnUint32) GetBase() uint32 {
  241. if x != nil {
  242. return x.Base
  243. }
  244. return 0
  245. }
  246. func (x *ColumnUint32) GetMin() uint32 {
  247. if x != nil {
  248. return x.Min
  249. }
  250. return 0
  251. }
  252. func (x *ColumnUint32) GetMax() uint32 {
  253. if x != nil {
  254. return x.Max
  255. }
  256. return 0
  257. }
  258. type ColumnFloat32 struct {
  259. state protoimpl.MessageState
  260. sizeCache protoimpl.SizeCache
  261. unknownFields protoimpl.UnknownFields
  262. Min uint32 `protobuf:"varint,3,opt,name=min,proto3" json:"min,omitempty"`
  263. Max uint32 `protobuf:"varint,4,opt,name=max,proto3" json:"max,omitempty"`
  264. }
  265. func (x *ColumnFloat32) Reset() {
  266. *x = ColumnFloat32{}
  267. if protoimpl.UnsafeEnabled {
  268. mi := &file_columnar_proto_msgTypes[3]
  269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  270. ms.StoreMessageInfo(mi)
  271. }
  272. }
  273. func (x *ColumnFloat32) String() string {
  274. return protoimpl.X.MessageStringOf(x)
  275. }
  276. func (*ColumnFloat32) ProtoMessage() {}
  277. func (x *ColumnFloat32) ProtoReflect() protoreflect.Message {
  278. mi := &file_columnar_proto_msgTypes[3]
  279. if protoimpl.UnsafeEnabled && x != nil {
  280. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  281. if ms.LoadMessageInfo() == nil {
  282. ms.StoreMessageInfo(mi)
  283. }
  284. return ms
  285. }
  286. return mi.MessageOf(x)
  287. }
  288. // Deprecated: Use ColumnFloat32.ProtoReflect.Descriptor instead.
  289. func (*ColumnFloat32) Descriptor() ([]byte, []int) {
  290. return file_columnar_proto_rawDescGZIP(), []int{3}
  291. }
  292. func (x *ColumnFloat32) GetMin() uint32 {
  293. if x != nil {
  294. return x.Min
  295. }
  296. return 0
  297. }
  298. func (x *ColumnFloat32) GetMax() uint32 {
  299. if x != nil {
  300. return x.Max
  301. }
  302. return 0
  303. }
  304. type ColumnSplit struct {
  305. state protoimpl.MessageState
  306. sizeCache protoimpl.SizeCache
  307. unknownFields protoimpl.UnknownFields
  308. // The ids of the fields/columns in this file
  309. FieldId int32 `protobuf:"varint,1,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
  310. FileId *FileId `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
  311. RowOffset int64 `protobuf:"varint,3,opt,name=row_offset,json=rowOffset,proto3" json:"row_offset,omitempty"`
  312. RowCount int32 `protobuf:"varint,4,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
  313. // Types that are assignable to StorageType:
  314. //
  315. // *ColumnSplit_MetaUint16
  316. // *ColumnSplit_MetaUint32
  317. // *ColumnSplit_MetaFloat32
  318. StorageType isColumnSplit_StorageType `protobuf_oneof:"storage_type"`
  319. }
  320. func (x *ColumnSplit) Reset() {
  321. *x = ColumnSplit{}
  322. if protoimpl.UnsafeEnabled {
  323. mi := &file_columnar_proto_msgTypes[4]
  324. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  325. ms.StoreMessageInfo(mi)
  326. }
  327. }
  328. func (x *ColumnSplit) String() string {
  329. return protoimpl.X.MessageStringOf(x)
  330. }
  331. func (*ColumnSplit) ProtoMessage() {}
  332. func (x *ColumnSplit) ProtoReflect() protoreflect.Message {
  333. mi := &file_columnar_proto_msgTypes[4]
  334. if protoimpl.UnsafeEnabled && x != nil {
  335. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  336. if ms.LoadMessageInfo() == nil {
  337. ms.StoreMessageInfo(mi)
  338. }
  339. return ms
  340. }
  341. return mi.MessageOf(x)
  342. }
  343. // Deprecated: Use ColumnSplit.ProtoReflect.Descriptor instead.
  344. func (*ColumnSplit) Descriptor() ([]byte, []int) {
  345. return file_columnar_proto_rawDescGZIP(), []int{4}
  346. }
  347. func (x *ColumnSplit) GetFieldId() int32 {
  348. if x != nil {
  349. return x.FieldId
  350. }
  351. return 0
  352. }
  353. func (x *ColumnSplit) GetFileId() *FileId {
  354. if x != nil {
  355. return x.FileId
  356. }
  357. return nil
  358. }
  359. func (x *ColumnSplit) GetRowOffset() int64 {
  360. if x != nil {
  361. return x.RowOffset
  362. }
  363. return 0
  364. }
  365. func (x *ColumnSplit) GetRowCount() int32 {
  366. if x != nil {
  367. return x.RowCount
  368. }
  369. return 0
  370. }
  371. func (m *ColumnSplit) GetStorageType() isColumnSplit_StorageType {
  372. if m != nil {
  373. return m.StorageType
  374. }
  375. return nil
  376. }
  377. func (x *ColumnSplit) GetMetaUint16() *ColumnUint16 {
  378. if x, ok := x.GetStorageType().(*ColumnSplit_MetaUint16); ok {
  379. return x.MetaUint16
  380. }
  381. return nil
  382. }
  383. func (x *ColumnSplit) GetMetaUint32() *ColumnUint32 {
  384. if x, ok := x.GetStorageType().(*ColumnSplit_MetaUint32); ok {
  385. return x.MetaUint32
  386. }
  387. return nil
  388. }
  389. func (x *ColumnSplit) GetMetaFloat32() *ColumnFloat32 {
  390. if x, ok := x.GetStorageType().(*ColumnSplit_MetaFloat32); ok {
  391. return x.MetaFloat32
  392. }
  393. return nil
  394. }
  395. type isColumnSplit_StorageType interface {
  396. isColumnSplit_StorageType()
  397. }
  398. type ColumnSplit_MetaUint16 struct {
  399. MetaUint16 *ColumnUint16 `protobuf:"bytes,8,opt,name=meta_uint16,json=metaUint16,proto3,oneof"`
  400. }
  401. type ColumnSplit_MetaUint32 struct {
  402. MetaUint32 *ColumnUint32 `protobuf:"bytes,9,opt,name=meta_uint32,json=metaUint32,proto3,oneof"`
  403. }
  404. type ColumnSplit_MetaFloat32 struct {
  405. MetaFloat32 *ColumnFloat32 `protobuf:"bytes,10,opt,name=meta_float32,json=metaFloat32,proto3,oneof"`
  406. }
  407. func (*ColumnSplit_MetaUint16) isColumnSplit_StorageType() {}
  408. func (*ColumnSplit_MetaUint32) isColumnSplit_StorageType() {}
  409. func (*ColumnSplit_MetaFloat32) isColumnSplit_StorageType() {}
  410. type Snapshot struct {
  411. state protoimpl.MessageState
  412. sizeCache protoimpl.SizeCache
  413. unknownFields protoimpl.UnknownFields
  414. // All fields of the dataset, including the nested fields.
  415. Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
  416. DataFiles []string `protobuf:"bytes,2,rep,name=data_files,json=dataFiles,proto3" json:"data_files,omitempty"`
  417. // Snapshot version number.
  418. Version uint64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
  419. }
  420. func (x *Snapshot) Reset() {
  421. *x = Snapshot{}
  422. if protoimpl.UnsafeEnabled {
  423. mi := &file_columnar_proto_msgTypes[5]
  424. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  425. ms.StoreMessageInfo(mi)
  426. }
  427. }
  428. func (x *Snapshot) String() string {
  429. return protoimpl.X.MessageStringOf(x)
  430. }
  431. func (*Snapshot) ProtoMessage() {}
  432. func (x *Snapshot) ProtoReflect() protoreflect.Message {
  433. mi := &file_columnar_proto_msgTypes[5]
  434. if protoimpl.UnsafeEnabled && x != nil {
  435. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  436. if ms.LoadMessageInfo() == nil {
  437. ms.StoreMessageInfo(mi)
  438. }
  439. return ms
  440. }
  441. return mi.MessageOf(x)
  442. }
  443. // Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.
  444. func (*Snapshot) Descriptor() ([]byte, []int) {
  445. return file_columnar_proto_rawDescGZIP(), []int{5}
  446. }
  447. func (x *Snapshot) GetFields() []*Field {
  448. if x != nil {
  449. return x.Fields
  450. }
  451. return nil
  452. }
  453. func (x *Snapshot) GetDataFiles() []string {
  454. if x != nil {
  455. return x.DataFiles
  456. }
  457. return nil
  458. }
  459. func (x *Snapshot) GetVersion() uint64 {
  460. if x != nil {
  461. return x.Version
  462. }
  463. return 0
  464. }
  465. type DataFile struct {
  466. state protoimpl.MessageState
  467. sizeCache protoimpl.SizeCache
  468. unknownFields protoimpl.UnknownFields
  469. FieldIds []int32 `protobuf:"varint,1,rep,packed,name=field_ids,json=fieldIds,proto3" json:"field_ids,omitempty"`
  470. RowGroups []*RowGroup `protobuf:"bytes,2,rep,name=row_groups,json=rowGroups,proto3" json:"row_groups,omitempty"`
  471. }
  472. func (x *DataFile) Reset() {
  473. *x = DataFile{}
  474. if protoimpl.UnsafeEnabled {
  475. mi := &file_columnar_proto_msgTypes[6]
  476. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  477. ms.StoreMessageInfo(mi)
  478. }
  479. }
  480. func (x *DataFile) String() string {
  481. return protoimpl.X.MessageStringOf(x)
  482. }
  483. func (*DataFile) ProtoMessage() {}
  484. func (x *DataFile) ProtoReflect() protoreflect.Message {
  485. mi := &file_columnar_proto_msgTypes[6]
  486. if protoimpl.UnsafeEnabled && x != nil {
  487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  488. if ms.LoadMessageInfo() == nil {
  489. ms.StoreMessageInfo(mi)
  490. }
  491. return ms
  492. }
  493. return mi.MessageOf(x)
  494. }
  495. // Deprecated: Use DataFile.ProtoReflect.Descriptor instead.
  496. func (*DataFile) Descriptor() ([]byte, []int) {
  497. return file_columnar_proto_rawDescGZIP(), []int{6}
  498. }
  499. func (x *DataFile) GetFieldIds() []int32 {
  500. if x != nil {
  501. return x.FieldIds
  502. }
  503. return nil
  504. }
  505. func (x *DataFile) GetRowGroups() []*RowGroup {
  506. if x != nil {
  507. return x.RowGroups
  508. }
  509. return nil
  510. }
  511. type RowGroup struct {
  512. state protoimpl.MessageState
  513. sizeCache protoimpl.SizeCache
  514. unknownFields protoimpl.UnknownFields
  515. RowOffset int64 `protobuf:"varint,1,opt,name=row_offset,json=rowOffset,proto3" json:"row_offset,omitempty"`
  516. RowCount int32 `protobuf:"varint,2,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
  517. ColumnSplits []*ColumnSplit `protobuf:"bytes,3,rep,name=column_splits,json=columnSplits,proto3" json:"column_splits,omitempty"`
  518. }
  519. func (x *RowGroup) Reset() {
  520. *x = RowGroup{}
  521. if protoimpl.UnsafeEnabled {
  522. mi := &file_columnar_proto_msgTypes[7]
  523. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  524. ms.StoreMessageInfo(mi)
  525. }
  526. }
  527. func (x *RowGroup) String() string {
  528. return protoimpl.X.MessageStringOf(x)
  529. }
  530. func (*RowGroup) ProtoMessage() {}
  531. func (x *RowGroup) ProtoReflect() protoreflect.Message {
  532. mi := &file_columnar_proto_msgTypes[7]
  533. if protoimpl.UnsafeEnabled && x != nil {
  534. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  535. if ms.LoadMessageInfo() == nil {
  536. ms.StoreMessageInfo(mi)
  537. }
  538. return ms
  539. }
  540. return mi.MessageOf(x)
  541. }
  542. // Deprecated: Use RowGroup.ProtoReflect.Descriptor instead.
  543. func (*RowGroup) Descriptor() ([]byte, []int) {
  544. return file_columnar_proto_rawDescGZIP(), []int{7}
  545. }
  546. func (x *RowGroup) GetRowOffset() int64 {
  547. if x != nil {
  548. return x.RowOffset
  549. }
  550. return 0
  551. }
  552. func (x *RowGroup) GetRowCount() int32 {
  553. if x != nil {
  554. return x.RowCount
  555. }
  556. return 0
  557. }
  558. func (x *RowGroup) GetColumnSplits() []*ColumnSplit {
  559. if x != nil {
  560. return x.ColumnSplits
  561. }
  562. return nil
  563. }
  564. // Field metadata for a column.
  565. type Field struct {
  566. state protoimpl.MessageState
  567. sizeCache protoimpl.SizeCache
  568. unknownFields protoimpl.UnknownFields
  569. Type Field_Type `protobuf:"varint,1,opt,name=type,proto3,enum=columnar_pb.Field_Type" json:"type,omitempty"`
  570. // Fully qualified name.
  571. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  572. // / Field Id.
  573. Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
  574. // / Parent Field ID. If not set, this is a top-level column.
  575. ParentId int32 `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
  576. // Logical types, support parameterized Arrow Type.
  577. LogicalType LogicalType `protobuf:"varint,5,opt,name=logical_type,json=logicalType,proto3,enum=columnar_pb.LogicalType" json:"logical_type,omitempty"`
  578. // If this field is nullable.
  579. Nullable bool `protobuf:"varint,6,opt,name=nullable,proto3" json:"nullable,omitempty"`
  580. }
  581. func (x *Field) Reset() {
  582. *x = Field{}
  583. if protoimpl.UnsafeEnabled {
  584. mi := &file_columnar_proto_msgTypes[8]
  585. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  586. ms.StoreMessageInfo(mi)
  587. }
  588. }
  589. func (x *Field) String() string {
  590. return protoimpl.X.MessageStringOf(x)
  591. }
  592. func (*Field) ProtoMessage() {}
  593. func (x *Field) ProtoReflect() protoreflect.Message {
  594. mi := &file_columnar_proto_msgTypes[8]
  595. if protoimpl.UnsafeEnabled && x != nil {
  596. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  597. if ms.LoadMessageInfo() == nil {
  598. ms.StoreMessageInfo(mi)
  599. }
  600. return ms
  601. }
  602. return mi.MessageOf(x)
  603. }
  604. // Deprecated: Use Field.ProtoReflect.Descriptor instead.
  605. func (*Field) Descriptor() ([]byte, []int) {
  606. return file_columnar_proto_rawDescGZIP(), []int{8}
  607. }
  608. func (x *Field) GetType() Field_Type {
  609. if x != nil {
  610. return x.Type
  611. }
  612. return Field_PARENT
  613. }
  614. func (x *Field) GetName() string {
  615. if x != nil {
  616. return x.Name
  617. }
  618. return ""
  619. }
  620. func (x *Field) GetId() int32 {
  621. if x != nil {
  622. return x.Id
  623. }
  624. return 0
  625. }
  626. func (x *Field) GetParentId() int32 {
  627. if x != nil {
  628. return x.ParentId
  629. }
  630. return 0
  631. }
  632. func (x *Field) GetLogicalType() LogicalType {
  633. if x != nil {
  634. return x.LogicalType
  635. }
  636. return LogicalType_Uint8
  637. }
  638. func (x *Field) GetNullable() bool {
  639. if x != nil {
  640. return x.Nullable
  641. }
  642. return false
  643. }
  644. type AnyValue struct {
  645. state protoimpl.MessageState
  646. sizeCache protoimpl.SizeCache
  647. unknownFields protoimpl.UnknownFields
  648. // Types that are assignable to Value:
  649. //
  650. // *AnyValue_BytesValue
  651. // *AnyValue_BoolValue
  652. // *AnyValue_Int64Value
  653. // *AnyValue_Int32Value
  654. // *AnyValue_DoubleValue
  655. Value isAnyValue_Value `protobuf_oneof:"value"`
  656. }
  657. func (x *AnyValue) Reset() {
  658. *x = AnyValue{}
  659. if protoimpl.UnsafeEnabled {
  660. mi := &file_columnar_proto_msgTypes[9]
  661. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  662. ms.StoreMessageInfo(mi)
  663. }
  664. }
  665. func (x *AnyValue) String() string {
  666. return protoimpl.X.MessageStringOf(x)
  667. }
  668. func (*AnyValue) ProtoMessage() {}
  669. func (x *AnyValue) ProtoReflect() protoreflect.Message {
  670. mi := &file_columnar_proto_msgTypes[9]
  671. if protoimpl.UnsafeEnabled && x != nil {
  672. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  673. if ms.LoadMessageInfo() == nil {
  674. ms.StoreMessageInfo(mi)
  675. }
  676. return ms
  677. }
  678. return mi.MessageOf(x)
  679. }
  680. // Deprecated: Use AnyValue.ProtoReflect.Descriptor instead.
  681. func (*AnyValue) Descriptor() ([]byte, []int) {
  682. return file_columnar_proto_rawDescGZIP(), []int{9}
  683. }
  684. func (m *AnyValue) GetValue() isAnyValue_Value {
  685. if m != nil {
  686. return m.Value
  687. }
  688. return nil
  689. }
  690. func (x *AnyValue) GetBytesValue() []byte {
  691. if x, ok := x.GetValue().(*AnyValue_BytesValue); ok {
  692. return x.BytesValue
  693. }
  694. return nil
  695. }
  696. func (x *AnyValue) GetBoolValue() bool {
  697. if x, ok := x.GetValue().(*AnyValue_BoolValue); ok {
  698. return x.BoolValue
  699. }
  700. return false
  701. }
  702. func (x *AnyValue) GetInt64Value() uint64 {
  703. if x, ok := x.GetValue().(*AnyValue_Int64Value); ok {
  704. return x.Int64Value
  705. }
  706. return 0
  707. }
  708. func (x *AnyValue) GetInt32Value() uint32 {
  709. if x, ok := x.GetValue().(*AnyValue_Int32Value); ok {
  710. return x.Int32Value
  711. }
  712. return 0
  713. }
  714. func (x *AnyValue) GetDoubleValue() float64 {
  715. if x, ok := x.GetValue().(*AnyValue_DoubleValue); ok {
  716. return x.DoubleValue
  717. }
  718. return 0
  719. }
  720. type isAnyValue_Value interface {
  721. isAnyValue_Value()
  722. }
  723. type AnyValue_BytesValue struct {
  724. BytesValue []byte `protobuf:"bytes,1,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
  725. }
  726. type AnyValue_BoolValue struct {
  727. BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
  728. }
  729. type AnyValue_Int64Value struct {
  730. Int64Value uint64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
  731. }
  732. type AnyValue_Int32Value struct {
  733. Int32Value uint32 `protobuf:"varint,4,opt,name=int32_value,json=int32Value,proto3,oneof"`
  734. }
  735. type AnyValue_DoubleValue struct {
  736. DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
  737. }
  738. func (*AnyValue_BytesValue) isAnyValue_Value() {}
  739. func (*AnyValue_BoolValue) isAnyValue_Value() {}
  740. func (*AnyValue_Int64Value) isAnyValue_Value() {}
  741. func (*AnyValue_Int32Value) isAnyValue_Value() {}
  742. func (*AnyValue_DoubleValue) isAnyValue_Value() {}
  743. var File_columnar_proto protoreflect.FileDescriptor
  744. var file_columnar_proto_rawDesc = []byte{
  745. 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  746. 0x12, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61, 0x72, 0x5f, 0x70, 0x62, 0x22, 0x58, 0x0a,
  747. 0x06, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  748. 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75,
  749. 0x6d, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79,
  750. 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12,
  751. 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x07, 0x52,
  752. 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x22, 0x46, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
  753. 0x6e, 0x55, 0x69, 0x6e, 0x74, 0x31, 0x36, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18,
  754. 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d,
  755. 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6d, 0x69, 0x6e, 0x12, 0x10, 0x0a,
  756. 0x03, 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6d, 0x61, 0x78, 0x22,
  757. 0x46, 0x0a, 0x0c, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
  758. 0x12, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x62,
  759. 0x61, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
  760. 0x52, 0x03, 0x6d, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61, 0x78, 0x18, 0x04, 0x20, 0x01,
  761. 0x28, 0x0d, 0x52, 0x03, 0x6d, 0x61, 0x78, 0x22, 0x33, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
  762. 0x6e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x33, 0x32, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x6e, 0x18,
  763. 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6d, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x61,
  764. 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6d, 0x61, 0x78, 0x22, 0xdf, 0x02, 0x0a,
  765. 0x0b, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08,
  766. 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
  767. 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f,
  768. 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
  769. 0x6e, 0x61, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x06, 0x66,
  770. 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x77, 0x5f, 0x6f, 0x66, 0x66,
  771. 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x4f, 0x66,
  772. 0x66, 0x73, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
  773. 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e,
  774. 0x74, 0x12, 0x3c, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x31, 0x36,
  775. 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61,
  776. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x55, 0x69, 0x6e, 0x74, 0x31,
  777. 0x36, 0x48, 0x00, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x55, 0x69, 0x6e, 0x74, 0x31, 0x36, 0x12,
  778. 0x3c, 0x0a, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x09,
  779. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61, 0x72, 0x5f,
  780. 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x48,
  781. 0x00, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x61, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x3f, 0x0a,
  782. 0x0c, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x33, 0x32, 0x18, 0x0a, 0x20,
  783. 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61, 0x72, 0x5f, 0x70,
  784. 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x33, 0x32, 0x48,
  785. 0x00, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x33, 0x32, 0x42, 0x0e,
  786. 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x6f,
  787. 0x0a, 0x08, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x2a, 0x0a, 0x06, 0x66, 0x69,
  788. 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6c,
  789. 0x75, 0x6d, 0x6e, 0x61, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06,
  790. 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x66,
  791. 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61,
  792. 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  793. 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22,
  794. 0x5d, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66,
  795. 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08,
  796. 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x64, 0x73, 0x12, 0x34, 0x0a, 0x0a, 0x72, 0x6f, 0x77, 0x5f,
  797. 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63,
  798. 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x6f, 0x77, 0x47, 0x72,
  799. 0x6f, 0x75, 0x70, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x85,
  800. 0x01, 0x0a, 0x08, 0x52, 0x6f, 0x77, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72,
  801. 0x6f, 0x77, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
  802. 0x09, 0x72, 0x6f, 0x77, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f,
  803. 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72,
  804. 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0d, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
  805. 0x6e, 0x5f, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18,
  806. 0x2e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c,
  807. 0x75, 0x6d, 0x6e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x52, 0x0c, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
  808. 0x53, 0x70, 0x6c, 0x69, 0x74, 0x73, 0x22, 0xfa, 0x01, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64,
  809. 0x12, 0x2b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17,
  810. 0x2e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x65,
  811. 0x6c, 0x64, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a,
  812. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  813. 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69,
  814. 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04,
  815. 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x3b,
  816. 0x0a, 0x0c, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05,
  817. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61, 0x72, 0x5f,
  818. 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b,
  819. 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e,
  820. 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e,
  821. 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x2a, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12,
  822. 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x52, 0x45, 0x4e, 0x54, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x52,
  823. 0x45, 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x45, 0x41,
  824. 0x46, 0x10, 0x02, 0x22, 0xc2, 0x01, 0x0a, 0x08, 0x41, 0x6e, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
  825. 0x12, 0x21, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
  826. 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61,
  827. 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  828. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56,
  829. 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61,
  830. 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, 0x74,
  831. 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x33, 0x32,
  832. 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0a,
  833. 0x69, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f,
  834. 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01,
  835. 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42,
  836. 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0x31, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x69,
  837. 0x63, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x69, 0x6e, 0x74, 0x38,
  838. 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x69, 0x6e, 0x74, 0x31, 0x36, 0x10, 0x01, 0x12, 0x0b,
  839. 0x0a, 0x07, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x33, 0x32, 0x10, 0x04, 0x42, 0x36, 0x5a, 0x34, 0x67,
  840. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65,
  841. 0x64, 0x66, 0x73, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65,
  842. 0x65, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x61, 0x72,
  843. 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  844. }
  845. var (
  846. file_columnar_proto_rawDescOnce sync.Once
  847. file_columnar_proto_rawDescData = file_columnar_proto_rawDesc
  848. )
  849. func file_columnar_proto_rawDescGZIP() []byte {
  850. file_columnar_proto_rawDescOnce.Do(func() {
  851. file_columnar_proto_rawDescData = protoimpl.X.CompressGZIP(file_columnar_proto_rawDescData)
  852. })
  853. return file_columnar_proto_rawDescData
  854. }
  855. var file_columnar_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  856. var file_columnar_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  857. var file_columnar_proto_goTypes = []interface{}{
  858. (LogicalType)(0), // 0: columnar_pb.LogicalType
  859. (Field_Type)(0), // 1: columnar_pb.Field.Type
  860. (*FileId)(nil), // 2: columnar_pb.FileId
  861. (*ColumnUint16)(nil), // 3: columnar_pb.ColumnUint16
  862. (*ColumnUint32)(nil), // 4: columnar_pb.ColumnUint32
  863. (*ColumnFloat32)(nil), // 5: columnar_pb.ColumnFloat32
  864. (*ColumnSplit)(nil), // 6: columnar_pb.ColumnSplit
  865. (*Snapshot)(nil), // 7: columnar_pb.Snapshot
  866. (*DataFile)(nil), // 8: columnar_pb.DataFile
  867. (*RowGroup)(nil), // 9: columnar_pb.RowGroup
  868. (*Field)(nil), // 10: columnar_pb.Field
  869. (*AnyValue)(nil), // 11: columnar_pb.AnyValue
  870. }
  871. var file_columnar_proto_depIdxs = []int32{
  872. 2, // 0: columnar_pb.ColumnSplit.file_id:type_name -> columnar_pb.FileId
  873. 3, // 1: columnar_pb.ColumnSplit.meta_uint16:type_name -> columnar_pb.ColumnUint16
  874. 4, // 2: columnar_pb.ColumnSplit.meta_uint32:type_name -> columnar_pb.ColumnUint32
  875. 5, // 3: columnar_pb.ColumnSplit.meta_float32:type_name -> columnar_pb.ColumnFloat32
  876. 10, // 4: columnar_pb.Snapshot.fields:type_name -> columnar_pb.Field
  877. 9, // 5: columnar_pb.DataFile.row_groups:type_name -> columnar_pb.RowGroup
  878. 6, // 6: columnar_pb.RowGroup.column_splits:type_name -> columnar_pb.ColumnSplit
  879. 1, // 7: columnar_pb.Field.type:type_name -> columnar_pb.Field.Type
  880. 0, // 8: columnar_pb.Field.logical_type:type_name -> columnar_pb.LogicalType
  881. 9, // [9:9] is the sub-list for method output_type
  882. 9, // [9:9] is the sub-list for method input_type
  883. 9, // [9:9] is the sub-list for extension type_name
  884. 9, // [9:9] is the sub-list for extension extendee
  885. 0, // [0:9] is the sub-list for field type_name
  886. }
  887. func init() { file_columnar_proto_init() }
  888. func file_columnar_proto_init() {
  889. if File_columnar_proto != nil {
  890. return
  891. }
  892. if !protoimpl.UnsafeEnabled {
  893. file_columnar_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  894. switch v := v.(*FileId); i {
  895. case 0:
  896. return &v.state
  897. case 1:
  898. return &v.sizeCache
  899. case 2:
  900. return &v.unknownFields
  901. default:
  902. return nil
  903. }
  904. }
  905. file_columnar_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  906. switch v := v.(*ColumnUint16); i {
  907. case 0:
  908. return &v.state
  909. case 1:
  910. return &v.sizeCache
  911. case 2:
  912. return &v.unknownFields
  913. default:
  914. return nil
  915. }
  916. }
  917. file_columnar_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  918. switch v := v.(*ColumnUint32); i {
  919. case 0:
  920. return &v.state
  921. case 1:
  922. return &v.sizeCache
  923. case 2:
  924. return &v.unknownFields
  925. default:
  926. return nil
  927. }
  928. }
  929. file_columnar_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  930. switch v := v.(*ColumnFloat32); i {
  931. case 0:
  932. return &v.state
  933. case 1:
  934. return &v.sizeCache
  935. case 2:
  936. return &v.unknownFields
  937. default:
  938. return nil
  939. }
  940. }
  941. file_columnar_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  942. switch v := v.(*ColumnSplit); i {
  943. case 0:
  944. return &v.state
  945. case 1:
  946. return &v.sizeCache
  947. case 2:
  948. return &v.unknownFields
  949. default:
  950. return nil
  951. }
  952. }
  953. file_columnar_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  954. switch v := v.(*Snapshot); i {
  955. case 0:
  956. return &v.state
  957. case 1:
  958. return &v.sizeCache
  959. case 2:
  960. return &v.unknownFields
  961. default:
  962. return nil
  963. }
  964. }
  965. file_columnar_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  966. switch v := v.(*DataFile); i {
  967. case 0:
  968. return &v.state
  969. case 1:
  970. return &v.sizeCache
  971. case 2:
  972. return &v.unknownFields
  973. default:
  974. return nil
  975. }
  976. }
  977. file_columnar_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  978. switch v := v.(*RowGroup); i {
  979. case 0:
  980. return &v.state
  981. case 1:
  982. return &v.sizeCache
  983. case 2:
  984. return &v.unknownFields
  985. default:
  986. return nil
  987. }
  988. }
  989. file_columnar_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  990. switch v := v.(*Field); i {
  991. case 0:
  992. return &v.state
  993. case 1:
  994. return &v.sizeCache
  995. case 2:
  996. return &v.unknownFields
  997. default:
  998. return nil
  999. }
  1000. }
  1001. file_columnar_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1002. switch v := v.(*AnyValue); i {
  1003. case 0:
  1004. return &v.state
  1005. case 1:
  1006. return &v.sizeCache
  1007. case 2:
  1008. return &v.unknownFields
  1009. default:
  1010. return nil
  1011. }
  1012. }
  1013. }
  1014. file_columnar_proto_msgTypes[4].OneofWrappers = []interface{}{
  1015. (*ColumnSplit_MetaUint16)(nil),
  1016. (*ColumnSplit_MetaUint32)(nil),
  1017. (*ColumnSplit_MetaFloat32)(nil),
  1018. }
  1019. file_columnar_proto_msgTypes[9].OneofWrappers = []interface{}{
  1020. (*AnyValue_BytesValue)(nil),
  1021. (*AnyValue_BoolValue)(nil),
  1022. (*AnyValue_Int64Value)(nil),
  1023. (*AnyValue_Int32Value)(nil),
  1024. (*AnyValue_DoubleValue)(nil),
  1025. }
  1026. type x struct{}
  1027. out := protoimpl.TypeBuilder{
  1028. File: protoimpl.DescBuilder{
  1029. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1030. RawDescriptor: file_columnar_proto_rawDesc,
  1031. NumEnums: 2,
  1032. NumMessages: 10,
  1033. NumExtensions: 0,
  1034. NumServices: 0,
  1035. },
  1036. GoTypes: file_columnar_proto_goTypes,
  1037. DependencyIndexes: file_columnar_proto_depIdxs,
  1038. EnumInfos: file_columnar_proto_enumTypes,
  1039. MessageInfos: file_columnar_proto_msgTypes,
  1040. }.Build()
  1041. File_columnar_proto = out.File
  1042. file_columnar_proto_rawDesc = nil
  1043. file_columnar_proto_goTypes = nil
  1044. file_columnar_proto_depIdxs = nil
  1045. }