nebula

package
v3.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 19

Documentation

Index

Constants

View Source
const Version = "3.0.0"

Variables

View Source
var ErrorCodeNames = []string{}/* 155 elements not displayed */
View Source
var ErrorCodeToName = map[ErrorCode]string{}/* 155 elements not displayed */
View Source
var ErrorCodeToValue = map[string]ErrorCode{}/* 155 elements not displayed */
View Source
var ErrorCodeValues = []ErrorCode{}/* 155 elements not displayed */
View Source
var GoUnusedProtection__ int
View Source
var NullTypeNames = []string{
	"__NULL__",
	"NaN",
	"BAD_DATA",
	"BAD_TYPE",
	"ERR_OVERFLOW",
	"UNKNOWN_PROP",
	"DIV_BY_ZERO",
	"OUT_OF_RANGE",
}
View Source
var NullTypeToName = map[NullType]string{
	NullType___NULL__:     "__NULL__",
	NullType_NaN:          "NaN",
	NullType_BAD_DATA:     "BAD_DATA",
	NullType_BAD_TYPE:     "BAD_TYPE",
	NullType_ERR_OVERFLOW: "ERR_OVERFLOW",
	NullType_UNKNOWN_PROP: "UNKNOWN_PROP",
	NullType_DIV_BY_ZERO:  "DIV_BY_ZERO",
	NullType_OUT_OF_RANGE: "OUT_OF_RANGE",
}
View Source
var NullTypeToValue = map[string]NullType{
	"__NULL__":     NullType___NULL__,
	"NaN":          NullType_NaN,
	"BAD_DATA":     NullType_BAD_DATA,
	"BAD_TYPE":     NullType_BAD_TYPE,
	"ERR_OVERFLOW": NullType_ERR_OVERFLOW,
	"UNKNOWN_PROP": NullType_UNKNOWN_PROP,
	"DIV_BY_ZERO":  NullType_DIV_BY_ZERO,
	"OUT_OF_RANGE": NullType_OUT_OF_RANGE,
}
View Source
var PropertyTypeNames = []string{
	"UNKNOWN",
	"BOOL",
	"INT64",
	"VID",
	"FLOAT",
	"DOUBLE",
	"STRING",
	"FIXED_STRING",
	"INT8",
	"INT16",
	"INT32",
	"TIMESTAMP",
	"DURATION",
	"DATE",
	"DATETIME",
	"TIME",
	"GEOGRAPHY",
}
View Source
var PropertyTypeToName = map[PropertyType]string{
	PropertyType_UNKNOWN:      "UNKNOWN",
	PropertyType_BOOL:         "BOOL",
	PropertyType_INT64:        "INT64",
	PropertyType_VID:          "VID",
	PropertyType_FLOAT:        "FLOAT",
	PropertyType_DOUBLE:       "DOUBLE",
	PropertyType_STRING:       "STRING",
	PropertyType_FIXED_STRING: "FIXED_STRING",
	PropertyType_INT8:         "INT8",
	PropertyType_INT16:        "INT16",
	PropertyType_INT32:        "INT32",
	PropertyType_TIMESTAMP:    "TIMESTAMP",
	PropertyType_DURATION:     "DURATION",
	PropertyType_DATE:         "DATE",
	PropertyType_DATETIME:     "DATETIME",
	PropertyType_TIME:         "TIME",
	PropertyType_GEOGRAPHY:    "GEOGRAPHY",
}
View Source
var PropertyTypeToValue = map[string]PropertyType{
	"UNKNOWN":      PropertyType_UNKNOWN,
	"BOOL":         PropertyType_BOOL,
	"INT64":        PropertyType_INT64,
	"VID":          PropertyType_VID,
	"FLOAT":        PropertyType_FLOAT,
	"DOUBLE":       PropertyType_DOUBLE,
	"STRING":       PropertyType_STRING,
	"FIXED_STRING": PropertyType_FIXED_STRING,
	"INT8":         PropertyType_INT8,
	"INT16":        PropertyType_INT16,
	"INT32":        PropertyType_INT32,
	"TIMESTAMP":    PropertyType_TIMESTAMP,
	"DURATION":     PropertyType_DURATION,
	"DATE":         PropertyType_DATE,
	"DATETIME":     PropertyType_DATETIME,
	"TIME":         PropertyType_TIME,
	"GEOGRAPHY":    PropertyType_GEOGRAPHY,
}
View Source
var Value_BVal_DEFAULT bool
View Source
var Value_FVal_DEFAULT float64
View Source
var Value_IVal_DEFAULT int64
View Source
var Value_SVal_DEFAULT []byte

Functions

This section is empty.

Types

type CheckpointInfo

type CheckpointInfo struct {
	SpaceID  GraphSpaceID             `thrift:"space_id,1" db:"space_id" json:"space_id"`
	Parts    map[PartitionID]*LogInfo `thrift:"parts,2" db:"parts" json:"parts"`
	DataPath []byte                   `thrift:"data_path,3" db:"data_path" json:"data_path"`
}

Attributes:

  • SpaceID
  • Parts
  • DataPath

func NewCheckpointInfo

func NewCheckpointInfo() *CheckpointInfo

func (*CheckpointInfo) GetDataPath added in v3.3.1

func (p *CheckpointInfo) GetDataPath() []byte

func (*CheckpointInfo) GetParts

func (p *CheckpointInfo) GetParts() map[PartitionID]*LogInfo

func (*CheckpointInfo) GetSpaceID

func (p *CheckpointInfo) GetSpaceID() GraphSpaceID

func (*CheckpointInfo) Read

func (p *CheckpointInfo) Read(iprot thrift.Protocol) error

func (*CheckpointInfo) ReadField1

func (p *CheckpointInfo) ReadField1(iprot thrift.Protocol) error

func (*CheckpointInfo) ReadField2

func (p *CheckpointInfo) ReadField2(iprot thrift.Protocol) error

func (*CheckpointInfo) ReadField3

func (p *CheckpointInfo) ReadField3(iprot thrift.Protocol) error

func (*CheckpointInfo) SetDataPath added in v3.3.1

func (c *CheckpointInfo) SetDataPath(dataPath []byte) *CheckpointInfo

func (*CheckpointInfo) SetParts

func (c *CheckpointInfo) SetParts(parts map[PartitionID]*LogInfo) *CheckpointInfo

func (*CheckpointInfo) SetSpaceID

func (c *CheckpointInfo) SetSpaceID(spaceID GraphSpaceID) *CheckpointInfo

func (*CheckpointInfo) String

func (p *CheckpointInfo) String() string

func (*CheckpointInfo) Write

func (p *CheckpointInfo) Write(oprot thrift.Protocol) error

type CheckpointInfoBuilder

type CheckpointInfoBuilder struct {
	// contains filtered or unexported fields
}

func NewCheckpointInfoBuilder

func NewCheckpointInfoBuilder() *CheckpointInfoBuilder

func (*CheckpointInfoBuilder) DataPath added in v3.3.1

func (c *CheckpointInfoBuilder) DataPath(dataPath []byte) *CheckpointInfoBuilder

func (CheckpointInfoBuilder) Emit

func (*CheckpointInfoBuilder) Parts

func (*CheckpointInfoBuilder) SpaceID

type ClusterID

type ClusterID = int64

func ClusterIDPtr

func ClusterIDPtr(v ClusterID) *ClusterID

type Coordinate

type Coordinate struct {
	X float64 `thrift:"x,1" db:"x" json:"x"`
	Y float64 `thrift:"y,2" db:"y" json:"y"`
}

Attributes:

  • X
  • Y
var Point_Coord_DEFAULT *Coordinate

func NewCoordinate

func NewCoordinate() *Coordinate

func (*Coordinate) GetX

func (p *Coordinate) GetX() float64

func (*Coordinate) GetY

func (p *Coordinate) GetY() float64

func (*Coordinate) Read

func (p *Coordinate) Read(iprot thrift.Protocol) error

func (*Coordinate) ReadField1

func (p *Coordinate) ReadField1(iprot thrift.Protocol) error

func (*Coordinate) ReadField2

func (p *Coordinate) ReadField2(iprot thrift.Protocol) error

func (*Coordinate) SetX

func (c *Coordinate) SetX(x float64) *Coordinate

func (*Coordinate) SetY

func (c *Coordinate) SetY(y float64) *Coordinate

func (*Coordinate) String

func (p *Coordinate) String() string

func (*Coordinate) Write

func (p *Coordinate) Write(oprot thrift.Protocol) error

type CoordinateBuilder

type CoordinateBuilder struct {
	// contains filtered or unexported fields
}

func NewCoordinateBuilder

func NewCoordinateBuilder() *CoordinateBuilder

func (CoordinateBuilder) Emit

func (p CoordinateBuilder) Emit() *Coordinate

func (*CoordinateBuilder) X

func (*CoordinateBuilder) Y

type DataSet

type DataSet struct {
	ColumnNames [][]byte `thrift:"column_names,1" db:"column_names" json:"column_names"`
	Rows        []*Row   `thrift:"rows,2" db:"rows" json:"rows"`
}

Attributes:

  • ColumnNames
  • Rows
var Value_GVal_DEFAULT *DataSet

func NewDataSet

func NewDataSet() *DataSet

func (*DataSet) GetColumnNames

func (p *DataSet) GetColumnNames() [][]byte

func (*DataSet) GetRows

func (p *DataSet) GetRows() []*Row

func (*DataSet) Read

func (p *DataSet) Read(iprot thrift.Protocol) error

func (*DataSet) ReadField1

func (p *DataSet) ReadField1(iprot thrift.Protocol) error

func (*DataSet) ReadField2

func (p *DataSet) ReadField2(iprot thrift.Protocol) error

func (*DataSet) SetColumnNames

func (d *DataSet) SetColumnNames(columnNames [][]byte) *DataSet

func (*DataSet) SetRows

func (d *DataSet) SetRows(rows []*Row) *DataSet

func (*DataSet) String

func (p *DataSet) String() string

func (*DataSet) Write

func (p *DataSet) Write(oprot thrift.Protocol) error

type DataSetBuilder

type DataSetBuilder struct {
	// contains filtered or unexported fields
}

func NewDataSetBuilder

func NewDataSetBuilder() *DataSetBuilder

func (*DataSetBuilder) ColumnNames

func (d *DataSetBuilder) ColumnNames(columnNames [][]byte) *DataSetBuilder

func (DataSetBuilder) Emit

func (p DataSetBuilder) Emit() *DataSet

