Documentation ¶
Index ¶
- func JobMatch(query []string, job []string) bool
- func MarshalStream(inPipe gdbi.InPipe, nworkers int) chan []byte
- func QueryChecksum(query []*gripql.GraphStatement) (string, error)
- func TraversalChecksum(query []*gripql.GraphStatement) ([]string, error)
- func UnmarshalStream(inPipe chan []byte, nworkers int) chan gdbi.Traveler
- type FSResults
- func (fs *FSResults) Delete(graph, id string) error
- func (fs *FSResults) List(graph string) (chan string, error)
- func (fs *FSResults) Search(graph string, Query []*gripql.GraphStatement) (chan *gripql.JobStatus, error)
- func (fs *FSResults) Spool(graph string, stream *Stream) (string, error)
- func (fs *FSResults) Status(graph, id string) (*gripql.JobStatus, error)
- func (fs *FSResults) Stream(ctx context.Context, graph, id string) (*Stream, error)
- type Job
- type JobStorage
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryChecksum ¶
func QueryChecksum(query []*gripql.GraphStatement) (string, error)
func TraversalChecksum ¶
func TraversalChecksum(query []*gripql.GraphStatement) ([]string, error)
Types ¶
type FSResults ¶
type FSResults struct { BaseDir string // contains filtered or unexported fields }
func NewFSJobStorage ¶
type JobStorage ¶
type JobStorage interface { List(graph string) (chan string, error) Search(graph string, Query []*gripql.GraphStatement) (chan *gripql.JobStatus, error) Spool(graph string, stream *Stream) (string, error) Stream(ctx context.Context, graph, id string) (*Stream, error) Delete(graph, id string) error Status(graph, id string) (*gripql.JobStatus, error) }
Click to show internal directories.
Click to hide internal directories.