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 (*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
Click to show internal directories.
Click to hide internal directories.