Documentation ¶
Index ¶
Constants ¶
View Source
const ( JoinTypeInner = iota JoinTypeLeft JoinTypeRightIsNull )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecResult ¶
type IndexFileResult ¶
type Joiner ¶
type Joiner interface {
Run() error
}
func New ¶
func New(inputstream io.ReadCloser, outputstream io.WriteCloser, errStream io.WriteCloser, o Options) Joiner
type LeftResult ¶
'Left' is the streaming side input value which was attempted to be matched and its indexes.
'Row' is the entire contents of the row from the matched result index is the thing that was attempted to be matched on eg: Given a successful match on this contents: "a, b, c" assuming that the index key is the second column then the entire 'row' contentents are "a, b, c" and the "index" is "b"
type Options ¶
type Options struct { IncomingBufferSize int Concurrency int IndexFile string RightExecStr string Jointype Jointype LeftQueryOptions QueryOptions RightQueryOptions QueryOptions ContinueOnErr bool OutputDebugMode bool }
type QueryOptions ¶
type Result ¶
type Result struct { Left *LeftResult Right *RightResult }
func (Result) SuccessfulJoin ¶
type RightResult ¶
type RightResult struct { IndexFileResult *IndexFileResult `json:"IndexFileResult,omitempty"` ExecResult *ExecResult `json:"ExecResult,omitempty"` }
Right is either the input side or whatever side that's being checked against for the stream. Its either going to be a small file of indexes or maybe some eval result or whatever.
Click to show internal directories.
Click to hide internal directories.