Documentation ¶
Index ¶
- Constants
- type BandwidthGremlinTraversalStep
- func (s *BandwidthGremlinTraversalStep) Exec(last traversal.GraphTraversalStep) (traversal.GraphTraversalStep, error)
- func (s *BandwidthGremlinTraversalStep) Params() (params []interface{})
- func (s *BandwidthGremlinTraversalStep) Reduce(next traversal.GremlinTraversalStep) traversal.GremlinTraversalStep
- type BandwidthTraversalStep
- type FlowGremlinTraversalStep
- type FlowTraversalExtension
- type FlowTraversalStep
- func (f *FlowTraversalStep) Both(s ...interface{}) *traversal.GraphTraversalV
- func (f *FlowTraversalStep) Count(s ...interface{}) *traversal.GraphTraversalValue
- func (f *FlowTraversalStep) Dedup() *FlowTraversalStep
- func (f *FlowTraversalStep) Error() error
- func (f *FlowTraversalStep) Has(s ...interface{}) *FlowTraversalStep
- func (f *FlowTraversalStep) In(s ...interface{}) *traversal.GraphTraversalV
- func (f *FlowTraversalStep) MarshalJSON() ([]byte, error)
- func (f *FlowTraversalStep) Out(s ...interface{}) *traversal.GraphTraversalV
- func (f *FlowTraversalStep) Values() []interface{}
Constants ¶
View Source
const ( FLOW_TOKEN traversal.Token = 1001 BANDWIDTH_TOKEN traversal.Token = 1002 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BandwidthGremlinTraversalStep ¶ added in v0.5.0
type BandwidthGremlinTraversalStep struct { TableClient *flow.TableClient Storage storage.Storage // contains filtered or unexported fields }
func (*BandwidthGremlinTraversalStep) Exec ¶ added in v0.5.0
func (s *BandwidthGremlinTraversalStep) Exec(last traversal.GraphTraversalStep) (traversal.GraphTraversalStep, error)
func (*BandwidthGremlinTraversalStep) Params ¶ added in v0.5.0
func (s *BandwidthGremlinTraversalStep) Params() (params []interface{})
func (*BandwidthGremlinTraversalStep) Reduce ¶ added in v0.5.0
func (s *BandwidthGremlinTraversalStep) Reduce(next traversal.GremlinTraversalStep) traversal.GremlinTraversalStep
type BandwidthTraversalStep ¶ added in v0.5.0
type BandwidthTraversalStep struct { GraphTraversal *traversal.GraphTraversal // contains filtered or unexported fields }
func (*BandwidthTraversalStep) Error ¶ added in v0.5.0
func (b *BandwidthTraversalStep) Error() error
func (*BandwidthTraversalStep) MarshalJSON ¶ added in v0.5.0
func (b *BandwidthTraversalStep) MarshalJSON() ([]byte, error)
func (*BandwidthTraversalStep) Values ¶ added in v0.5.0
func (b *BandwidthTraversalStep) Values() []interface{}
type FlowGremlinTraversalStep ¶
type FlowGremlinTraversalStep struct { TableClient *flow.TableClient Storage storage.Storage // contains filtered or unexported fields }
func (*FlowGremlinTraversalStep) Exec ¶
func (s *FlowGremlinTraversalStep) Exec(last traversal.GraphTraversalStep) (traversal.GraphTraversalStep, error)
func (*FlowGremlinTraversalStep) Params ¶ added in v0.5.0
func (s *FlowGremlinTraversalStep) Params() (params []interface{})
func (*FlowGremlinTraversalStep) Reduce ¶ added in v0.5.0
func (s *FlowGremlinTraversalStep) Reduce(next traversal.GremlinTraversalStep) traversal.GremlinTraversalStep
type FlowTraversalExtension ¶
type FlowTraversalExtension struct { FlowToken traversal.Token BandwidthToken traversal.Token TableClient *flow.TableClient Storage storage.Storage }
func NewFlowTraversalExtension ¶
func NewFlowTraversalExtension(client *flow.TableClient, storage storage.Storage) *FlowTraversalExtension
func (*FlowTraversalExtension) ParseStep ¶
func (e *FlowTraversalExtension) ParseStep(t traversal.Token, p traversal.GremlinTraversalStepParams) (traversal.GremlinTraversalStep, error)
type FlowTraversalStep ¶
type FlowTraversalStep struct { GraphTraversal *traversal.GraphTraversal // contains filtered or unexported fields }
func (*FlowTraversalStep) Both ¶ added in v0.5.0
func (f *FlowTraversalStep) Both(s ...interface{}) *traversal.GraphTraversalV
func (*FlowTraversalStep) Count ¶ added in v0.5.0
func (f *FlowTraversalStep) Count(s ...interface{}) *traversal.GraphTraversalValue
func (*FlowTraversalStep) Dedup ¶ added in v0.5.0
func (f *FlowTraversalStep) Dedup() *FlowTraversalStep
func (*FlowTraversalStep) Error ¶
func (f *FlowTraversalStep) Error() error
func (*FlowTraversalStep) Has ¶ added in v0.5.0
func (f *FlowTraversalStep) Has(s ...interface{}) *FlowTraversalStep
func (*FlowTraversalStep) In ¶
func (f *FlowTraversalStep) In(s ...interface{}) *traversal.GraphTraversalV
func (*FlowTraversalStep) MarshalJSON ¶
func (f *FlowTraversalStep) MarshalJSON() ([]byte, error)
func (*FlowTraversalStep) Out ¶
func (f *FlowTraversalStep) Out(s ...interface{}) *traversal.GraphTraversalV
func (*FlowTraversalStep) Values ¶
func (f *FlowTraversalStep) Values() []interface{}
Click to show internal directories.
Click to hide internal directories.