func (*DataSetBuilder) Rows

func (d *DataSetBuilder) Rows(rows []*Row) *DataSetBuilder

type Date

type Date struct {
	Year  int16 `thrift:"year,1" db:"year" json:"year"`
	Month int8  `thrift:"month,2" db:"month" json:"month"`
	Day   int8  `thrift:"day,3" db:"day" json:"day"`
}

Attributes:

  • Year
  • Month
  • Day
var Value_DVal_DEFAULT *Date

func NewDate

func NewDate() *Date

func (*Date) GetDay

func (p *Date) GetDay() int8

func (*Date) GetMonth

func (p *Date) GetMonth() int8

func (*Date) GetYear

func (p *Date) GetYear() int16

func (*Date) Read

func (p *Date) Read(iprot thrift.Protocol) error

func (*Date) ReadField1

func (p *Date) ReadField1(iprot thrift.Protocol) error

func (*Date) ReadField2

func (p *Date) ReadField2(iprot thrift.Protocol) error

func (*Date) ReadField3

func (p *Date) ReadField3(iprot thrift.Protocol) error

func (*Date) SetDay

func (d *Date) SetDay(day int8) *Date

func (*Date) SetMonth

func (d *Date) SetMonth(month int8) *Date

func (*Date) SetYear

func (d *Date) SetYear(year int16) *Date

func (*Date) String

func (p *Date) String() string

func (*Date) Write

func (p *Date) Write(oprot thrift.Protocol) error

type DateBuilder

type DateBuilder struct {
	// contains filtered or unexported fields
}

func NewDateBuilder

func NewDateBuilder() *DateBuilder

func (*DateBuilder) Day

func (d *DateBuilder) Day(day int8) *DateBuilder

func (DateBuilder) Emit

func (p DateBuilder) Emit() *Date

func (*DateBuilder) Month

func (d *DateBuilder) Month(month int8) *DateBuilder

func (*DateBuilder) Year

func (d *DateBuilder) Year(year int16) *DateBuilder

type DateTime

type DateTime struct {
	Year     int16 `thrift:"year,1" db:"year" json:"year"`
	Month    int8  `thrift:"month,2" db:"month" json:"month"`
	Day      int8  `thrift:"day,3" db:"day" json:"day"`
	Hour     int8  `thrift:"hour,4" db:"hour" json:"hour"`
	Minute   int8  `thrift:"minute,5" db:"minute" json:"minute"`
	Sec      int8  `thrift:"sec,6" db:"sec" json:"sec"`
	Microsec int32 `thrift:"microsec,7" db:"microsec" json:"microsec"`
}

Attributes:

  • Year
  • Month
  • Day
  • Hour
  • Minute
  • Sec
  • Microsec
var Value_DtVal_DEFAULT *DateTime

func NewDateTime

func NewDateTime() *DateTime

func (*DateTime) GetDay

func (p *DateTime) GetDay() int8

func (*DateTime) GetHour

func (p *DateTime) GetHour() int8

func (*DateTime) GetMicrosec

func (p *DateTime) GetMicrosec() int32

func (*DateTime) GetMinute

func (p *DateTime) GetMinute() int8

func (*DateTime) GetMonth

func (p *DateTime) GetMonth() int8

func (*DateTime) GetSec

func (p *DateTime) GetSec() int8

func (*DateTime) GetYear

func (p *DateTime) GetYear() int16

func (*DateTime) Read

func (p *DateTime) Read(iprot thrift.Protocol) error

func (*DateTime) ReadField1

func (p *DateTime) ReadField1(iprot thrift.Protocol) error

func (*DateTime) ReadField2

func (p *DateTime) ReadField2(iprot thrift.Protocol) error

func (*DateTime) ReadField3

func (p *DateTime) ReadField3(iprot thrift.Protocol) error

func (*DateTime) ReadField4

func (p *DateTime) ReadField4(iprot thrift.Protocol) error

func (*DateTime) ReadField5

func (p *DateTime) ReadField5(iprot thrift.Protocol) error

func (*DateTime) ReadField6

func (p *DateTime) ReadField6(iprot thrift.Protocol) error

func (*DateTime) ReadField7

func (p *DateTime) ReadField7(iprot thrift.Protocol) error

func (*DateTime) SetDay

func (d *DateTime) SetDay(day int8) *DateTime

func (*DateTime) SetHour

func (d *DateTime) SetHour(hour int8) *DateTime

func (*DateTime) SetMicrosec

func (d *DateTime) SetMicrosec(microsec int32) *DateTime

func (*DateTime) SetMinute

func (d *DateTime) SetMinute(minute int8) *DateTime

func (*DateTime) SetMonth

func (d *DateTime) SetMonth(month int8) *DateTime

func (*DateTime) SetSec

func (d *DateTime) SetSec(sec int8) *DateTime

func (*DateTime) SetYear

func (d *DateTime) SetYear(year int16) *DateTime

func (*DateTime) String

func (p *DateTime) String() string

func (*DateTime) Write

func (p *DateTime) Write(oprot thrift.Protocol) error

type DateTimeBuilder

type DateTimeBuilder struct {
	// contains filtered or unexported fields
}

func NewDateTimeBuilder

func NewDateTimeBuilder() *DateTimeBuilder

func (*DateTimeBuilder) Day

func (d *DateTimeBuilder) Day(day int8) *DateTimeBuilder

func (DateTimeBuilder) Emit

func (p DateTimeBuilder) Emit() *DateTime

func (*DateTimeBuilder) Hour

func (d *DateTimeBuilder) Hour(hour int8) *DateTimeBuilder

func (*DateTimeBuilder) Microsec

func (d *DateTimeBuilder) Microsec(microsec int32) *DateTimeBuilder

func (*DateTimeBuilder) Minute

func (d *DateTimeBuilder) Minute(minute int8) *DateTimeBuilder

func (*DateTimeBuilder) Month

func (d *DateTimeBuilder) Month(month int8) *DateTimeBuilder

func (*DateTimeBuilder) Sec

func (d *DateTimeBuilder) Sec(sec int8) *DateTimeBuilder

func (*DateTimeBuilder) Year

func (d *DateTimeBuilder) Year(year int16) *DateTimeBuilder

type DirInfo

type DirInfo struct {
	Root []byte   `thrift:"root,1" db:"root" json:"root"`
	Data [][]byte `thrift:"data,2" db:"data" json:"data"`
}

Attributes:

  • Root
  • Data

func NewDirInfo

func NewDirInfo() *DirInfo

func (*DirInfo) GetData

func (p *DirInfo) GetData() [][]byte

func (*DirInfo) GetRoot

func (p *DirInfo) GetRoot() []byte

func (*DirInfo) Read

func (p *DirInfo) Read(iprot thrift.Protocol) error

func (*DirInfo) ReadField1

func (p *DirInfo) ReadField1(iprot thrift.Protocol) error

func (*DirInfo) ReadField2

func (p *DirInfo) ReadField2(iprot thrift.Protocol) error

func (*DirInfo) SetData

func (d *DirInfo) SetData(data [][]byte) *DirInfo

func (*DirInfo) SetRoot

func (d *DirInfo) SetRoot(root []byte) *DirInfo

func (*DirInfo) String

func (p *DirInfo) String() string

func (*DirInfo) Write

func (p *DirInfo) Write(oprot thrift.Protocol) error

type DirInfoBuilder

type DirInfoBuilder struct {
	// contains filtered or unexported fields
}

func NewDirInfoBuilder

func NewDirInfoBuilder() *DirInfoBuilder

func (*DirInfoBuilder) Data

func (d *DirInfoBuilder) Data(data [][]byte) *DirInfoBuilder

func (DirInfoBuilder) Emit

func (p DirInfoBuilder) Emit() *DirInfo

func (*DirInfoBuilder) Root

func (d *DirInfoBuilder) Root(root []byte) *DirInfoBuilder

type Duration

type Duration struct {
	Seconds      int64 `thrift:"seconds,1" db:"seconds" json:"seconds"`
	Microseconds int32 `thrift:"microseconds,2" db:"microseconds" json:"microseconds"`
	Months       int32 `thrift:"months,3" db:"months" json:"months"`
}

Attributes:

  • Seconds
  • Microseconds
  • Months
var Value_DuVal_DEFAULT *Duration

func NewDuration

func NewDuration() *Duration

func (*Duration) GetMicroseconds

func (p *Duration) GetMicroseconds() int32

func (*Duration) GetMonths

func (p *Duration) GetMonths() int32

func (*Duration) GetSeconds

func (p *Duration) GetSeconds() int64

func (*Duration) Read

func (p *Duration) Read(iprot thrift.Protocol) error

func (*Duration) ReadField1

func (p *Duration) ReadField1(iprot thrift.Protocol) error

func (*Duration) ReadField2

func (p *Duration) ReadField2(iprot thrift.Protocol) error

func (*Duration) ReadField3

func (p *Duration) ReadField3(iprot thrift.Protocol) error

func (*Duration) SetMicroseconds

func (d *Duration) SetMicroseconds(microseconds int32) *Duration

func (*Duration) SetMonths

func (d *Duration) SetMonths(months int32) *Duration

func (*Duration) SetSeconds

func (d *Duration) SetSeconds(seconds int64) *Duration

func (*Duration) String

func (p *Duration) String() string

func (*Duration) Write

func (p *Duration) Write(oprot thrift.Protocol) error

type DurationBuilder

type DurationBuilder struct {
	// contains filtered or unexported fields
}

func NewDurationBuilder

func NewDurationBuilder() *DurationBuilder

func (DurationBuilder) Emit

func (p DurationBuilder) Emit() *Duration

func (*DurationBuilder) Microseconds

func (d *DurationBuilder) Microseconds(microseconds int32) *DurationBuilder

func (*DurationBuilder) Months

func (d *DurationBuilder) Months(months int32) *DurationBuilder

func (*DurationBuilder) Seconds

func (d *DurationBuilder) Seconds(seconds int64) *DurationBuilder

type Edge

type Edge struct {
	Src     *Value            `thrift:"src,1" db:"src" json:"src"`
	Dst     *Value            `thrift:"dst,2" db:"dst" json:"dst"`
	Type    EdgeType          `thrift:"type,3" db:"type" json:"type"`
	Name    []byte            `thrift:"name,4" db:"name" json:"name"`
	Ranking EdgeRanking       `thrift:"ranking,5" db:"ranking" json:"ranking"`
	Props   map[string]*Value `thrift:"props,6" db:"props" json:"props"`
}

