Documentation ¶
Index ¶
- Variables
- type HistoryEntry
- type LogDelta
- func (*LogDelta) Descriptor() ([]byte, []int)deprecated
- func (x *LogDelta) GetAction() int32
- func (x *LogDelta) GetID() uint64
- func (x *LogDelta) GetQuad() *pquads.Quad
- func (x *LogDelta) GetTimestamp() int64
- func (*LogDelta) ProtoMessage()
- func (x *LogDelta) ProtoReflect() protoreflect.Message
- func (x *LogDelta) Reset()
- func (x *LogDelta) String() string
- type NodeData
- func (*NodeData) Descriptor() ([]byte, []int)deprecated
- func (x *NodeData) GetName() string
- func (m *NodeData) GetNativeValue() quad.Value
- func (x *NodeData) GetSize() int64
- func (x *NodeData) GetValue() *pquads.Value
- func (*NodeData) ProtoMessage()
- func (x *NodeData) ProtoReflect() protoreflect.Message
- func (x *NodeData) Reset()
- func (x *NodeData) String() string
- func (m *NodeData) Upgrade()
- type Primitive
- func (*Primitive) Descriptor() ([]byte, []int)deprecated
- func (x *Primitive) GetDeleted() bool
- func (p *Primitive) GetDirection(d quad.Direction) uint64
- func (x *Primitive) GetID() uint64
- func (x *Primitive) GetLabel() uint64
- func (x *Primitive) GetObject() uint64
- func (x *Primitive) GetPredicate() uint64
- func (x *Primitive) GetReplaces() uint64
- func (x *Primitive) GetSubject() uint64
- func (x *Primitive) GetTimestamp() int64
- func (x *Primitive) GetValue() []byte
- func (p *Primitive) IsNode() bool
- func (p *Primitive) IsSameLink(q *Primitive) bool
- func (p *Primitive) Key() interface{}
- func (*Primitive) ProtoMessage()
- func (x *Primitive) ProtoReflect() protoreflect.Message
- func (x *Primitive) Reset()
- func (p *Primitive) SetDirection(d quad.Direction, v uint64)
- func (x *Primitive) String() string
- type PrimitiveType
- func (PrimitiveType) Descriptor() protoreflect.EnumDescriptor
- func (x PrimitiveType) Enum() *PrimitiveType
- func (PrimitiveType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PrimitiveType) Number() protoreflect.EnumNumber
- func (x PrimitiveType) String() string
- func (PrimitiveType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PrimitiveType_name = map[int32]string{ 0: "LINK", 1: "IRI", 2: "STRING", 3: "BNODE", 4: "TYPED_STR", 5: "LANG_STR", 6: "INT", 7: "FLOAT", 8: "BOOL", 9: "TIMESTAMP", } PrimitiveType_value = map[string]int32{ "LINK": 0, "IRI": 1, "STRING": 2, "BNODE": 3, "TYPED_STR": 4, "LANG_STR": 5, "INT": 6, "FLOAT": 7, "BOOL": 8, "TIMESTAMP": 9, } )
Enum value maps for PrimitiveType.
View Source
var File_primitive_proto protoreflect.FileDescriptor
View Source
var File_serializations_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HistoryEntry ¶
type HistoryEntry struct { History []uint64 `protobuf:"varint,1,rep,packed,name=History,proto3" json:"History,omitempty"` // contains filtered or unexported fields }
func (*HistoryEntry) Descriptor
deprecated
func (*HistoryEntry) Descriptor() ([]byte, []int)
Deprecated: Use HistoryEntry.ProtoReflect.Descriptor instead.
func (*HistoryEntry) GetHistory ¶
func (x *HistoryEntry) GetHistory() []uint64
func (*HistoryEntry) ProtoMessage ¶
func (*HistoryEntry) ProtoMessage()
func (*HistoryEntry) ProtoReflect ¶
func (x *HistoryEntry) ProtoReflect() protoreflect.Message
func (*HistoryEntry) Reset ¶
func (x *HistoryEntry) Reset()
func (*HistoryEntry) String ¶
func (x *HistoryEntry) String() string
type LogDelta ¶
type LogDelta struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Quad *pquads.Quad `protobuf:"bytes,2,opt,name=Quad,proto3" json:"Quad,omitempty"` Action int32 `protobuf:"varint,3,opt,name=Action,proto3" json:"Action,omitempty"` Timestamp int64 `protobuf:"varint,4,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"` // contains filtered or unexported fields }
func (*LogDelta) Descriptor
deprecated
func (*LogDelta) GetTimestamp ¶
func (*LogDelta) ProtoMessage ¶
func (*LogDelta) ProtoMessage()
func (*LogDelta) ProtoReflect ¶
func (x *LogDelta) ProtoReflect() protoreflect.Message
type NodeData ¶
type NodeData struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Size int64 `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"` Value *pquads.Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*NodeData) Descriptor
deprecated
func (*NodeData) GetNativeValue ¶
GetNativeValue returns the value stored in Node.
func (*NodeData) ProtoMessage ¶
func (*NodeData) ProtoMessage()
func (*NodeData) ProtoReflect ¶
func (x *NodeData) ProtoReflect() protoreflect.Message
type Primitive ¶
type Primitive struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` Subject uint64 `protobuf:"varint,2,opt,name=Subject,proto3" json:"Subject,omitempty"` Predicate uint64 `protobuf:"varint,3,opt,name=Predicate,proto3" json:"Predicate,omitempty"` Object uint64 `protobuf:"varint,4,opt,name=Object,proto3" json:"Object,omitempty"` Label uint64 `protobuf:"varint,5,opt,name=Label,proto3" json:"Label,omitempty"` Replaces uint64 `protobuf:"varint,6,opt,name=Replaces,proto3" json:"Replaces,omitempty"` Timestamp int64 `protobuf:"varint,7,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"` Value []byte `protobuf:"bytes,8,opt,name=Value,proto3" json:"Value,omitempty"` Deleted bool `protobuf:"varint,9,opt,name=Deleted,proto3" json:"Deleted,omitempty"` // contains filtered or unexported fields }
func (*Primitive) Descriptor
deprecated
func (*Primitive) GetDeleted ¶
func (*Primitive) GetPredicate ¶
func (*Primitive) GetReplaces ¶
func (*Primitive) GetSubject ¶
func (*Primitive) GetTimestamp ¶
func (*Primitive) IsSameLink ¶
func (*Primitive) ProtoMessage ¶
func (*Primitive) ProtoMessage()
func (*Primitive) ProtoReflect ¶
func (x *Primitive) ProtoReflect() protoreflect.Message
type PrimitiveType ¶
type PrimitiveType int32
const ( PrimitiveType_LINK PrimitiveType = 0 PrimitiveType_IRI PrimitiveType = 1 PrimitiveType_STRING PrimitiveType = 2 PrimitiveType_BNODE PrimitiveType = 3 PrimitiveType_TYPED_STR PrimitiveType = 4 PrimitiveType_LANG_STR PrimitiveType = 5 PrimitiveType_INT PrimitiveType = 6 PrimitiveType_FLOAT PrimitiveType = 7 PrimitiveType_BOOL PrimitiveType = 8 PrimitiveType_TIMESTAMP PrimitiveType = 9 )
func (PrimitiveType) Descriptor ¶
func (PrimitiveType) Descriptor() protoreflect.EnumDescriptor
func (PrimitiveType) Enum ¶
func (x PrimitiveType) Enum() *PrimitiveType
func (PrimitiveType) EnumDescriptor
deprecated
func (PrimitiveType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PrimitiveType.Descriptor instead.
func (PrimitiveType) Number ¶
func (x PrimitiveType) Number() protoreflect.EnumNumber
func (PrimitiveType) String ¶
func (x PrimitiveType) String() string
func (PrimitiveType) Type ¶
func (PrimitiveType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.