builder

package module
v0.0.0-...-89bbdfb Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0, BSD-3-Clause, MIT Imports: 7 Imported by: 0

Documentation

Overview

* Copyright © 2020. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

View Source
const (
	PassThroughDataOut = "PassThroughDataOut"
)

Variables

This section is empty.

Functions

func New

New for Activity

Types

type Activity

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

Activity is the structure for Activity Metadata

func (*Activity) Eval

func (a *Activity) Eval(context activity.Context) (done bool, err error)

Eval handles the data processing in the activity

func (*Activity) Metadata

func (*Activity) Metadata() *activity.Metadata

Metadata returns PostgreSQL's Query activity's meteadata

type Field

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

func (*Field) GetDValue

func (this *Field) GetDValue() interface{}

func (*Field) GetName

func (this *Field) GetName() string

func (*Field) GetType

func (this *Field) GetType() string

func (*Field) IsOptional

func (this *Field) IsOptional() bool

func (*Field) SetDValue

func (this *Field) SetDValue(dValue string)

func (*Field) SetName

func (this *Field) SetName(name string)

func (*Field) SetOptional

func (this *Field) SetOptional(optional bool)

func (*Field) SetType

func (this *Field) SetType(dataType string)

type Input

type Input struct {
	Nodes           interface{} `md:"Nodes,required"`
	Edges           interface{} `md:"Edges,required"`
	PassThroughData interface{} `md:"PassThroughData,required"`
	BatchEnd        bool        `md:"BatchEnd"`
}

Input Structure

func (*Input) FromMap

func (o *Input) FromMap(values map[string]interface{}) error

FromMap Input interface

func (*Input) ToMap

func (o *Input) ToMap() map[string]interface{}

ToMap Input interface

type Output

type Output struct {
	Graph              interface{} `md:"Graph,required"`
	PassThroughDataOut interface{} `md:"PassThroughDataOut,required"`
}

Output struct

func (*Output) FromMap

func (o *Output) FromMap(values map[string]interface{}) error

FromMap conversion

func (*Output) ToMap

func (o *Output) ToMap() map[string]interface{}

ToMap conversion

type Settings

type Settings struct {
	GraphModel     connection.Manager `md:"GraphModel,required"`
	AllowNullKey   bool               `md:"AllowNullKey,required"`
	BatchMode      bool               `md:"BatchMode,required"`
	PassThrough    []interface{}      `md:"PassThrough"`
	Multiinstances string             `md:"Multiinstances"`
}

Jump to

Keyboard shortcuts

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