Attributes:

  • Src
  • Dst
  • Type
  • Name
  • Ranking
  • Props
var Value_EVal_DEFAULT *Edge

func NewEdge

func NewEdge() *Edge

func (*Edge) GetDst

func (p *Edge) GetDst() *Value

func (*Edge) GetName

func (p *Edge) GetName() []byte

func (*Edge) GetProps

func (p *Edge) GetProps() map[string]*Value

func (*Edge) GetRanking

func (p *Edge) GetRanking() EdgeRanking

func (*Edge) GetSrc

func (p *Edge) GetSrc() *Value

func (*Edge) GetType

func (p *Edge) GetType() EdgeType

func (*Edge) IsSetDst

func (p *Edge) IsSetDst() bool

func (*Edge) IsSetSrc

func (p *Edge) IsSetSrc() bool

func (*Edge) Read

func (p *Edge) Read(iprot thrift.Protocol) error

func (*Edge) ReadField1

func (p *Edge) ReadField1(iprot thrift.Protocol) error

func (*Edge) ReadField2

func (p *Edge) ReadField2(iprot thrift.Protocol) error

func (*Edge) ReadField3

func (p *Edge) ReadField3(iprot thrift.Protocol) error

func (*Edge) ReadField4

func (p *Edge) ReadField4(iprot thrift.Protocol) error

func (*Edge) ReadField5

func (p *Edge) ReadField5(iprot thrift.Protocol) error

func (*Edge) ReadField6

func (p *Edge) ReadField6(iprot thrift.Protocol) error

func (*Edge) SetDst

func (e *Edge) SetDst(dst *Value) *Edge

func (*Edge) SetName

func (e *Edge) SetName(name []byte) *Edge

func (*Edge) SetProps

func (e *Edge) SetProps(props map[string]*Value) *Edge

func (*Edge) SetRanking

func (e *Edge) SetRanking(ranking EdgeRanking) *Edge

func (*Edge) SetSrc

func (e *Edge) SetSrc(src *Value) *Edge

func (*Edge) SetType

func (e *Edge) SetType(type_a1 EdgeType) *Edge

func (*Edge) String

func (p *Edge) String() string

func (*Edge) Write

func (p *Edge) Write(oprot thrift.Protocol) error

type EdgeBuilder

type EdgeBuilder struct {
	// contains filtered or unexported fields
}

func NewEdgeBuilder

func NewEdgeBuilder() *EdgeBuilder

func (*EdgeBuilder) Dst

func (e *EdgeBuilder) Dst(dst *Value) *EdgeBuilder

func (EdgeBuilder) Emit

func (p EdgeBuilder) Emit() *Edge

func (*EdgeBuilder) Name

func (e *EdgeBuilder) Name(name []byte) *EdgeBuilder

func (*EdgeBuilder) Props

func (e *EdgeBuilder) Props(props map[string]*Value) *EdgeBuilder

func (*EdgeBuilder) Ranking

func (e *EdgeBuilder) Ranking(ranking EdgeRanking) *EdgeBuilder

func (*EdgeBuilder) Src

func (e *EdgeBuilder) Src(src *Value) *EdgeBuilder

func (*EdgeBuilder) Type

func (e *EdgeBuilder) Type(type_a1 EdgeType) *EdgeBuilder

type EdgeRanking

type EdgeRanking = int64

func EdgeRankingPtr

func EdgeRankingPtr(v EdgeRanking) *EdgeRanking

type EdgeType

type EdgeType = int32
var SchemaID_EdgeType_DEFAULT EdgeType

func EdgeTypePtr

func EdgeTypePtr(v EdgeType) *EdgeType

type ErrorCode

type ErrorCode int64
const (
	ErrorCode_SUCCEEDED                           ErrorCode = 0
	ErrorCode_E_DISCONNECTED                      ErrorCode = -1
	ErrorCode_E_FAIL_TO_CONNECT                   ErrorCode = -2
	ErrorCode_E_RPC_FAILURE                       ErrorCode = -3
	ErrorCode_E_LEADER_CHANGED                    ErrorCode = -4
	ErrorCode_E_SPACE_NOT_FOUND                   ErrorCode = -5
	ErrorCode_E_TAG_NOT_FOUND                     ErrorCode = -6
	ErrorCode_E_EDGE_NOT_FOUND                    ErrorCode = -7
	ErrorCode_E_INDEX_NOT_FOUND                   ErrorCode = -8
	ErrorCode_E_EDGE_PROP_NOT_FOUND               ErrorCode = -9
	ErrorCode_E_TAG_PROP_NOT_FOUND                ErrorCode = -10
	ErrorCode_E_ROLE_NOT_FOUND                    ErrorCode = -11
	ErrorCode_E_CONFIG_NOT_FOUND                  ErrorCode = -12
	ErrorCode_E_MACHINE_NOT_FOUND                 ErrorCode = -13
	ErrorCode_E_ZONE_NOT_FOUND                    ErrorCode = -14
	ErrorCode_E_LISTENER_NOT_FOUND                ErrorCode = -15
	ErrorCode_E_PART_NOT_FOUND                    ErrorCode = -16
	ErrorCode_E_KEY_NOT_FOUND                     ErrorCode = -17
	ErrorCode_E_USER_NOT_FOUND                    ErrorCode = -18
	ErrorCode_E_STATS_NOT_FOUND                   ErrorCode = -19
	ErrorCode_E_SERVICE_NOT_FOUND                 ErrorCode = -20
	ErrorCode_E_BACKUP_FAILED                     ErrorCode = -24
	ErrorCode_E_BACKUP_EMPTY_TABLE                ErrorCode = -25
	ErrorCode_E_BACKUP_TABLE_FAILED               ErrorCode = -26
	ErrorCode_E_PARTIAL_RESULT                    ErrorCode = -27
	ErrorCode_E_REBUILD_INDEX_FAILED              ErrorCode = -28
	ErrorCode_E_INVALID_PASSWORD                  ErrorCode = -29
	ErrorCode_E_FAILED_GET_ABS_PATH               ErrorCode = -30
	ErrorCode_E_BAD_USERNAME_PASSWORD             ErrorCode = -1001
	ErrorCode_E_SESSION_INVALID                   ErrorCode = -1002
	ErrorCode_E_SESSION_TIMEOUT                   ErrorCode = -1003
	ErrorCode_E_SYNTAX_ERROR                      ErrorCode = -1004
	ErrorCode_E_EXECUTION_ERROR                   ErrorCode = -1005
	ErrorCode_E_STATEMENT_EMPTY                   ErrorCode = -1006
	ErrorCode_E_BAD_PERMISSION                    ErrorCode = -1008
	ErrorCode_E_SEMANTIC_ERROR                    ErrorCode = -1009
	ErrorCode_E_TOO_MANY_CONNECTIONS              ErrorCode = -1010
	ErrorCode_E_PARTIAL_SUCCEEDED                 ErrorCode = -1011
	ErrorCode_E_NO_HOSTS                          ErrorCode = -2001
	ErrorCode_E_EXISTED                           ErrorCode = -2002
	ErrorCode_E_INVALID_HOST                      ErrorCode = -2003
	ErrorCode_E_UNSUPPORTED                       ErrorCode = -2004
	ErrorCode_E_NOT_DROP                          ErrorCode = -2005
	ErrorCode_E_BALANCER_RUNNING                  ErrorCode = -2006
	ErrorCode_E_CONFIG_IMMUTABLE                  ErrorCode = -2007
	ErrorCode_E_CONFLICT                          ErrorCode = -2008
	ErrorCode_E_INVALID_PARM                      ErrorCode = -2009
	ErrorCode_E_WRONGCLUSTER                      ErrorCode = -2010
	ErrorCode_E_ZONE_NOT_ENOUGH                   ErrorCode = -2011
	ErrorCode_E_ZONE_IS_EMPTY                     ErrorCode = -2012
	ErrorCode_E_SCHEMA_NAME_EXISTS                ErrorCode = -2013
	ErrorCode_E_RELATED_INDEX_EXISTS              ErrorCode = -2014
	ErrorCode_E_RELATED_SPACE_EXISTS              ErrorCode = -2015
	ErrorCode_E_STORE_FAILURE                     ErrorCode = -2021
	ErrorCode_E_STORE_SEGMENT_ILLEGAL             ErrorCode = -2022
	ErrorCode_E_BAD_BALANCE_PLAN                  ErrorCode = -2023
	ErrorCode_E_BALANCED                          ErrorCode = -2024
	ErrorCode_E_NO_RUNNING_BALANCE_PLAN           ErrorCode = -2025
	ErrorCode_E_NO_VALID_HOST                     ErrorCode = -2026
	ErrorCode_E_CORRUPTED_BALANCE_PLAN            ErrorCode = -2027
	ErrorCode_E_NO_INVALID_BALANCE_PLAN           ErrorCode = -2028
	ErrorCode_E_IMPROPER_ROLE                     ErrorCode = -2030
	ErrorCode_E_INVALID_PARTITION_NUM             ErrorCode = -2031
	ErrorCode_E_INVALID_REPLICA_FACTOR            ErrorCode = -2032
	ErrorCode_E_INVALID_CHARSET                   ErrorCode = -2033
	ErrorCode_E_INVALID_COLLATE                   ErrorCode = -2034
	ErrorCode_E_CHARSET_COLLATE_NOT_MATCH         ErrorCode = -2035
	ErrorCode_E_SNAPSHOT_FAILURE                  ErrorCode = -2040
	ErrorCode_E_BLOCK_WRITE_FAILURE               ErrorCode = -2041
	ErrorCode_E_REBUILD_INDEX_FAILURE             ErrorCode = -2042
	ErrorCode_E_INDEX_WITH_TTL                    ErrorCode = -2043
	ErrorCode_E_ADD_JOB_FAILURE                   ErrorCode = -2044
	ErrorCode_E_STOP_JOB_FAILURE                  ErrorCode = -2045
	ErrorCode_E_SAVE_JOB_FAILURE                  ErrorCode = -2046
	ErrorCode_E_BALANCER_FAILURE                  ErrorCode = -2047
	ErrorCode_E_JOB_NOT_FINISHED                  ErrorCode = -2048
	ErrorCode_E_TASK_REPORT_OUT_DATE              ErrorCode = -2049
	ErrorCode_E_JOB_NOT_IN_SPACE                  ErrorCode = -2050
	ErrorCode_E_JOB_NEED_RECOVER                  ErrorCode = -2051
	ErrorCode_E_JOB_ALREADY_FINISH                ErrorCode = -2052
	ErrorCode_E_JOB_SUBMITTED                     ErrorCode = -2053
	ErrorCode_E_JOB_NOT_STOPPABLE                 ErrorCode = -2054
	ErrorCode_E_JOB_HAS_NO_TARGET_STORAGE         ErrorCode = -2055
	ErrorCode_E_INVALID_JOB                       ErrorCode = -2065
	ErrorCode_E_BACKUP_BUILDING_INDEX             ErrorCode = -2066
	ErrorCode_E_BACKUP_SPACE_NOT_FOUND            ErrorCode = -2067
	ErrorCode_E_RESTORE_FAILURE                   ErrorCode = -2068
	ErrorCode_E_SESSION_NOT_FOUND                 ErrorCode = -2069
	ErrorCode_E_LIST_CLUSTER_FAILURE              ErrorCode = -2070
	ErrorCode_E_LIST_CLUSTER_GET_ABS_PATH_FAILURE ErrorCode = -2071
	ErrorCode_E_LIST_CLUSTER_NO_AGENT_FAILURE     ErrorCode = -2072
	ErrorCode_E_QUERY_NOT_FOUND                   ErrorCode = -2073
	ErrorCode_E_AGENT_HB_FAILUE                   ErrorCode = -2074
	ErrorCode_E_CONSENSUS_ERROR                   ErrorCode = -3001
	ErrorCode_E_KEY_HAS_EXISTS                    ErrorCode = -3002
	ErrorCode_E_DATA_TYPE_MISMATCH                ErrorCode = -3003
	ErrorCode_E_INVALID_FIELD_VALUE               ErrorCode = -3004
	ErrorCode_E_INVALID_OPERATION                 ErrorCode = -3005
	ErrorCode_E_NOT_NULLABLE                      ErrorCode = -3006
	ErrorCode_E_FIELD_UNSET                       ErrorCode = -3007
	ErrorCode_E_OUT_OF_RANGE                      ErrorCode = -3008
	ErrorCode_E_DATA_CONFLICT_ERROR               ErrorCode = -3010
	ErrorCode_E_WRITE_STALLED                     ErrorCode = -3011
	ErrorCode_E_IMPROPER_DATA_TYPE                ErrorCode = -3021
	ErrorCode_E_INVALID_SPACEVIDLEN               ErrorCode = -3022
	ErrorCode_E_INVALID_FILTER                    ErrorCode = -3031
	ErrorCode_E_INVALID_UPDATER                   ErrorCode = -3032
	ErrorCode_E_INVALID_STORE                     ErrorCode = -3033
	ErrorCode_E_INVALID_PEER                      ErrorCode = -3034
	ErrorCode_E_RETRY_EXHAUSTED                   ErrorCode = -3035
	ErrorCode_E_TRANSFER_LEADER_FAILED            ErrorCode = -3036
	ErrorCode_E_INVALID_STAT_TYPE                 ErrorCode = -3037
	ErrorCode_E_INVALID_VID                       ErrorCode = -3038
	ErrorCode_E_NO_TRANSFORMED                    ErrorCode = -3039
	ErrorCode_E_LOAD_META_FAILED                  ErrorCode = -3040
	ErrorCode_E_FAILED_TO_CHECKPOINT              ErrorCode = -3041
	ErrorCode_E_CHECKPOINT_BLOCKED                ErrorCode = -3042
	ErrorCode_E_FILTER_OUT                        ErrorCode = -3043
	ErrorCode_E_INVALID_DATA                      ErrorCode = -3044
	ErrorCode_E_MUTATE_EDGE_CONFLICT              ErrorCode = -3045
	ErrorCode_E_MUTATE_TAG_CONFLICT               ErrorCode = -3046
	ErrorCode_E_OUTDATED_LOCK                     ErrorCode = -3047
	ErrorCode_E_INVALID_TASK_PARA                 ErrorCode = -3051
	ErrorCode_E_USER_CANCEL                       ErrorCode = -3052
	ErrorCode_E_TASK_EXECUTION_FAILED             ErrorCode = -3053
	ErrorCode_E_PLAN_IS_KILLED                    ErrorCode = -3060
	ErrorCode_E_NO_TERM                           ErrorCode = -3070
	ErrorCode_E_OUTDATED_TERM                     ErrorCode = -3071
	ErrorCode_E_OUTDATED_EDGE                     ErrorCode = -3072
	ErrorCode_E_WRITE_WRITE_CONFLICT              ErrorCode = -3073
	ErrorCode_E_CLIENT_SERVER_INCOMPATIBLE        ErrorCode = -3061
	ErrorCode_E_ID_FAILED                         ErrorCode = -3062
	ErrorCode_E_RAFT_UNKNOWN_PART                 ErrorCode = -3500
	ErrorCode_E_RAFT_LOG_GAP                      ErrorCode = -3501
	ErrorCode_E_RAFT_LOG_STALE                    ErrorCode = -3502
	ErrorCode_E_RAFT_TERM_OUT_OF_DATE             ErrorCode = -3503
	ErrorCode_E_RAFT_UNKNOWN_APPEND_LOG           ErrorCode = -3504
	ErrorCode_E_RAFT_WAITING_SNAPSHOT             ErrorCode = -3511
	ErrorCode_E_RAFT_SENDING_SNAPSHOT             ErrorCode = -3512
	ErrorCode_E_RAFT_INVALID_PEER                 ErrorCode = -3513
	ErrorCode_E_RAFT_NOT_READY                    ErrorCode = -3514
	ErrorCode_E_RAFT_STOPPED                      ErrorCode = -3515
	ErrorCode_E_RAFT_BAD_ROLE                     ErrorCode = -3516
	ErrorCode_E_RAFT_WAL_FAIL                     ErrorCode = -3521
	ErrorCode_E_RAFT_HOST_STOPPED                 ErrorCode = -3522
	ErrorCode_E_RAFT_TOO_MANY_REQUESTS            ErrorCode = -3523
	ErrorCode_E_RAFT_PERSIST_SNAPSHOT_FAILED      ErrorCode = -3524
	ErrorCode_E_RAFT_RPC_EXCEPTION                ErrorCode = -3525
	ErrorCode_E_RAFT_NO_WAL_FOUND                 ErrorCode = -3526
	ErrorCode_E_RAFT_HOST_PAUSED                  ErrorCode = -3527
	ErrorCode_E_RAFT_WRITE_BLOCKED                ErrorCode = -3528
	ErrorCode_E_RAFT_BUFFER_OVERFLOW              ErrorCode = -3529
	ErrorCode_E_RAFT_ATOMIC_OP_FAILED             ErrorCode = -3530
	ErrorCode_E_LEADER_LEASE_FAILED               ErrorCode = -3531
	ErrorCode_E_UNKNOWN                           ErrorCode = -8000
)

