neo4j

package
v0.0.0-...-9b78e5f Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Retriever

type Retriever struct {
}

Service is a struct used to store this use case in

func New

func New() *Retriever

func (*Retriever) RetrieveSchema

func (s *Retriever) RetrieveSchema(databaseInfo *models.DBConnectionModel, userID string) (*schemaEntity.JSONReturnFormat, error)

RetrieveSchema makes a mock version of a neo4j schema based on the neo4j moviedatabase

databaseInfo: entity.DatabaseInfo, the database info of the schema
userID: string, the ID of the client
databaseName: string, the name of the database
Return: (*entity.JSONReturnFormat, error), the schema to be retrieved and an error if there is one

func (*Retriever) RetrieveSchemaStats

func (s *Retriever) RetrieveSchemaStats(databaseInfo *models.DBConnectionModel, userID string) (*schemaEntity.SchemaStats, error)

RetrieveSchema makes a mock version of a neo4j schema based on the neo4j moviedatabase

databaseInfo: entity.DatabaseInfo, the database info of the schema
userID: string, the ID of the client
databaseName: string, the name of the database
Return: (*entity.JSONReturnFormat, error), the schema to be retrieved and an error if there is one

Jump to

Keyboard shortcuts

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