Documentation ¶
Index ¶
- Variables
- type TEdgeType
- type TLineageGraph
- func (p *TLineageGraph) Equals(other *TLineageGraph) bool
- func (p *TLineageGraph) GetEdges() []*TMultiEdge
- func (p *TLineageGraph) GetEnded() int64
- func (p *TLineageGraph) GetHash() string
- func (p *TLineageGraph) GetQueryID() *types.TUniqueId
- func (p *TLineageGraph) GetQueryText() string
- func (p *TLineageGraph) GetStarted() int64
- func (p *TLineageGraph) GetTableLocation() string
- func (p *TLineageGraph) GetUser() string
- func (p *TLineageGraph) GetVertices() []*TVertex
- func (p *TLineageGraph) IsSetEnded() bool
- func (p *TLineageGraph) IsSetQueryID() bool
- func (p *TLineageGraph) IsSetTableLocation() bool
- func (p *TLineageGraph) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) ReadField6(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) ReadField7(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) ReadField8(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) ReadField9(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TLineageGraph) String() string
- func (p *TLineageGraph) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TMultiEdge
- func (p *TMultiEdge) Equals(other *TMultiEdge) bool
- func (p *TMultiEdge) GetEdgetype() TEdgeType
- func (p *TMultiEdge) GetSources() []*TVertex
- func (p *TMultiEdge) GetTargets() []*TVertex
- func (p *TMultiEdge) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMultiEdge) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMultiEdge) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMultiEdge) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TMultiEdge) String() string
- func (p *TMultiEdge) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TVertex
- func (p *TVertex) Equals(other *TVertex) bool
- func (p *TVertex) GetID() int64
- func (p *TVertex) GetLabel() string
- func (p *TVertex) GetMetadata() *TVertexMetadata
- func (p *TVertex) IsSetMetadata() bool
- func (p *TVertex) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TVertex) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TVertex) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TVertex) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TVertex) String() string
- func (p *TVertex) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TVertexMetadata
- func (p *TVertexMetadata) Equals(other *TVertexMetadata) bool
- func (p *TVertexMetadata) GetTableCreateTime() int64
- func (p *TVertexMetadata) GetTableName() string
- func (p *TVertexMetadata) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TVertexMetadata) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TVertexMetadata) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TVertexMetadata) String() string
- func (p *TVertexMetadata) Write(ctx context.Context, oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
View Source
var TLineageGraph_Ended_DEFAULT int64
View Source
var TLineageGraph_QueryID_DEFAULT *types.TUniqueId
View Source
var TLineageGraph_TableLocation_DEFAULT string
Functions ¶
This section is empty.
Types ¶
type TEdgeType ¶
type TEdgeType int64
func TEdgeTypeFromString ¶
func TEdgeTypePtr ¶
func (TEdgeType) MarshalText ¶
func (*TEdgeType) UnmarshalText ¶
type TLineageGraph ¶
type TLineageGraph struct { QueryText string `thrift:"query_text,1,required" db:"query_text" json:"query_text"` Hash string `thrift:"hash,2,required" db:"hash" json:"hash"` User string `thrift:"user,3,required" db:"user" json:"user"` Started int64 `thrift:"started,4,required" db:"started" json:"started"` Ended *int64 `thrift:"ended,5" db:"ended" json:"ended,omitempty"` Edges []*TMultiEdge `thrift:"edges,6" db:"edges" json:"edges"` Vertices []*TVertex `thrift:"vertices,7" db:"vertices" json:"vertices"` QueryID *types.TUniqueId `thrift:"query_id,8,required" db:"query_id" json:"query_id"` TableLocation *string `thrift:"table_location,9" db:"table_location" json:"table_location,omitempty"` }
Attributes:
- QueryText
- Hash
- User
- Started
- Ended
- Edges
- Vertices
- QueryID
- TableLocation
func NewTLineageGraph ¶
func NewTLineageGraph() *TLineageGraph
func (*TLineageGraph) Equals ¶
func (p *TLineageGraph) Equals(other *TLineageGraph) bool
func (*TLineageGraph) GetEdges ¶
func (p *TLineageGraph) GetEdges() []*TMultiEdge
func (*TLineageGraph) GetEnded ¶
func (p *TLineageGraph) GetEnded() int64
func (*TLineageGraph) GetHash ¶
func (p *TLineageGraph) GetHash() string
func (*TLineageGraph) GetQueryID ¶
func (p *TLineageGraph) GetQueryID() *types.TUniqueId
func (*TLineageGraph) GetQueryText ¶
func (p *TLineageGraph) GetQueryText() string
func (*TLineageGraph) GetStarted ¶
func (p *TLineageGraph) GetStarted() int64
func (*TLineageGraph) GetTableLocation ¶
func (p *TLineageGraph) GetTableLocation() string
func (*TLineageGraph) GetUser ¶
func (p *TLineageGraph) GetUser() string
func (*TLineageGraph) GetVertices ¶
func (p *TLineageGraph) GetVertices() []*TVertex
func (*TLineageGraph) IsSetEnded ¶
func (p *TLineageGraph) IsSetEnded() bool
func (*TLineageGraph) IsSetQueryID ¶
func (p *TLineageGraph) IsSetQueryID() bool
func (*TLineageGraph) IsSetTableLocation ¶
func (p *TLineageGraph) IsSetTableLocation() bool
func (*TLineageGraph) ReadField1 ¶
func (*TLineageGraph) ReadField2 ¶
func (*TLineageGraph) ReadField3 ¶
func (*TLineageGraph) ReadField4 ¶
func (*TLineageGraph) ReadField5 ¶
func (*TLineageGraph) ReadField6 ¶
func (*TLineageGraph) ReadField7 ¶
func (*TLineageGraph) ReadField8 ¶
func (*TLineageGraph) ReadField9 ¶
func (*TLineageGraph) String ¶
func (p *TLineageGraph) String() string
type TMultiEdge ¶
type TMultiEdge struct { Sources []*TVertex `thrift:"sources,1" db:"sources" json:"sources"` Targets []*TVertex `thrift:"targets,2" db:"targets" json:"targets"` Edgetype TEdgeType `thrift:"edgetype,3" db:"edgetype" json:"edgetype"` }
Attributes:
- Sources
- Targets
- Edgetype
func NewTMultiEdge ¶
func NewTMultiEdge() *TMultiEdge
func (*TMultiEdge) Equals ¶
func (p *TMultiEdge) Equals(other *TMultiEdge) bool
func (*TMultiEdge) GetEdgetype ¶
func (p *TMultiEdge) GetEdgetype() TEdgeType
func (*TMultiEdge) GetSources ¶
func (p *TMultiEdge) GetSources() []*TVertex
func (*TMultiEdge) GetTargets ¶
func (p *TMultiEdge) GetTargets() []*TVertex
func (*TMultiEdge) ReadField1 ¶
func (*TMultiEdge) ReadField2 ¶
func (*TMultiEdge) ReadField3 ¶
func (*TMultiEdge) String ¶
func (p *TMultiEdge) String() string
type TVertex ¶
type TVertex struct { ID int64 `thrift:"id,1,required" db:"id" json:"id"` Label string `thrift:"label,2,required" db:"label" json:"label"` Metadata *TVertexMetadata `thrift:"metadata,3" db:"metadata" json:"metadata,omitempty"` }
Attributes:
- ID
- Label
- Metadata
func NewTVertex ¶
func NewTVertex() *TVertex
func (*TVertex) GetMetadata ¶
func (p *TVertex) GetMetadata() *TVertexMetadata
func (*TVertex) IsSetMetadata ¶
func (*TVertex) ReadField1 ¶
func (*TVertex) ReadField2 ¶
func (*TVertex) ReadField3 ¶
type TVertexMetadata ¶
type TVertexMetadata struct { TableName string `thrift:"table_name,1,required" db:"table_name" json:"table_name"` TableCreateTime int64 `thrift:"table_create_time,2,required" db:"table_create_time" json:"table_create_time"` }
Attributes:
- TableName
- TableCreateTime
var TVertex_Metadata_DEFAULT *TVertexMetadata
func NewTVertexMetadata ¶
func NewTVertexMetadata() *TVertexMetadata
func (*TVertexMetadata) Equals ¶
func (p *TVertexMetadata) Equals(other *TVertexMetadata) bool
func (*TVertexMetadata) GetTableCreateTime ¶
func (p *TVertexMetadata) GetTableCreateTime() int64
func (*TVertexMetadata) GetTableName ¶
func (p *TVertexMetadata) GetTableName() string
func (*TVertexMetadata) ReadField1 ¶
func (*TVertexMetadata) ReadField2 ¶
func (*TVertexMetadata) String ¶
func (p *TVertexMetadata) String() string
Click to show internal directories.
Click to hide internal directories.