func ErrorCodeFromString

func ErrorCodeFromString(s string) (ErrorCode, error)

func ErrorCodePtr

func ErrorCodePtr(v ErrorCode) *ErrorCode

func (ErrorCode) String

func (p ErrorCode) String() string

type ExecutionPlanID

type ExecutionPlanID = int64

func ExecutionPlanIDPtr

func ExecutionPlanIDPtr(v ExecutionPlanID) *ExecutionPlanID

type Geography

type Geography struct {
	PtVal *Point      `thrift:"ptVal,1,optional" db:"ptVal" json:"ptVal,omitempty"`
	LsVal *LineString `thrift:"lsVal,2,optional" db:"lsVal" json:"lsVal,omitempty"`
	PgVal *Polygon    `thrift:"pgVal,3,optional" db:"pgVal" json:"pgVal,omitempty"`
}

Attributes:

  • PtVal
  • LsVal
  • PgVal
var Value_GgVal_DEFAULT *Geography

func NewGeography

func NewGeography() *Geography

func (*Geography) CountSetFieldsGeography

func (p *Geography) CountSetFieldsGeography() int

func (*Geography) GetLsVal

func (p *Geography) GetLsVal() *LineString

func (*Geography) GetPgVal

func (p *Geography) GetPgVal() *Polygon

func (*Geography) GetPtVal

func (p *Geography) GetPtVal() *Point

func (*Geography) IsSetLsVal

func (p *Geography) IsSetLsVal() bool

func (*Geography) IsSetPgVal

func (p *Geography) IsSetPgVal() bool

func (*Geography) IsSetPtVal

func (p *Geography) IsSetPtVal() bool

func (*Geography) Read

func (p *Geography) Read(iprot thrift.Protocol) error

func (*Geography) ReadField1

func (p *Geography) ReadField1(iprot thrift.Protocol) error

func (*Geography) ReadField2

func (p *Geography) ReadField2(iprot thrift.Protocol) error

func (*Geography) ReadField3

func (p *Geography) ReadField3(iprot thrift.Protocol) error

func (*Geography) SetLsVal

func (g *Geography) SetLsVal(lsVal *LineString) *Geography

func (*Geography) SetPgVal

func (g *Geography) SetPgVal(pgVal *Polygon) *Geography

func (*Geography) SetPtVal

func (g *Geography) SetPtVal(ptVal *Point) *Geography

func (*Geography) String

func (p *Geography) String() string

func (*Geography) Write

func (p *Geography) Write(oprot thrift.Protocol) error

type GeographyBuilder

type GeographyBuilder struct {
	// contains filtered or unexported fields
}

func NewGeographyBuilder

func NewGeographyBuilder() *GeographyBuilder

func (GeographyBuilder) Emit

func (p GeographyBuilder) Emit() *Geography

func (*GeographyBuilder) LsVal

func (g *GeographyBuilder) LsVal(lsVal *LineString) *GeographyBuilder

func (*GeographyBuilder) PgVal

func (g *GeographyBuilder) PgVal(pgVal *Polygon) *GeographyBuilder

func (*GeographyBuilder) PtVal

func (g *GeographyBuilder) PtVal(ptVal *Point) *GeographyBuilder

type GraphSpaceID

type GraphSpaceID = int32

func GraphSpaceIDPtr

func GraphSpaceIDPtr(v GraphSpaceID) *GraphSpaceID

type HostAddr

type HostAddr struct {
	Host string `thrift:"host,1" db:"host" json:"host"`
	Port Port   `thrift:"port,2" db:"port" json:"port"`
}

Attributes:

  • Host
  • Port

func NewHostAddr

func NewHostAddr() *HostAddr

func (*HostAddr) GetHost

func (p *HostAddr) GetHost() string

func (*HostAddr) GetPort

