tgdbquery

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: BSD-3-Clause, MIT Imports: 11 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 (
	Setting_Connection = "tgdbConnection"

	QueryLanguage         = "language"
	QueryLanguage_Gremlin = "gremlin"
	QueryLanguage_TGQL    = "tgql"

	QueryType_Metadata  = "metadata"
	QueryType_NodeTypes = "nodetypes"
	QueryType_EdgeTypes = "edgetypes"
	QueryType_Node      = "node"
	QueryType_Search    = "search"
	QueryType_Match     = "match"

	Error_LoadDBService = 0
	Error_ConnectServer = 1
	Error_FindQueryType = 2
	Error_ExecuteQuery  = 3
)

Variables

This section is empty.

Functions

func NewActivity

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

Types

type TGDBQueryActivity

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

func (*TGDBQueryActivity) Eval

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

func (*TGDBQueryActivity) Metadata

func (a *TGDBQueryActivity) Metadata() *activity.Metadata

Jump to

Keyboard shortcuts

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