Versions in this module Expand all Collapse all v0 v0.9.4 Dec 4, 2017 v0.9.3 Dec 1, 2017 Changes in this version + var ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") + var Facet_ValType_name = map[int32]string + var Facet_ValType_value = map[string]int32 + func RegisterDgraphServer(s *grpc.Server, srv DgraphServer) + type Assigned struct + Context *TxnContext + Uids map[string]string + func (*Assigned) Descriptor() ([]byte, []int) + func (*Assigned) ProtoMessage() + func (m *Assigned) GetContext() *TxnContext + func (m *Assigned) GetUids() map[string]string + func (m *Assigned) Marshal() (dAtA []byte, err error) + func (m *Assigned) MarshalTo(dAtA []byte) (int, error) + func (m *Assigned) Reset() + func (m *Assigned) Size() (n int) + func (m *Assigned) String() string + func (m *Assigned) Unmarshal(dAtA []byte) error + type AssignedIds struct + EndId uint64 + StartId uint64 + func (*AssignedIds) Descriptor() ([]byte, []int) + func (*AssignedIds) ProtoMessage() + func (m *AssignedIds) GetEndId() uint64 + func (m *AssignedIds) GetStartId() uint64 + func (m *AssignedIds) Marshal() (dAtA []byte, err error) + func (m *AssignedIds) MarshalTo(dAtA []byte) (int, error) + func (m *AssignedIds) Reset() + func (m *AssignedIds) Size() (n int) + func (m *AssignedIds) String() string + func (m *AssignedIds) Unmarshal(dAtA []byte) error + type Check struct + func (*Check) Descriptor() ([]byte, []int) + func (*Check) ProtoMessage() + func (m *Check) Marshal() (dAtA []byte, err error) + func (m *Check) MarshalTo(dAtA []byte) (int, error) + func (m *Check) Reset() + func (m *Check) Size() (n int) + func (m *Check) String() string + func (m *Check) Unmarshal(dAtA []byte) error + type DgraphClient interface + Alter func(ctx context.Context, in *Operation, opts ...grpc.CallOption) (*Payload, error) + CheckVersion func(ctx context.Context, in *Check, opts ...grpc.CallOption) (*Version, error) + CommitOrAbort func(ctx context.Context, in *TxnContext, opts ...grpc.CallOption) (*TxnContext, error) + Mutate func(ctx context.Context, in *Mutation, opts ...grpc.CallOption) (*Assigned, error) + Query func(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error) + func NewDgraphClient(cc *grpc.ClientConn) DgraphClient + type DgraphServer interface + Alter func(context.Context, *Operation) (*Payload, error) + CheckVersion func(context.Context, *Check) (*Version, error) + CommitOrAbort func(context.Context, *TxnContext) (*TxnContext, error) + Mutate func(context.Context, *Mutation) (*Assigned, error) + Query func(context.Context, *Request) (*Response, error) + type Facet struct + Alias string + Key string + Tokens []string + ValType Facet_ValType + Value []byte + func (*Facet) Descriptor() ([]byte, []int) + func (*Facet) ProtoMessage() + func (m *Facet) GetAlias() string + func (m *Facet) GetKey() string + func (m *Facet) GetTokens() []string + func (m *Facet) GetValType() Facet_ValType + func (m *Facet) GetValue() []byte + func (m *Facet) Marshal() (dAtA []byte, err error) + func (m *Facet) MarshalTo(dAtA []byte) (int, error) + func (m *Facet) Reset() + func (m *Facet) Size() (n int) + func (m *Facet) String() string + func (m *Facet) Unmarshal(dAtA []byte) error + type Facet_ValType int32 + const Facet_BOOL + const Facet_DATETIME + const Facet_FLOAT + const Facet_INT + const Facet_STRING + func (Facet_ValType) EnumDescriptor() ([]byte, []int) + func (x Facet_ValType) String() string + type Latency struct + EncodingNs uint64 + ParsingNs uint64 + ProcessingNs uint64 + func (*Latency) Descriptor() ([]byte, []int) + func (*Latency) ProtoMessage() + func (m *Latency) GetEncodingNs() uint64 + func (m *Latency) GetParsingNs() uint64 + func (m *Latency) GetProcessingNs() uint64 + func (m *Latency) Marshal() (dAtA []byte, err error) + func (m *Latency) MarshalTo(dAtA []byte) (int, error) + func (m *Latency) Reset() + func (m *Latency) Size() (n int) + func (m *Latency) String() string + func (m *Latency) Unmarshal(dAtA []byte) error + type LinRead struct + Ids map[uint32]uint64 + func (*LinRead) Descriptor() ([]byte, []int) + func (*LinRead) ProtoMessage() + func (m *LinRead) GetIds() map[uint32]uint64 + func (m *LinRead) Marshal() (dAtA []byte, err error) + func (m *LinRead) MarshalTo(dAtA []byte) (int, error) + func (m *LinRead) Reset() + func (m *LinRead) Size() (n int) + func (m *LinRead) String() string + func (m *LinRead) Unmarshal(dAtA []byte) error + type Mutation struct + CommitNow bool + Del []*NQuad + DelNquads []byte + DeleteJson []byte + IgnoreIndexConflict bool + Set []*NQuad + SetJson []byte + SetNquads []byte + StartTs uint64 + func (*Mutation) Descriptor() ([]byte, []int) + func (*Mutation) ProtoMessage() + func (m *Mutation) GetCommitNow() bool + func (m *Mutation) GetDel() []*NQuad + func (m *Mutation) GetDelNquads() []byte + func (m *Mutation) GetDeleteJson() []byte + func (m *Mutation) GetIgnoreIndexConflict() bool + func (m *Mutation) GetSet() []*NQuad + func (m *Mutation) GetSetJson() []byte + func (m *Mutation) GetSetNquads() []byte + func (m *Mutation) GetStartTs() uint64 + func (m *Mutation) Marshal() (dAtA []byte, err error) + func (m *Mutation) MarshalTo(dAtA []byte) (int, error) + func (m *Mutation) Reset() + func (m *Mutation) Size() (n int) + func (m *Mutation) String() string + func (m *Mutation) Unmarshal(dAtA []byte) error + type NQuad struct + Facets []*Facet + Label string + Lang string + ObjectId string + ObjectValue *Value + Predicate string + Subject string + func (*NQuad) Descriptor() ([]byte, []int) + func (*NQuad) ProtoMessage() + func (m *NQuad) GetFacets() []*Facet + func (m *NQuad) GetLabel() string + func (m *NQuad) GetLang() string + func (m *NQuad) GetObjectId() string + func (m *NQuad) GetObjectValue() *Value + func (m *NQuad) GetPredicate() string + func (m *NQuad) GetSubject() string + func (m *NQuad) Marshal() (dAtA []byte, err error) + func (m *NQuad) MarshalTo(dAtA []byte) (int, error) + func (m *NQuad) Reset() + func (m *NQuad) Size() (n int) + func (m *NQuad) String() string + func (m *NQuad) Unmarshal(dAtA []byte) error + type Operation struct + DropAll bool + DropAttr string + Schema string + StartTs uint64 + func (*Operation) Descriptor() ([]byte, []int) + func (*Operation) ProtoMessage() + func (m *Operation) GetDropAll() bool + func (m *Operation) GetDropAttr() string + func (m *Operation) GetSchema() string + func (m *Operation) GetStartTs() uint64 + func (m *Operation) Marshal() (dAtA []byte, err error) + func (m *Operation) MarshalTo(dAtA []byte) (int, error) + func (m *Operation) Reset() + func (m *Operation) Size() (n int) + func (m *Operation) String() string + func (m *Operation) Unmarshal(dAtA []byte) error + type Payload struct + Data []byte + func (*Payload) Descriptor() ([]byte, []int) + func (*Payload) ProtoMessage() + func (m *Payload) GetData() []byte + func (m *Payload) Marshal() (dAtA []byte, err error) + func (m *Payload) MarshalTo(dAtA []byte) (int, error) + func (m *Payload) Reset() + func (m *Payload) Size() (n int) + func (m *Payload) String() string + func (m *Payload) Unmarshal(dAtA []byte) error + type Request struct + LinRead *LinRead + Query string + StartTs uint64 + Vars map[string]string + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetLinRead() *LinRead + func (m *Request) GetQuery() string + func (m *Request) GetStartTs() uint64 + func (m *Request) GetVars() map[string]string + func (m *Request) Marshal() (dAtA []byte, err error) + func (m *Request) MarshalTo(dAtA []byte) (int, error) + func (m *Request) Reset() + func (m *Request) Size() (n int) + func (m *Request) String() string + func (m *Request) Unmarshal(dAtA []byte) error + type Response struct + Json []byte + Latency *Latency + Schema []*SchemaNode + Txn *TxnContext + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetJson() []byte + func (m *Response) GetLatency() *Latency + func (m *Response) GetSchema() []*SchemaNode + func (m *Response) GetTxn() *TxnContext + func (m *Response) Marshal() (dAtA []byte, err error) + func (m *Response) MarshalTo(dAtA []byte) (int, error) + func (m *Response) Reset() + func (m *Response) Size() (n int) + func (m *Response) String() string + func (m *Response) Unmarshal(dAtA []byte) error + type SchemaNode struct + Count bool + Index bool + List bool + Predicate string + Reverse bool + Tokenizer []string + Type string + func (*SchemaNode) Descriptor() ([]byte, []int) + func (*SchemaNode) ProtoMessage() + func (m *SchemaNode) GetCount() bool + func (m *SchemaNode) GetIndex() bool + func (m *SchemaNode) GetList() bool + func (m *SchemaNode) GetPredicate() string + func (m *SchemaNode) GetReverse() bool + func (m *SchemaNode) GetTokenizer() []string + func (m *SchemaNode) GetType() string + func (m *SchemaNode) Marshal() (dAtA []byte, err error) + func (m *SchemaNode) MarshalTo(dAtA []byte) (int, error) + func (m *SchemaNode) Reset() + func (m *SchemaNode) Size() (n int) + func (m *SchemaNode) String() string + func (m *SchemaNode) Unmarshal(dAtA []byte) error + type TxnContext struct + Aborted bool + CommitTs uint64 + Keys []string + LinRead *LinRead + StartTs uint64 + func (*TxnContext) Descriptor() ([]byte, []int) + func (*TxnContext) ProtoMessage() + func (m *TxnContext) GetAborted() bool + func (m *TxnContext) GetCommitTs() uint64 + func (m *TxnContext) GetKeys() []string + func (m *TxnContext) GetLinRead() *LinRead + func (m *TxnContext) GetStartTs() uint64 + func (m *TxnContext) Marshal() (dAtA []byte, err error) + func (m *TxnContext) MarshalTo(dAtA []byte) (int, error) + func (m *TxnContext) Reset() + func (m *TxnContext) Size() (n int) + func (m *TxnContext) String() string + func (m *TxnContext) Unmarshal(dAtA []byte) error + type Value struct + Val isValue_Val + func (*Value) Descriptor() ([]byte, []int) + func (*Value) ProtoMessage() + func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (m *Value) GetBoolVal() bool + func (m *Value) GetBytesVal() []byte + func (m *Value) GetDateVal() []byte + func (m *Value) GetDatetimeVal() []byte + func (m *Value) GetDefaultVal() string + func (m *Value) GetDoubleVal() float64 + func (m *Value) GetGeoVal() []byte + func (m *Value) GetIntVal() int64 + func (m *Value) GetPasswordVal() string + func (m *Value) GetStrVal() string + func (m *Value) GetUidVal() uint64 + func (m *Value) GetVal() isValue_Val + func (m *Value) Marshal() (dAtA []byte, err error) + func (m *Value) MarshalTo(dAtA []byte) (int, error) + func (m *Value) Reset() + func (m *Value) Size() (n int) + func (m *Value) String() string + func (m *Value) Unmarshal(dAtA []byte) error + type Value_BoolVal struct + BoolVal bool + func (m *Value_BoolVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_BoolVal) Size() (n int) + type Value_BytesVal struct + BytesVal []byte + func (m *Value_BytesVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_BytesVal) Size() (n int) + type Value_DateVal struct + DateVal []byte + func (m *Value_DateVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_DateVal) Size() (n int) + type Value_DatetimeVal struct + DatetimeVal []byte + func (m *Value_DatetimeVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_DatetimeVal) Size() (n int) + type Value_DefaultVal struct + DefaultVal string + func (m *Value_DefaultVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_DefaultVal) Size() (n int) + type Value_DoubleVal struct + DoubleVal float64 + func (m *Value_DoubleVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_DoubleVal) Size() (n int) + type Value_GeoVal struct + GeoVal []byte + func (m *Value_GeoVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_GeoVal) Size() (n int) + type Value_IntVal struct + IntVal int64 + func (m *Value_IntVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_IntVal) Size() (n int) + type Value_PasswordVal struct + PasswordVal string + func (m *Value_PasswordVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_PasswordVal) Size() (n int) + type Value_StrVal struct + StrVal string + func (m *Value_StrVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_StrVal) Size() (n int) + type Value_UidVal struct + UidVal uint64 + func (m *Value_UidVal) MarshalTo(dAtA []byte) (int, error) + func (m *Value_UidVal) Size() (n int) + type Version struct + Tag string + func (*Version) Descriptor() ([]byte, []int) + func (*Version) ProtoMessage() + func (m *Version) GetTag() string + func (m *Version) Marshal() (dAtA []byte, err error) + func (m *Version) MarshalTo(dAtA []byte) (int, error) + func (m *Version) Reset() + func (m *Version) Size() (n int) + func (m *Version) String() string + func (m *Version) Unmarshal(dAtA []byte) error