func (p *HostAddr) GetPort() Port

func (*HostAddr) Read

func (p *HostAddr) Read(iprot thrift.Protocol) error

func (*HostAddr) ReadField1

func (p *HostAddr) ReadField1(iprot thrift.Protocol) error

func (*HostAddr) ReadField2

func (p *HostAddr) ReadField2(iprot thrift.Protocol) error

func (*HostAddr) SetHost

func (h *HostAddr) SetHost(host string) *HostAddr

func (*HostAddr) SetPort

func (h *HostAddr) SetPort(port Port) *HostAddr

func (*HostAddr) String

func (p *HostAddr) String() string

func (*HostAddr) Write

func (p *HostAddr) Write(oprot thrift.Protocol) error

type HostAddrBuilder

type HostAddrBuilder struct {
	// contains filtered or unexported fields
}

func NewHostAddrBuilder

func NewHostAddrBuilder() *HostAddrBuilder

func (HostAddrBuilder) Emit

func (p HostAddrBuilder) Emit() *HostAddr

func (*HostAddrBuilder) Host

func (h *HostAddrBuilder) Host(host string) *HostAddrBuilder

func (*HostAddrBuilder) Port

func (h *HostAddrBuilder) Port(port Port) *HostAddrBuilder

type IndexID

type IndexID = int32

func IndexIDPtr

func IndexIDPtr(v IndexID) *IndexID

type KeyValue

type KeyValue struct {
	Key   []byte `thrift:"key,1" db:"key" json:"key"`
	Value []byte `thrift:"value,2" db:"value" json:"value"`
}

Attributes:

  • Key
  • Value

func NewKeyValue

func NewKeyValue() *KeyValue

func (*KeyValue) GetKey

func (p *KeyValue) GetKey() []byte

func (*KeyValue) GetValue

func (p *KeyValue) GetValue() []byte

func (*KeyValue) Read

func (p *KeyValue) Read(iprot thrift.Protocol) error

func (*KeyValue) ReadField1

func (p *KeyValue) ReadField1(iprot thrift.Protocol) error

func (*KeyValue) ReadField2

func (p *KeyValue) ReadField2(iprot thrift.Protocol) error

func (*KeyValue) SetKey

func (k *KeyValue) SetKey(key []byte) *KeyValue

func (*KeyValue) SetValue

func (k *KeyValue) SetValue(value []byte) *KeyValue

func (*KeyValue) String

func (p *KeyValue) String() string

func (*KeyValue) Write

func (p *KeyValue) Write(oprot thrift.Protocol) error

type KeyValueBuilder

type KeyValueBuilder struct {
	// contains filtered or unexported fields
}

func NewKeyValueBuilder

func NewKeyValueBuilder() *KeyValueBuilder

func (KeyValueBuilder) Emit

func (p KeyValueBuilder) Emit() *KeyValue

func (*KeyValueBuilder) Key

func (k *KeyValueBuilder) Key(key []byte) *KeyValueBuilder

func (*KeyValueBuilder) Value

func (k *KeyValueBuilder) Value(value []byte) *KeyValueBuilder

type LineString

type LineString struct {
	CoordList []*Coordinate `thrift:"coordList,1" db:"coordList" json:"coordList"`
}

Attributes:

  • CoordList
var Geography_LsVal_DEFAULT *LineString

func NewLineString

func NewLineString() *LineString

func (*LineString) GetCoordList

func (p *LineString) GetCoordList() []*Coordinate

func (*LineString) Read

func (p *LineString) Read(iprot thrift.Protocol) error

func (*LineString) ReadField1

func (p *LineString) ReadField1(iprot thrift.Protocol) error

func (*LineString) SetCoordList

func (l *LineString) SetCoordList(coordList []*Coordinate) *LineString

func (*LineString) String

func (p *LineString) String() string

func (*LineString) Write

func (p *LineString) Write(oprot thrift.Protocol) error

type LineStringBuilder

type LineStringBuilder struct {
	// contains filtered or unexported fields
}

func NewLineStringBuilder

func NewLineStringBuilder() *LineStringBuilder

func (*LineStringBuilder) CoordList

func (l *LineStringBuilder) CoordList(coordList []*Coordinate) *LineStringBuilder

func (LineStringBuilder) Emit

func (p LineStringBuilder) Emit() *LineString

type LogEntry

type LogEntry struct {
	Cluster ClusterID `thrift:"cluster,1" db:"cluster" json:"cluster"`
	LogStr  []byte    `thrift:"log_str,2" db:"log_str" json:"log_str"`
}

Attributes:

  • Cluster
  • LogStr

func NewLogEntry

func NewLogEntry() *LogEntry

func (*LogEntry) GetCluster

func (p *LogEntry) GetCluster() ClusterID

func (*LogEntry) GetLogStr

func (p *LogEntry) GetLogStr() []byte

func (*LogEntry) Read

func (p *LogEntry) Read(iprot thrift.Protocol) error

func (*LogEntry) ReadField1

func (p *LogEntry) ReadField1(iprot thrift.Protocol) error

func (*LogEntry) ReadField2

func (p *LogEntry) ReadField2(iprot thrift.Protocol) error

func (*LogEntry) SetCluster

func (l *LogEntry) SetCluster(cluster ClusterID) *LogEntry

func (*LogEntry) SetLogStr

func (l *LogEntry) SetLogStr(logStr []byte) *LogEntry

func (*LogEntry) String

func (p *LogEntry) String() string

func (*LogEntry) Write

func (p *LogEntry) Write(oprot thrift.Protocol) error

type LogEntryBuilder

type LogEntryBuilder struct {
	// contains filtered or unexported fields
}

func NewLogEntryBuilder

func NewLogEntryBuilder() *LogEntryBuilder

func (*LogEntryBuilder) Cluster

func (l *LogEntryBuilder) Cluster(cluster ClusterID) *LogEntryBuilder

func (LogEntryBuilder) Emit

func (p LogEntryBuilder) Emit() *LogEntry

func (*LogEntryBuilder) LogStr

func (l *LogEntryBuilder) LogStr(logStr []byte) *LogEntryBuilder

type LogID

type LogID = int64

func LogIDPtr

func LogIDPtr(v LogID) *LogID

type LogInfo

type LogInfo struct {
	LogID          LogID  `thrift:"log_id,1" db:"log_id" json:"log_id"`
	TermID         TermID `thrift:"term_id,2" db:"term_id" json:"term_id"`
	CommitLogID    LogID  `thrift:"commit_log_id,3" db:"commit_log_id" json:"commit_log_id"`
	CheckpointPath []byte `thrift:"checkpoint_path,4" db:"checkpoint_path" json:"checkpoint_path"`
}

Attributes:

  • LogID
  • TermID
  • CommitLogID
  • CheckpointPath

func NewLogInfo

func NewLogInfo() *LogInfo

func (*LogInfo) GetCheckpointPath added in v3.3.1

func (p *LogInfo) GetCheckpointPath() []byte

func (*LogInfo) GetCommitLogID added in v3.3.1

func (p *LogInfo) GetCommitLogID() LogID

func (*LogInfo) GetLogID

func (p *LogInfo) GetLogID() LogID

func (*LogInfo) GetTermID

func (p *LogInfo) GetTermID() TermID

func (*LogInfo) Read

func (p *LogInfo) Read(iprot thrift.Protocol) error

func (*LogInfo) ReadField1

func (p *LogInfo) ReadField1(iprot thrift.Protocol) error

func (*LogInfo) ReadField2

func (p *LogInfo) ReadField2(iprot thrift.Protocol) error

func (*LogInfo) ReadField3 added in v3.3.1

func (p *LogInfo) ReadField3(iprot thrift.Protocol) error

func (*LogInfo) ReadField4 added in v3.3.1

func (p *LogInfo) ReadField4(iprot thrift.Protocol) error

func (*LogInfo) SetCheckpointPath added in v3.3.1

func (l *LogInfo) SetCheckpointPath(checkpointPath []byte) *LogInfo

func (*LogInfo) SetCommitLogID added in v3.3.1

func (l *LogInfo) SetCommitLogID(commitLogID LogID) *LogInfo

func (*LogInfo) SetLogID

func (l *LogInfo) SetLogID(logID LogID) *LogInfo

func (*LogInfo) SetTermID

func (l *LogInfo) SetTermID(termID TermID) *LogInfo

func (*LogInfo) String

func (p *LogInfo) String() string

func (*LogInfo) Write

func (p *LogInfo) Write(oprot thrift.Protocol) error

type LogInfoBuilder

type LogInfoBuilder struct {
	// contains filtered or unexported fields
}

func NewLogInfoBuilder

func NewLogInfoBuilder() *LogInfoBuilder

func (*LogInfoBuilder) CheckpointPath added in v3.3.1

func (l *LogInfoBuilder) CheckpointPath(checkpointPath []byte) *LogInfoBuilder

func (*LogInfoBuilder) CommitLogID added in v3.3.1

func (l *LogInfoBuilder) CommitLogID(commitLogID LogID) *LogInfoBuilder

func (LogInfoBuilder) Emit

func (p LogInfoBuilder) Emit() *LogInfo

func (*LogInfoBuilder) LogID

func (l *LogInfoBuilder) LogID(logID LogID) *LogInfoBuilder

func (*LogInfoBuilder) TermID

func (l *LogInfoBuilder) TermID(termID TermID) *LogInfoBuilder

type NList

type NList struct {
	Values []*Value `thrift:"values,1" db:"values" json:"values"`
}

Attributes:

  • Values
var Value_LVal_DEFAULT *NList

func NewNList

func NewNList() *NList

func (*NList) GetValues

func (p *NList) GetValues() []*Value

func (*NList) Read

func (p *NList) Read(iprot thrift.Protocol) error

func (*NList) ReadField1

func (p *NList) ReadField1(iprot thrift.Protocol) error

func (*NList) SetValues

func (n *NList) SetValues(values []*Value) *NList

func (*NList) String

func (p *NList) String() string

func (*NList) Write

func (p *NList) Write(oprot thrift.Protocol) error

type NListBuilder

type NListBuilder struct {
	// contains filtered or unexported fields
}

func NewNListBuilder

func NewNListBuilder() *NListBuilder

func (NListBuilder) Emit

func (p NListBuilder) Emit() *NList

func (*NListBuilder) Values

func (n *NListBuilder) Values(values []*Value) *NListBuilder

type NMap

type NMap struct {
	Kvs map[string]*Value `thrift:"kvs,1" db:"kvs" json:"kvs"`
}

