Documentation ¶
Index ¶
- Variables
- type CRDTValue
- func (*CRDTValue) Descriptor() ([]byte, []int)deprecated
- func (x *CRDTValue) GetModEpochNanos() int64
- func (x *CRDTValue) GetPreviousRoot() string
- func (x *CRDTValue) GetTombstoneSinceEpochNanos() int64
- func (x *CRDTValue) GetValue() *Row
- func (*CRDTValue) ProtoMessage()
- func (x *CRDTValue) ProtoReflect() protoreflect.Message
- func (x *CRDTValue) Reset()
- func (x *CRDTValue) String() string
- type ColumnValue
- func (*ColumnValue) Descriptor() ([]byte, []int)deprecated
- func (x *ColumnValue) GetUpdateOffset() *durationpb.Duration
- func (x *ColumnValue) GetValue() *SQLiteValue
- func (*ColumnValue) ProtoMessage()
- func (x *ColumnValue) ProtoReflect() protoreflect.Message
- func (x *ColumnValue) Reset()
- func (x *ColumnValue) String() string
- type Node
- type Row
- func (*Row) Descriptor() ([]byte, []int)deprecated
- func (x *Row) GetColumnValues() map[string]*ColumnValue
- func (x *Row) GetDeleteUpdateOffset() *durationpb.Duration
- func (x *Row) GetDeleted() bool
- func (*Row) ProtoMessage()
- func (x *Row) ProtoReflect() protoreflect.Message
- func (x *Row) Reset()
- func (x *Row) String() string
- type SQLiteValue
- func (*SQLiteValue) Descriptor() ([]byte, []int)deprecated
- func (x *SQLiteValue) GetBlob() []byte
- func (x *SQLiteValue) GetInt() int64
- func (x *SQLiteValue) GetReal() float64
- func (x *SQLiteValue) GetText() string
- func (x *SQLiteValue) GetType() Type
- func (*SQLiteValue) ProtoMessage()
- func (x *SQLiteValue) ProtoReflect() protoreflect.Message
- func (x *SQLiteValue) Reset()
- func (x *SQLiteValue) String() string
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Type_name = map[int32]string{ 0: "NULL", 1: "INT", 2: "REAL", 3: "TEXT", 4: "BLOB", } Type_value = map[string]int32{ "NULL": 0, "INT": 1, "REAL": 2, "TEXT": 3, "BLOB": 4, } )
Enum value maps for Type.
View Source
var File_v1_node_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CRDTValue ¶
type CRDTValue struct { ModEpochNanos int64 `protobuf:"varint,1,opt,name=ModEpochNanos,proto3" json:"ModEpochNanos,omitempty"` PreviousRoot string `protobuf:"bytes,2,opt,name=PreviousRoot,proto3" json:"PreviousRoot,omitempty"` TombstoneSinceEpochNanos int64 `protobuf:"varint,3,opt,name=TombstoneSinceEpochNanos,proto3" json:"TombstoneSinceEpochNanos,omitempty"` Value *Row `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*CRDTValue) Descriptor
deprecated
func (*CRDTValue) GetModEpochNanos ¶
func (*CRDTValue) GetPreviousRoot ¶
func (*CRDTValue) GetTombstoneSinceEpochNanos ¶
func (*CRDTValue) ProtoMessage ¶
func (*CRDTValue) ProtoMessage()
func (*CRDTValue) ProtoReflect ¶
func (x *CRDTValue) ProtoReflect() protoreflect.Message
type ColumnValue ¶
type ColumnValue struct { UpdateOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=UpdateOffset,proto3" json:"UpdateOffset,omitempty"` Value *SQLiteValue `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*ColumnValue) Descriptor
deprecated
func (*ColumnValue) Descriptor() ([]byte, []int)
Deprecated: Use ColumnValue.ProtoReflect.Descriptor instead.
func (*ColumnValue) GetUpdateOffset ¶
func (x *ColumnValue) GetUpdateOffset() *durationpb.Duration
func (*ColumnValue) GetValue ¶
func (x *ColumnValue) GetValue() *SQLiteValue
func (*ColumnValue) ProtoMessage ¶
func (*ColumnValue) ProtoMessage()
func (*ColumnValue) ProtoReflect ¶
func (x *ColumnValue) ProtoReflect() protoreflect.Message
func (*ColumnValue) Reset ¶
func (x *ColumnValue) Reset()
func (*ColumnValue) String ¶
func (x *ColumnValue) String() string
type Node ¶
type Node struct { Key []*SQLiteValue `protobuf:"bytes,1,rep,name=key,proto3" json:"key,omitempty"` Value []*CRDTValue `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` Link []string `protobuf:"bytes,3,rep,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetKey ¶
func (x *Node) GetKey() []*SQLiteValue
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Row ¶
type Row struct { ColumnValues map[string]*ColumnValue `` /* 165-byte string literal not displayed */ Deleted bool `protobuf:"varint,2,opt,name=Deleted,proto3" json:"Deleted,omitempty"` DeleteUpdateOffset *durationpb.Duration `protobuf:"bytes,3,opt,name=DeleteUpdateOffset,proto3" json:"DeleteUpdateOffset,omitempty"` // contains filtered or unexported fields }
func (*Row) Descriptor
deprecated
func (*Row) GetColumnValues ¶
func (x *Row) GetColumnValues() map[string]*ColumnValue
func (*Row) GetDeleteUpdateOffset ¶
func (x *Row) GetDeleteUpdateOffset() *durationpb.Duration
func (*Row) GetDeleted ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
func (*Row) ProtoReflect ¶
func (x *Row) ProtoReflect() protoreflect.Message
type SQLiteValue ¶
type SQLiteValue struct { Type Type `protobuf:"varint,1,opt,name=Type,proto3,enum=jrhy.s3db.v1.Type" json:"Type,omitempty"` Int int64 `protobuf:"varint,2,opt,name=Int,proto3" json:"Int,omitempty"` Real float64 `protobuf:"fixed64,3,opt,name=Real,proto3" json:"Real,omitempty"` Text string `protobuf:"bytes,4,opt,name=Text,proto3" json:"Text,omitempty"` Blob []byte `protobuf:"bytes,5,opt,name=Blob,proto3" json:"Blob,omitempty"` // contains filtered or unexported fields }
func (*SQLiteValue) Descriptor
deprecated
func (*SQLiteValue) Descriptor() ([]byte, []int)
Deprecated: Use SQLiteValue.ProtoReflect.Descriptor instead.
func (*SQLiteValue) GetBlob ¶
func (x *SQLiteValue) GetBlob() []byte
func (*SQLiteValue) GetInt ¶
func (x *SQLiteValue) GetInt() int64
func (*SQLiteValue) GetReal ¶
func (x *SQLiteValue) GetReal() float64
func (*SQLiteValue) GetText ¶
func (x *SQLiteValue) GetText() string
func (*SQLiteValue) GetType ¶
func (x *SQLiteValue) GetType() Type
func (*SQLiteValue) ProtoMessage ¶
func (*SQLiteValue) ProtoMessage()
func (*SQLiteValue) ProtoReflect ¶
func (x *SQLiteValue) ProtoReflect() protoreflect.Message
func (*SQLiteValue) Reset ¶
func (x *SQLiteValue) Reset()
func (*SQLiteValue) String ¶
func (x *SQLiteValue) String() string
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.