v1

package
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: 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

This section is empty.

Variables

This section is empty.

Functions

func NewAPI

func NewAPI(
	url string,
	user string,
	password string,
	tlsEnabled bool,
	tlsUserCfg map[string]interface{},
) (apiInterface.API, error)

Types

type API

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

func (*API) BuildSchema

func (this *API) BuildSchema(schema string) error

func (*API) Destroy

func (this *API) Destroy()

func (*API) DropGraph

func (this *API) DropGraph()

func (*API) EnsureConnection

func (this *API) EnsureConnection() error

func (*API) NewTransaction

func (this *API) NewTransaction() apiInterface.Transaction

type Transaction

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

func (*Transaction) Commit

func (this *Transaction) Commit() error

func (*Transaction) Discard

func (this *Transaction) Discard()

func (*Transaction) Mutate

func (this *Transaction) Mutate(nquads string) error

func (*Transaction) QueryWithVars

func (this *Transaction) QueryWithVars(query string, vars map[string]string) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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