Attributes:

  • Kvs
var Value_MVal_DEFAULT *NMap

func NewNMap

func NewNMap() *NMap

func (*NMap) GetKvs

func (p *NMap) GetKvs() map[string]*Value

func (*NMap) Read

func (p *NMap) Read(iprot thrift.Protocol) error

func (*NMap) ReadField1

func (p *NMap) ReadField1(iprot thrift.Protocol) error

func (*NMap) SetKvs

func (n *NMap) SetKvs(kvs map[string]*Value) *NMap

func (*NMap) String

func (p *NMap) String() string

func (*NMap) Write

func (p *NMap) Write(oprot thrift.Protocol) error

type NMapBuilder

type NMapBuilder struct {
	// contains filtered or unexported fields
}

func NewNMapBuilder

func NewNMapBuilder() *NMapBuilder

func (NMapBuilder) Emit

func (p NMapBuilder) Emit() *NMap

func (*NMapBuilder) Kvs

func (n *NMapBuilder) Kvs(kvs map[string]*Value) *NMapBuilder

type NSet

type NSet struct {
	Values []*Value `thrift:"values,1" db:"values" json:"values"`
}

Attributes:

  • Values
var Value_UVal_DEFAULT *NSet

func NewNSet

func NewNSet() *NSet

func (*NSet) GetValues

func (p *NSet) GetValues() []*Value

func (*NSet) Read

func (p *NSet) Read(iprot thrift.Protocol) error

func (*NSet) ReadField1

func (p *NSet) ReadField1(iprot thrift.Protocol) error

func (*NSet) SetValues

func (n *NSet) SetValues(values []*Value) *NSet

func (*NSet) String

func (p *NSet) String() string

func (*NSet) Write

func (p *NSet) Write(oprot thrift.Protocol) error

type NSetBuilder

type NSetBuilder struct {
	// contains filtered or unexported fields
}

func NewNSetBuilder

func NewNSetBuilder() *NSetBuilder

func (NSetBuilder) Emit

func (p NSetBuilder) Emit() *NSet

func (*NSetBuilder) Values

func (n *NSetBuilder) Values(values []*Value) *NSetBuilder

type NullType

type NullType int64
const (
	NullType___NULL__     NullType = 0
	NullType_NaN          NullType = 1
	NullType_BAD_DATA     NullType = 2
	NullType_BAD_TYPE     NullType = 3
	NullType_ERR_OVERFLOW NullType = 4
	NullType_UNKNOWN_PROP NullType = 5
	NullType_DIV_BY_ZERO  NullType = 6
	NullType_OUT_OF_RANGE NullType = 7
)
var Value_NVal_DEFAULT NullType

func NullTypeFromString

func NullTypeFromString(s string) (NullType, error)

func NullTypePtr

func NullTypePtr(v NullType) *NullType

func (NullType) String

func (p NullType) String() string

type PartitionID

type PartitionID = int32

func PartitionIDPtr

func PartitionIDPtr(v PartitionID) *PartitionID

type Path

type Path struct {
	Src   *Vertex `thrift:"src,1" db:"src" json:"src"`
	Steps []*Step `thrift:"steps,2" db:"steps" json:"steps"`
}

Attributes:

  • Src
  • Steps
var Value_PVal_DEFAULT *Path

func NewPath

func NewPath() *Path

func (*Path) GetSrc

func (p *Path) GetSrc() *Vertex

func (*Path) GetSteps

func (p *Path) GetSteps() []*Step

func (*Path) IsSetSrc

func (p *Path) IsSetSrc() bool

func (*Path) Read

func (p *Path) Read(iprot thrift.Protocol) error

func (*Path) ReadField1

func (p *Path) ReadField1(iprot thrift.Protocol) error

func (*Path) ReadField2

func (p *Path) ReadField2(iprot thrift.Protocol) error

func (*Path) SetSrc

func (p *Path) SetSrc(src *Vertex) *Path

func (*Path) SetSteps

func (p *Path) SetSteps(steps []*Step) *Path

func (*Path) String

func (p *Path) String() string

func (*Path) Write

func (p *Path) Write(oprot thrift.Protocol) error

type PathBuilder

type PathBuilder struct {
	// contains filtered or unexported fields
}

func NewPathBuilder

func NewPathBuilder() *PathBuilder

func (PathBuilder) Emit

func (p PathBuilder) Emit() *Path

func (*PathBuilder) Src

func (p *PathBuilder) Src(src *Vertex) *PathBuilder

func (*PathBuilder) Steps

func (p *PathBuilder) Steps(steps []*Step) *PathBuilder

type Point

type Point struct {
	Coord *Coordinate `thrift:"coord,1" db:"coord" json:"coord"`
}

Attributes:

  • Coord
var Geography_PtVal_DEFAULT *Point

func NewPoint

func NewPoint() *Point

func (*Point) GetCoord

func (p *Point) GetCoord() *Coordinate

func (*Point) IsSetCoord

func (p *Point) IsSetCoord() bool

func (*Point) Read

func (p *Point) Read(iprot thrift.Protocol) error

func (*Point) ReadField1

func (p *Point) ReadField1(iprot thrift.Protocol) error

func (*Point) SetCoord

func (p *Point) SetCoord(coord *Coordinate) *Point

func (*Point) String

func (p *Point) String() string

func (*Point) Write

func (p *Point) Write(oprot thrift.Protocol) error

type PointBuilder

type PointBuilder struct {
	// contains filtered or unexported fields
}

func NewPointBuilder

func NewPointBuilder() *PointBuilder

func (*PointBuilder) Coord

func (p *PointBuilder) Coord(coord *Coordinate) *PointBuilder

func (PointBuilder) Emit

func (p PointBuilder) Emit() *Point

type Polygon

type Polygon struct {
	CoordListList [][]*Coordinate `thrift:"coordListList,1" db:"coordListList" json:"coordListList"`
}

Attributes:

  • CoordListList
var Geography_PgVal_DEFAULT *Polygon

func NewPolygon

func NewPolygon() *Polygon

func (*Polygon) GetCoordListList

func (p *Polygon) GetCoordListList() [][]*Coordinate

func (*Polygon) Read

func (p *Polygon) Read(iprot thrift.Protocol) error

func (*Polygon) ReadField1

func (p *Polygon) ReadField1(iprot thrift.Protocol) error

func (*Polygon) SetCoordListList

func (p *Polygon) SetCoordListList(coordListList [][]*Coordinate) *Polygon

func (*Polygon) String

func (p *Polygon) String() string

func (*Polygon) Write

func (p *Polygon) Write(oprot thrift.Protocol) error

type PolygonBuilder

type PolygonBuilder struct {
	// contains filtered or unexported fields
}

func NewPolygonBuilder

func NewPolygonBuilder() *PolygonBuilder

func (*PolygonBuilder) CoordListList

func (p *PolygonBuilder) CoordListList(coordListList [][]*Coordinate) *PolygonBuilder

func (PolygonBuilder) Emit

func (p PolygonBuilder) Emit() *Polygon

type Port

type Port = int32

func PortPtr

func PortPtr(v Port) *Port

type PropertyType

type PropertyType int64
const (
	PropertyType_UNKNOWN      PropertyType = 0
	PropertyType_BOOL         PropertyType = 1
	PropertyType_INT64        PropertyType = 2
	PropertyType_VID          PropertyType = 3
	PropertyType_FLOAT        PropertyType = 4
	PropertyType_DOUBLE       PropertyType = 5
	PropertyType_STRING       PropertyType = 6
	PropertyType_FIXED_STRING PropertyType = 7
	PropertyType_INT8         PropertyType = 8
	PropertyType_INT16        PropertyType = 9
	PropertyType_INT32        PropertyType = 10
	PropertyType_TIMESTAMP    PropertyType = 21
	PropertyType_DURATION     PropertyType = 23
	PropertyType_DATE         PropertyType = 24
	PropertyType_DATETIME     PropertyType = 25
	PropertyType_TIME         PropertyType = 26
	PropertyType_GEOGRAPHY    PropertyType = 31
)

func PropertyTypeFromString

func PropertyTypeFromString(s string) (PropertyType, error)

func PropertyTypePtr

func PropertyTypePtr(v PropertyType) *PropertyType

func (PropertyType) String

func (p PropertyType) String() string

type Row

type Row struct {
	Values []*Value `thrift:"values,1" db:"values" json:"values"`
}

Attributes:

  • Values

func NewRow

func NewRow() *Row

func (*Row) GetValues

func (p *Row) GetValues() []*Value

func (*Row) Read

func (p *Row) Read(iprot thrift.Protocol) error

func (*Row) ReadField1

func (p *Row) ReadField1(iprot thrift.Protocol) error

func (*Row) SetValues

func (r *Row) SetValues(values []*Value) *Row

func (*Row) String

func (p *Row) String() string

func (*Row) Write

func (p *Row) Write(oprot thrift.Protocol) error

type RowBuilder

type RowBuilder struct {
	// contains filtered or unexported fields
}

func NewRowBuilder

func NewRowBuilder() *RowBuilder

func (RowBuilder) Emit

func (p RowBuilder) Emit() *Row

func (*RowBuilder) Values

func (r *RowBuilder) Values(values []*Value) *RowBuilder

type SchemaID

type SchemaID struct {
	TagID    *TagID    `thrift:"tag_id,1,optional" db:"tag_id" json:"tag_id,omitempty"`
	EdgeType *EdgeType `thrift:"edge_type,2,optional" db:"edge_type" json:"edge_type,omitempty"`
}

Attributes:

  • TagID
  • EdgeType

func NewSchemaID

func NewSchemaID() *SchemaID

func (*SchemaID) CountSetFieldsSchemaID

func (p *SchemaID) CountSetFieldsSchemaID() int

func (*SchemaID) GetEdgeType

func (p *SchemaID) GetEdgeType() EdgeType

func (*SchemaID) GetTagID

func (p *SchemaID) GetTagID() TagID

func (*SchemaID) IsSetEdgeType

func (p *SchemaID) IsSetEdgeType() bool

func (*SchemaID) IsSetTagID

func (p *SchemaID) IsSetTagID() bool

func (*SchemaID) Read

func (p *SchemaID) Read(iprot thrift.Protocol) error

func (*SchemaID) ReadField1

func (p *SchemaID) ReadField1(iprot thrift.Protocol) error

func (*SchemaID) ReadField2

func (p *SchemaID) ReadField2(iprot thrift.Protocol) error

func (*SchemaID) SetEdgeType

