Documentation ¶
Overview ¶
Package writer implements a writer logic for the Neo4j Destination.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyRawData occurs when trying to structurize empty [sdk.RawData]. ErrEmptyRawData = errors.New("empty raw data") // ErrUnsupportedEntityType occurs when the entityType is unsupported by the [Writer]. ErrUnsupportedEntityType = errors.New("unsupported entity type") // ErrEmptySourceNode occurs when the entityType is relationship but a payload doesn't contain sourceNode. ErrEmptySourceNode = errors.New("empty source node") // ErrEmptyTargetNode occurs when the entityType is relationship but a payload doesn't contain targetNode. ErrEmptyTargetNode = errors.New("empty target node") )
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { Driver neo4j.DriverWithContext DatabaseName string EntityType config.EntityType EntityLabels []string }
Params holds incoming params for the Writer.
Click to show internal directories.
Click to hide internal directories.