Documentation ¶
Index ¶
- Variables
- type HistoryEntry
- func (m *HistoryEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *HistoryEntry) CloneVT() *HistoryEntry
- func (this *HistoryEntry) EqualMessageVT(thatMsg any) bool
- func (this *HistoryEntry) EqualVT(that *HistoryEntry) bool
- func (x *HistoryEntry) GetHistory() []uint64
- func (x *HistoryEntry) MarshalJSON() ([]byte, error)
- func (x *HistoryEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *HistoryEntry) MarshalProtoText() string
- func (m *HistoryEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *HistoryEntry) MarshalToVT(dAtA []byte) (int, error)
- func (m *HistoryEntry) MarshalVT() (dAtA []byte, err error)
- func (*HistoryEntry) ProtoMessage()
- func (x *HistoryEntry) Reset()
- func (m *HistoryEntry) SizeVT() (n int)
- func (x *HistoryEntry) String() string
- func (x *HistoryEntry) UnmarshalJSON(b []byte) error
- func (x *HistoryEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *HistoryEntry) UnmarshalVT(dAtA []byte) error
- type LogDelta
- func (m *LogDelta) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *LogDelta) CloneVT() *LogDelta
- func (this *LogDelta) EqualMessageVT(thatMsg any) bool
- func (this *LogDelta) EqualVT(that *LogDelta) bool
- func (x *LogDelta) GetAction() int32
- func (x *LogDelta) GetID() uint64
- func (x *LogDelta) GetQuad() *pquads.Quad
- func (x *LogDelta) GetTimestamp() int64
- func (x *LogDelta) MarshalJSON() ([]byte, error)
- func (x *LogDelta) MarshalProtoJSON(s *json.MarshalState)
- func (x *LogDelta) MarshalProtoText() string
- func (m *LogDelta) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LogDelta) MarshalToVT(dAtA []byte) (int, error)
- func (m *LogDelta) MarshalVT() (dAtA []byte, err error)
- func (*LogDelta) ProtoMessage()
- func (x *LogDelta) Reset()
- func (m *LogDelta) SizeVT() (n int)
- func (x *LogDelta) String() string
- func (x *LogDelta) UnmarshalJSON(b []byte) error
- func (x *LogDelta) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *LogDelta) UnmarshalVT(dAtA []byte) error
- type NodeData
- func (m *NodeData) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *NodeData) CloneVT() *NodeData
- func (this *NodeData) EqualMessageVT(thatMsg any) bool
- func (this *NodeData) EqualVT(that *NodeData) bool
- func (x *NodeData) GetName() string
- func (m *NodeData) GetNativeValue() quad.Value
- func (x *NodeData) GetSize() int64
- func (x *NodeData) GetValue() *pquads.Value
- func (x *NodeData) MarshalJSON() ([]byte, error)
- func (x *NodeData) MarshalProtoJSON(s *json.MarshalState)
- func (x *NodeData) MarshalProtoText() string
- func (m *NodeData) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *NodeData) MarshalToVT(dAtA []byte) (int, error)
- func (m *NodeData) MarshalVT() (dAtA []byte, err error)
- func (*NodeData) ProtoMessage()
- func (x *NodeData) Reset()
- func (m *NodeData) SizeVT() (n int)
- func (x *NodeData) String() string
- func (x *NodeData) UnmarshalJSON(b []byte) error
- func (x *NodeData) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *NodeData) UnmarshalVT(dAtA []byte) error
- func (m *NodeData) Upgrade()
- type Primitive
- func (m *Primitive) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Primitive) CloneVT() *Primitive
- func (this *Primitive) EqualMessageVT(thatMsg any) bool
- func (this *Primitive) EqualVT(that *Primitive) bool
- 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) GetValue() []byte
- func (p Primitive) IsNode() bool
- func (p *Primitive) IsSameLink(q *Primitive) bool
- func (p Primitive) Key() interface{}
- func (x *Primitive) MarshalJSON() ([]byte, error)
- func (x *Primitive) MarshalProtoJSON(s *json.MarshalState)
- func (x *Primitive) MarshalProtoText() string
- func (m *Primitive) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Primitive) MarshalToVT(dAtA []byte) (int, error)
- func (m *Primitive) MarshalVT() (dAtA []byte, err error)
- func (*Primitive) ProtoMessage()
- func (x *Primitive) Reset()
- func (p *Primitive) SetDirection(d quad.Direction, v uint64)
- func (m *Primitive) SizeVT() (n int)
- func (x *Primitive) String() string
- func (x *Primitive) UnmarshalJSON(b []byte) error
- func (x *Primitive) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Primitive) UnmarshalVT(dAtA []byte) error
- type PrimitiveType
- func (x PrimitiveType) Enum() *PrimitiveType
- func (x PrimitiveType) MarshalJSON() ([]byte, error)
- func (x PrimitiveType) MarshalProtoJSON(s *json.MarshalState)
- func (x PrimitiveType) MarshalProtoText() string
- func (x PrimitiveType) MarshalText() ([]byte, error)
- func (x PrimitiveType) String() string
- func (x *PrimitiveType) UnmarshalJSON(b []byte) error
- func (x *PrimitiveType) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (x *PrimitiveType) UnmarshalText(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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.
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) CloneMessageVT ¶ added in v0.9.0
func (m *HistoryEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*HistoryEntry) CloneVT ¶ added in v0.9.0
func (m *HistoryEntry) CloneVT() *HistoryEntry
func (*HistoryEntry) EqualMessageVT ¶ added in v0.9.0
func (this *HistoryEntry) EqualMessageVT(thatMsg any) bool
func (*HistoryEntry) EqualVT ¶ added in v0.9.0
func (this *HistoryEntry) EqualVT(that *HistoryEntry) bool
func (*HistoryEntry) GetHistory ¶ added in v0.7.0
func (x *HistoryEntry) GetHistory() []uint64
func (*HistoryEntry) MarshalJSON ¶ added in v0.9.0
func (x *HistoryEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the HistoryEntry to JSON.
func (*HistoryEntry) MarshalProtoJSON ¶ added in v0.9.0
func (x *HistoryEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the HistoryEntry message to JSON.
func (*HistoryEntry) MarshalProtoText ¶ added in v0.9.0
func (x *HistoryEntry) MarshalProtoText() string
func (*HistoryEntry) MarshalToSizedBufferVT ¶ added in v0.9.0
func (m *HistoryEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*HistoryEntry) MarshalToVT ¶ added in v0.9.0
func (m *HistoryEntry) MarshalToVT(dAtA []byte) (int, error)
func (*HistoryEntry) MarshalVT ¶ added in v0.9.0
func (m *HistoryEntry) MarshalVT() (dAtA []byte, err error)
func (*HistoryEntry) ProtoMessage ¶
func (*HistoryEntry) ProtoMessage()
func (*HistoryEntry) Reset ¶
func (x *HistoryEntry) Reset()
func (*HistoryEntry) SizeVT ¶ added in v0.9.0
func (m *HistoryEntry) SizeVT() (n int)
func (*HistoryEntry) String ¶
func (x *HistoryEntry) String() string
func (*HistoryEntry) UnmarshalJSON ¶ added in v0.9.0
func (x *HistoryEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the HistoryEntry from JSON.
func (*HistoryEntry) UnmarshalProtoJSON ¶ added in v0.9.0
func (x *HistoryEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the HistoryEntry message from JSON.
func (*HistoryEntry) UnmarshalVT ¶ added in v0.9.0
func (m *HistoryEntry) UnmarshalVT(dAtA []byte) error
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) CloneMessageVT ¶ added in v0.9.0
func (m *LogDelta) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*LogDelta) EqualMessageVT ¶ added in v0.9.0
func (*LogDelta) GetTimestamp ¶ added in v0.7.0
func (*LogDelta) MarshalJSON ¶ added in v0.9.0
MarshalJSON marshals the LogDelta to JSON.
func (*LogDelta) MarshalProtoJSON ¶ added in v0.9.0
func (x *LogDelta) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the LogDelta message to JSON.
func (*LogDelta) MarshalProtoText ¶ added in v0.9.0
func (*LogDelta) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*LogDelta) MarshalToVT ¶ added in v0.9.0
func (*LogDelta) ProtoMessage ¶
func (*LogDelta) ProtoMessage()
func (*LogDelta) UnmarshalJSON ¶ added in v0.9.0
UnmarshalJSON unmarshals the LogDelta from JSON.
func (*LogDelta) UnmarshalProtoJSON ¶ added in v0.9.0
func (x *LogDelta) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the LogDelta message from JSON.
func (*LogDelta) UnmarshalVT ¶ added in v0.9.0
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) CloneMessageVT ¶ added in v0.9.0
func (m *NodeData) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*NodeData) EqualMessageVT ¶ added in v0.9.0
func (*NodeData) GetNativeValue ¶ added in v0.6.0
GetNativeValue returns the value stored in Node.
func (*NodeData) MarshalJSON ¶ added in v0.9.0
MarshalJSON marshals the NodeData to JSON.
func (*NodeData) MarshalProtoJSON ¶ added in v0.9.0
func (x *NodeData) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the NodeData message to JSON.
func (*NodeData) MarshalProtoText ¶ added in v0.9.0
func (*NodeData) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*NodeData) MarshalToVT ¶ added in v0.9.0
func (*NodeData) ProtoMessage ¶
func (*NodeData) ProtoMessage()
func (*NodeData) UnmarshalJSON ¶ added in v0.9.0
UnmarshalJSON unmarshals the NodeData from JSON.
func (*NodeData) UnmarshalProtoJSON ¶ added in v0.9.0
func (x *NodeData) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the NodeData message from JSON.
func (*NodeData) UnmarshalVT ¶ added in v0.9.0
type Primitive ¶ added in v0.7.0
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"` 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) CloneMessageVT ¶ added in v0.9.0
func (m *Primitive) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Primitive) EqualMessageVT ¶ added in v0.9.0
func (*Primitive) GetDeleted ¶ added in v0.7.0
func (Primitive) GetDirection ¶ added in v0.7.0
func (*Primitive) GetPredicate ¶ added in v0.7.0
func (*Primitive) GetReplaces ¶ added in v0.7.0
func (*Primitive) GetSubject ¶ added in v0.7.0
func (*Primitive) IsSameLink ¶ added in v0.7.0
func (*Primitive) MarshalJSON ¶ added in v0.9.0
MarshalJSON marshals the Primitive to JSON.
func (*Primitive) MarshalProtoJSON ¶ added in v0.9.0
func (x *Primitive) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Primitive message to JSON.
func (*Primitive) MarshalProtoText ¶ added in v0.9.0
func (*Primitive) MarshalToSizedBufferVT ¶ added in v0.9.0
func (*Primitive) MarshalToVT ¶ added in v0.9.0
func (*Primitive) ProtoMessage ¶ added in v0.7.0
func (*Primitive) ProtoMessage()
func (*Primitive) SetDirection ¶ added in v0.7.0
func (*Primitive) UnmarshalJSON ¶ added in v0.9.0
UnmarshalJSON unmarshals the Primitive from JSON.
func (*Primitive) UnmarshalProtoJSON ¶ added in v0.9.0
func (x *Primitive) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Primitive message from JSON.
func (*Primitive) UnmarshalVT ¶ added in v0.9.0
type PrimitiveType ¶ added in v0.7.0
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) Enum ¶ added in v0.9.0
func (x PrimitiveType) Enum() *PrimitiveType
func (PrimitiveType) MarshalJSON ¶ added in v0.9.0
func (x PrimitiveType) MarshalJSON() ([]byte, error)
MarshalJSON marshals the PrimitiveType to JSON.
func (PrimitiveType) MarshalProtoJSON ¶ added in v0.9.0
func (x PrimitiveType) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the PrimitiveType to JSON.
func (PrimitiveType) MarshalProtoText ¶ added in v0.9.0
func (x PrimitiveType) MarshalProtoText() string
func (PrimitiveType) MarshalText ¶ added in v0.9.0
func (x PrimitiveType) MarshalText() ([]byte, error)
MarshalText marshals the PrimitiveType to text.
func (PrimitiveType) String ¶ added in v0.7.0
func (x PrimitiveType) String() string
func (*PrimitiveType) UnmarshalJSON ¶ added in v0.9.0
func (x *PrimitiveType) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the PrimitiveType from JSON.
func (*PrimitiveType) UnmarshalProtoJSON ¶ added in v0.9.0
func (x *PrimitiveType) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the PrimitiveType from JSON.
func (*PrimitiveType) UnmarshalText ¶ added in v0.9.0
func (x *PrimitiveType) UnmarshalText(b []byte) error
UnmarshalText unmarshals the PrimitiveType from text.