func (s *SchemaID) SetEdgeType(edgeType *EdgeType) *SchemaID

func (*SchemaID) SetTagID

func (s *SchemaID) SetTagID(tagID *TagID) *SchemaID

func (*SchemaID) String

func (p *SchemaID) String() string

func (*SchemaID) Write

func (p *SchemaID) Write(oprot thrift.Protocol) error

type SchemaIDBuilder

type SchemaIDBuilder struct {
	// contains filtered or unexported fields
}

func NewSchemaIDBuilder

func NewSchemaIDBuilder() *SchemaIDBuilder

func (*SchemaIDBuilder) EdgeType

func (s *SchemaIDBuilder) EdgeType(edgeType *EdgeType) *SchemaIDBuilder

func (SchemaIDBuilder) Emit

func (p SchemaIDBuilder) Emit() *SchemaID

func (*SchemaIDBuilder) TagID

func (s *SchemaIDBuilder) TagID(tagID *TagID) *SchemaIDBuilder

type SessionID

type SessionID = int64

func SessionIDPtr

func SessionIDPtr(v SessionID) *SessionID

type Step

type Step struct {
	Dst     *Vertex           `thrift:"dst,1" db:"dst" json:"dst"`
	Type    EdgeType          `thrift:"type,2" db:"type" json:"type"`
	Name    []byte            `thrift:"name,3" db:"name" json:"name"`
	Ranking EdgeRanking       `thrift:"ranking,4" db:"ranking" json:"ranking"`
	Props   map[string]*Value `thrift:"props,5" db:"props" json:"props"`
}

Attributes:

  • Dst
  • Type
  • Name
  • Ranking
  • Props

func NewStep

func NewStep() *Step

func (*Step) GetDst

func (p *Step) GetDst() *Vertex

func (*Step) GetName

func (p *Step) GetName() []byte

func (*Step) GetProps

func (p *Step) GetProps() map[string]*Value

func (*Step) GetRanking

func (p *Step) GetRanking() EdgeRanking

func (*Step) GetType

func (p *Step) GetType() EdgeType

func (*Step) IsSetDst

func (p *Step) IsSetDst() bool

func (*Step) Read

func (p *Step) Read(iprot thrift.Protocol) error

func (*Step) ReadField1

func (p *Step) ReadField1(iprot thrift.Protocol) error

func (*Step) ReadField2

func (p *Step) ReadField2(iprot thrift.Protocol) error

func (*Step) ReadField3

func (p *Step) ReadField3(iprot thrift.Protocol) error

func (*Step) ReadField4

func (p *Step) ReadField4(iprot thrift.Protocol) error

func (*Step) ReadField5

func (p *Step) ReadField5(iprot thrift.Protocol) error

func (*Step) SetDst

func (s *Step) SetDst(dst *Vertex) *Step

func (*Step) SetName

func (s *Step) SetName(name []byte) *Step

func (*Step) SetProps

func (s *Step) SetProps(props map[string]*Value) *Step

func (*Step) SetRanking

func (s *Step) SetRanking(ranking EdgeRanking) *Step

func (*Step) SetType

func (s *Step) SetType(type_a1 EdgeType) *Step

func (*Step) String

func (p *Step) String() string

func (*Step) Write

func (p *Step) Write(oprot thrift.Protocol) error

type StepBuilder

type StepBuilder struct {
	// contains filtered or unexported fields
}

func NewStepBuilder

func NewStepBuilder() *StepBuilder

func (*StepBuilder) Dst

func (s *StepBuilder) Dst(dst *Vertex) *StepBuilder

func (StepBuilder) Emit

func (p StepBuilder) Emit() *Step

func (*StepBuilder) Name

func (s *StepBuilder) Name(name []byte) *StepBuilder

func (*StepBuilder) Props

func (s *StepBuilder) Props(props map[string]*Value) *StepBuilder

func (*StepBuilder) Ranking

func (s *StepBuilder) Ranking(ranking EdgeRanking) *StepBuilder

func (*StepBuilder) Type

func (s *StepBuilder) Type(type_a1 EdgeType) *StepBuilder

type Tag

type Tag struct {
	Name  []byte            `thrift:"name,1" db:"name" json:"name"`
	Props map[string]*Value `thrift:"props,2" db:"props" json:"props"`
}

Attributes:

  • Name
  • Props

func NewTag

func NewTag() *Tag

func (*Tag) GetName

func (p *Tag) GetName() []byte

func (*Tag) GetProps

func (p *Tag) GetProps() map[string]*Value

func (*Tag) Read

func (p *Tag) Read(iprot thrift.Protocol) error

func (*Tag) ReadField1

func (p *Tag) ReadField1(iprot thrift.Protocol) error

func (*Tag) ReadField2

func (p *Tag) ReadField2(iprot thrift.Protocol) error

func (*Tag) SetName

func (t *Tag) SetName(name []byte) *Tag

func (*Tag) SetProps

func (t *Tag) SetProps(props map[string]*Value) *Tag

func (*Tag) String

func (p *Tag) String() string

func (*Tag) Write

func (p *Tag) Write(oprot thrift.Protocol) error

type TagBuilder

type TagBuilder struct {
	// contains filtered or unexported fields
}

func NewTagBuilder

func NewTagBuilder() *TagBuilder

func (TagBuilder) Emit

func (p TagBuilder) Emit() *Tag

func (*TagBuilder) Name

func (t *TagBuilder) Name(name []byte) *TagBuilder

func (*TagBuilder) Props

func (t *TagBuilder) Props(props map[string]*Value) *TagBuilder

type TagID

type TagID = int32
var SchemaID_TagID_DEFAULT TagID

func TagIDPtr

func TagIDPtr(v TagID) *TagID

type TermID

type TermID = int64

func TermIDPtr

func TermIDPtr(v TermID) *TermID

type Time

type Time struct {
	Hour     int8  `thrift:"hour,1" db:"hour" json:"hour"`
	Minute   int8  `thrift:"minute,2" db:"minute" json:"minute"`
	Sec      int8  `thrift:"sec,3" db:"sec" json:"sec"`
	Microsec int32 `thrift:"microsec,4" db:"microsec" json:"microsec"`
}

Attributes:

  • Hour
  • Minute
  • Sec
  • Microsec
var Value_TVal_DEFAULT *Time

func NewTime

func NewTime() *Time

func (*Time) GetHour

func (p *Time) GetHour() int8

func (*Time) GetMicrosec

func (p *Time) GetMicrosec() int32

func (*Time) GetMinute

func (p *Time) GetMinute() int8

func (*Time) GetSec

func (p *Time) GetSec() int8

func (*Time) Read

func (p *Time) Read(iprot thrift.Protocol) error

func (*Time) ReadField1

func (p *Time) ReadField1(iprot thrift.Protocol) error

func (*Time) ReadField2

func (p *Time) ReadField2(iprot thrift.Protocol) error

func (*Time) ReadField3

func (p *Time) ReadField3(iprot thrift.Protocol) error

func (*Time) ReadField4

func (p *Time) ReadField4(iprot thrift.Protocol) error

func (*Time) SetHour

func (t *Time) SetHour(hour int8) *Time

func (*Time) SetMicrosec

func (t *Time) SetMicrosec(microsec int32) *Time

func (*Time) SetMinute

func (t *Time) SetMinute(minute int8) *Time

func (*Time) SetSec

func (t *Time) SetSec(sec int8) *Time

func (*Time) String

func (p *Time) String() string

func (*Time) Write

func (p *Time) Write(oprot thrift.Protocol) error

type TimeBuilder

type TimeBuilder struct {
	// contains filtered or unexported fields
}

func NewTimeBuilder

func NewTimeBuilder() *TimeBuilder

func (TimeBuilder) Emit

func (p TimeBuilder) Emit() *Time

func (*TimeBuilder) Hour

func (t *TimeBuilder) Hour(hour int8) *TimeBuilder

func (*TimeBuilder) Microsec

func (t *TimeBuilder) Microsec(microsec int32) *TimeBuilder

func (*TimeBuilder) Minute

func (t *TimeBuilder) Minute(minute int8) *TimeBuilder

func (*TimeBuilder) Sec

func (t *TimeBuilder) Sec(sec int8) *TimeBuilder

type Timestamp

type Timestamp = int64

func TimestampPtr

func TimestampPtr(v Timestamp) *Timestamp

type Value

type Value struct {
	NVal  *NullType  `thrift:"nVal,1,optional" db:"nVal" json:"nVal,omitempty"`
	BVal  *bool      `thrift:"bVal,2,optional" db:"bVal" json:"bVal,omitempty"`
	IVal  *int64     `thrift:"iVal,3,optional" db:"iVal" json:"iVal,omitempty"`
	FVal  *float64   `thrift:"fVal,4,optional" db:"fVal" json:"fVal,omitempty"`
	SVal  []byte     `thrift:"sVal,5,optional" db:"sVal" json:"sVal,omitempty"`
	DVal  *Date      `thrift:"dVal,6,optional" db:"dVal" json:"dVal,omitempty"`
	TVal  *Time      `thrift:"tVal,7,optional" db:"tVal" json:"tVal,omitempty"`
	DtVal *DateTime  `thrift:"dtVal,8,optional" db:"dtVal" json:"dtVal,omitempty"`
	VVal  *Vertex    `thrift:"vVal,9,optional" db:"vVal" json:"vVal,omitempty"`
	EVal  *Edge      `thrift:"eVal,10,optional" db:"eVal" json:"eVal,omitempty"`
	PVal  *Path      `thrift:"pVal,11,optional" db:"pVal" json:"pVal,omitempty"`
	LVal  *NList     `thrift:"lVal,12,optional" db:"lVal" json:"lVal,omitempty"`
	MVal  *NMap      `thrift:"mVal,13,optional" db:"mVal" json:"mVal,omitempty"`
	UVal  *NSet      `thrift:"uVal,14,optional" db:"uVal" json:"uVal,omitempty"`
	GVal  *DataSet   `thrift:"gVal,15,optional" db:"gVal" json:"gVal,omitempty"`
	GgVal *Geography `thrift:"ggVal,16,optional" db:"ggVal" json:"ggVal,omitempty"`
	DuVal *Duration  `thrift:"duVal,17,optional" db:"duVal" json:"duVal,omitempty"`
}

Attributes:

  • NVal
  • BVal
  • IVal
  • FVal
  • SVal
  • DVal
  • TVal
  • DtVal
  • VVal
  • EVal
  • PVal
  • LVal
  • MVal
  • UVal
  • GVal
  • GgVal
  • DuVal
