domainpersistence

package
v0.0.0-...-b45a7ae Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EntityDefinitionToPersistenceModel

func EntityDefinitionToPersistenceModel(entity *entity.Definition) *model2.Model

func SchemaToPersistenceSchema

func SchemaToPersistenceSchema(schema *model.Schema) model2.ModelSchema

func TranslateNestedFieldsToSQL

func TranslateNestedFieldsToSQL(query string, name entity.Key, fields field.StructType) string

Types

type StorageDomainPersistence

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

func NewStorageDomainPersistence

func NewStorageDomainPersistence(modelStorage *storage.Storage) *StorageDomainPersistence

func (*StorageDomainPersistence) Close

func (domainPersistence *StorageDomainPersistence) Close()

func (*StorageDomainPersistence) Entity

func (domainPersistence *StorageDomainPersistence) Entity(name entity.Key) entity.Repository

func (*StorageDomainPersistence) Events

func (domainPersistence *StorageDomainPersistence) Events() domain.EventsRepository

func (*StorageDomainPersistence) GetEntityInstanceFactory

func (domainPersistence *StorageDomainPersistence) GetEntityInstanceFactory() domain.EntityFactory

func (*StorageDomainPersistence) GetEntityRevisionRepository

func (domainPersistence *StorageDomainPersistence) GetEntityRevisionRepository() domain.EntityRevisionRepository

func (*StorageDomainPersistence) GetModelInstanceFactory

func (domainPersistence *StorageDomainPersistence) GetModelInstanceFactory() *storage.ModelInstanceFactory

func (*StorageDomainPersistence) ModelDAO

func (domainPersistence *StorageDomainPersistence) ModelDAO() *storage.ModelInstanceDAO

func (*StorageDomainPersistence) ModelInstanceFactory

func (domainPersistence *StorageDomainPersistence) ModelInstanceFactory() *storage.ModelInstanceFactory

func (*StorageDomainPersistence) Projection

func (domainPersistence *StorageDomainPersistence) Projection(name string) domain.ProjectionProvider

func (*StorageDomainPersistence) ProjectionFactory

func (domainPersistence *StorageDomainPersistence) ProjectionFactory(name string) projectionengine.ProjectionFactory

func (*StorageDomainPersistence) ProjectionRepository

func (domainPersistence *StorageDomainPersistence) ProjectionRepository(name string) projectionengine.ProjectionRepository

func (*StorageDomainPersistence) SetSchema

func (domainPersistence *StorageDomainPersistence) SetSchema(schema *model.Schema) error

Jump to

Keyboard shortcuts

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