Documentation
¶
Overview ¶
Package apacheage provides the model for Apache AGE, a postgres extension.
Index ¶
- type Driver
- func (d Driver) DiscardQuery(res dbms.QueryResult, seed *seed.Seed) bool
- func (d Driver) GetQueryResultType(res dbms.QueryResult, errorMessageRegex *dbms.ErrorMessageRegex) dbms.QueryResultType
- func (d Driver) GetSchema(dbms.DBOptions) (*schema.Schema, error)
- func (d *Driver) Init(opts dbms.DBOptions) error
- func (d Driver) IsEqualResult(dbms.QueryResult, dbms.QueryResult) bool
- func (d *Driver) Reset(opts dbms.DBOptions) error
- func (d Driver) RunQuery(opts dbms.DBOptions, query string) dbms.QueryResult
- func (d Driver) VerifyConnectivity(dbms.DBOptions) (bool, error)
- type Implementation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
Driver for apache age
func (Driver) DiscardQuery ¶
DiscardQuery returns true with probability 1/3 or if the query produced a non-nil error, else it returns false. Thereby causing queries to have an expected amount of 4 statements if they don't produce an error.
func (Driver) GetQueryResultType ¶
func (d Driver) GetQueryResultType(res dbms.QueryResult, errorMessageRegex *dbms.ErrorMessageRegex) dbms.QueryResultType
GetQueryResultType evaluates the produced result and returns the type the result indicates.
func (Driver) IsEqualResult ¶
func (d Driver) IsEqualResult(dbms.QueryResult, dbms.QueryResult) bool
IsEqualResult panics for apache age, as it hasn't been implemented yet
type Implementation ¶
type Implementation struct{}
Implementation for apache age
func (Implementation) GetDropIns ¶
func (Implementation) GetDropIns() translator.DropIns
GetDropIns returns the clause drop-ins for the apache age implementation
func (Implementation) GetOpenCypherConfig ¶
func (Implementation) GetOpenCypherConfig() config.Config
GetOpenCypherConfig returns the generation config for the apache age implementation