var Edge_Dst_DEFAULT *Value
var Edge_Src_DEFAULT *Value
var Vertex_Vid_DEFAULT *Value

func NewValue

func NewValue() *Value

func (*Value) CountSetFieldsValue

func (p *Value) CountSetFieldsValue() int

func (*Value) GetBVal

func (p *Value) GetBVal() bool

func (*Value) GetDVal

func (p *Value) GetDVal() *Date

func (*Value) GetDtVal

func (p *Value) GetDtVal() *DateTime

func (*Value) GetDuVal

func (p *Value) GetDuVal() *Duration

func (*Value) GetEVal

func (p *Value) GetEVal() *Edge

func (*Value) GetFVal

func (p *Value) GetFVal() float64

func (*Value) GetGVal

func (p *Value) GetGVal() *DataSet

func (*Value) GetGgVal

func (p *Value) GetGgVal() *Geography

func (*Value) GetIVal

func (p *Value) GetIVal() int64

func (*Value) GetLVal

func (p *Value) GetLVal() *NList

func (*Value) GetMVal

func (p *Value) GetMVal() *NMap

func (*Value) GetNVal

func (p *Value) GetNVal() NullType

func (*Value) GetPVal

func (p *Value) GetPVal() *Path

func (*Value) GetSVal

func (p *Value) GetSVal() []byte

func (*Value) GetTVal

func (p *Value) GetTVal() *Time

func (*Value) GetUVal

func (p *Value) GetUVal() *NSet

func (*Value) GetVVal

func (p *Value) GetVVal() *Vertex

func (*Value) IsSetBVal

func (p *Value) IsSetBVal() bool

func (*Value) IsSetDVal

func (p *Value) IsSetDVal() bool

func (*Value) IsSetDtVal

func (p *Value) IsSetDtVal() bool

func (*Value) IsSetDuVal

func (p *Value) IsSetDuVal() bool

func (*Value) IsSetEVal

func (p *Value) IsSetEVal() bool

func (*Value) IsSetFVal

func (p *Value) IsSetFVal() bool

func (*Value) IsSetGVal

func (p *Value) IsSetGVal() bool

func (*Value) IsSetGgVal

func (p *Value) IsSetGgVal() bool

func (*Value) IsSetIVal

func (p *Value) IsSetIVal() bool

func (*Value) IsSetLVal

func (p *Value) IsSetLVal() bool

func (*Value) IsSetMVal

func (p *Value) IsSetMVal() bool

func (*Value) IsSetNVal

func (p *Value) IsSetNVal() bool

func (*Value) IsSetPVal

func (p *Value) IsSetPVal() bool

func (*Value) IsSetSVal

func (p *Value) IsSetSVal() bool

func (*Value) IsSetTVal

func (p *Value) IsSetTVal() bool

func (*Value) IsSetUVal

func (p *Value) IsSetUVal() bool

func (*Value) IsSetVVal

func (p *Value) IsSetVVal() bool

func (*Value) Read

func (p *Value) Read(iprot thrift.Protocol) error

func (*Value) ReadField1

func (p *Value) ReadField1(iprot thrift.Protocol) error

func (*Value) ReadField10

func (p *Value) ReadField10(iprot thrift.Protocol) error

func (*Value) ReadField11

func (p *Value) ReadField11(iprot thrift.Protocol) error

func (*Value) ReadField12

func (p *Value) ReadField12(iprot thrift.Protocol) error

func (*Value) ReadField13

func (p *Value) ReadField13(iprot thrift.Protocol) error

func (*Value) ReadField14

func (p *Value) ReadField14(iprot thrift.Protocol) error

func (*Value) ReadField15

func (p *Value) ReadField15(iprot thrift.Protocol) error

func (*Value) ReadField16

func (p *Value) ReadField16(iprot thrift.Protocol) error

func (*Value) ReadField17

func (p *Value) ReadField17(iprot thrift.Protocol) error

func (*Value) ReadField2

func (p *Value) ReadField2(iprot thrift.Protocol) error

func (*Value) ReadField3

func (p *Value) ReadField3(iprot thrift.Protocol) error

func (*Value) ReadField4

func (p *Value) ReadField4(iprot thrift.Protocol) error

func (*Value) ReadField5

func (p *Value) ReadField5(iprot thrift.Protocol) error

func (*Value) ReadField6

func (p *Value) ReadField6(iprot thrift.Protocol) error

func (*Value) ReadField7

func (p *Value) ReadField7(iprot thrift.Protocol) error

func (*Value) ReadField8

func (p *Value) ReadField8(iprot thrift.Protocol) error

func (*Value) ReadField9

func (p *Value) ReadField9(iprot thrift.Protocol) error

func (*Value) SetBVal

func (v *Value) SetBVal(bVal *bool) *Value

func (*Value) SetDVal

func (v *Value) SetDVal(dVal *Date) *Value

func (*Value) SetDtVal

func (v *Value) SetDtVal(dtVal *DateTime) *Value

func (*Value) SetDuVal

func (v *Value) SetDuVal(duVal *Duration) *Value

func (*Value) SetEVal

func (v *Value) SetEVal(eVal *Edge) *Value

func (*Value) SetFVal

func (v *Value) SetFVal(fVal *float64) *Value

func (*Value) SetGVal

func (v *Value) SetGVal(gVal *DataSet) *Value

func (*Value) SetGgVal

func (v *Value) SetGgVal(ggVal *Geography) *Value

func (*Value) SetIVal

func (v *Value) SetIVal(iVal *int64) *Value

func (*Value) SetLVal

func (v *Value) SetLVal(lVal *NList) *Value

func (*Value) SetMVal

func (v *Value) SetMVal(mVal *NMap) *Value

func (*Value) SetNVal

func (v *Value) SetNVal(nVal *NullType) *Value

func (*Value) SetPVal

func (v *Value) SetPVal(pVal *Path) *Value

func (*Value) SetSVal

func (v *Value) SetSVal(sVal []byte) *Value

func (*Value) SetTVal

func (v *Value) SetTVal(tVal *Time) *Value

func (*Value) SetUVal

func (v *Value) SetUVal(uVal *NSet) *Value

func (*Value) SetVVal

func (v *Value) SetVVal(vVal *Vertex) *Value

func (*Value) String

func (p *Value) String() string

func (*Value) Write

func (p *Value) Write(oprot thrift.Protocol) error

type ValueBuilder

type ValueBuilder struct {
	// contains filtered or unexported fields
}

func NewValueBuilder

func NewValueBuilder() *ValueBuilder

func (*ValueBuilder) BVal

func (v *ValueBuilder) BVal(bVal *bool) *ValueBuilder

func (*ValueBuilder) DVal

func (v *ValueBuilder) DVal(dVal *Date) *ValueBuilder

func (*ValueBuilder) DtVal

func (v *ValueBuilder) DtVal(dtVal *DateTime) *ValueBuilder

func (*ValueBuilder) DuVal

func (v *ValueBuilder) DuVal(duVal *Duration) *ValueBuilder

func (*ValueBuilder) EVal

func (v *ValueBuilder) EVal(eVal *Edge) *ValueBuilder

func (ValueBuilder) Emit

func (p ValueBuilder) Emit() *Value

func (*ValueBuilder) FVal

func (v *ValueBuilder) FVal(fVal *float64) *ValueBuilder

func (*ValueBuilder) GVal

func (v *ValueBuilder) GVal(gVal *DataSet) *ValueBuilder

func (*ValueBuilder) GgVal

func (v *ValueBuilder) GgVal(ggVal *Geography) *ValueBuilder

func (*ValueBuilder) IVal

func (v *ValueBuilder) IVal(iVal *int64) *ValueBuilder

func (*ValueBuilder) LVal

func (v *ValueBuilder) LVal(lVal *NList) *ValueBuilder

func (*ValueBuilder) MVal

func (v *ValueBuilder) MVal(mVal *NMap) *ValueBuilder

func (*ValueBuilder) NVal

func (v *ValueBuilder) NVal(nVal *NullType) *ValueBuilder

func (*ValueBuilder) PVal

func (v *ValueBuilder) PVal(pVal *Path) *ValueBuilder

func (*ValueBuilder) SVal

func (v *ValueBuilder) SVal(sVal []byte) *ValueBuilder

func (*ValueBuilder) TVal

func (v *ValueBuilder) TVal(tVal *Time) *ValueBuilder

func (*ValueBuilder) UVal

func (v *ValueBuilder) UVal(uVal *NSet) *ValueBuilder

func (*ValueBuilder) VVal

func (v *ValueBuilder) VVal(vVal *Vertex) *ValueBuilder

type Vertex

type Vertex struct {
	Vid  *Value `thrift:"vid,1" db:"vid" json:"vid"`
	Tags []*Tag `thrift:"tags,2" db:"tags" json:"tags"`
}

Attributes:

  • Vid
  • Tags
var Path_Src_DEFAULT *Vertex
var Step_Dst_DEFAULT *Vertex
var Value_VVal_DEFAULT *Vertex

func NewVertex

func NewVertex() *Vertex

func (*Vertex) GetTags

func (p *Vertex) GetTags() []*Tag

func (*Vertex) GetVid

func (p *Vertex) GetVid() *Value

func (*Vertex) IsSetVid

func (p *Vertex) IsSetVid() bool

func (*Vertex) Read

func (p *Vertex) Read(iprot thrift.Protocol) error

func (*Vertex) ReadField1

func (p *Vertex) ReadField1(iprot thrift.Protocol) error

func (*Vertex) ReadField2

func (p *Vertex) ReadField2(iprot thrift.Protocol) error

func (*Vertex) SetTags

func (v *Vertex) SetTags(tags []*Tag) *Vertex

func (*Vertex) SetVid

func (v *Vertex) SetVid(vid *Value) *Vertex

func (*Vertex) String

func (p *Vertex) String() string

func (*Vertex) Write

func (p *Vertex) Write(oprot thrift.Protocol) error

type VertexBuilder

type VertexBuilder struct {
	// contains filtered or unexported fields
}

func NewVertexBuilder

func NewVertexBuilder() *VertexBuilder

func (VertexBuilder) Emit

func (p VertexBuilder) Emit() *Vertex

func (*VertexBuilder) Tags

func (v *VertexBuilder) Tags(tags []*Tag) *VertexBuilder

func (*VertexBuilder) Vid

func (v *VertexBuilder) Vid(vid *Value) *VertexBuilder

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL