SICIDatabaseEvents Protocol Reference

Conforms to NSObject
Declared in SICIDatabaseEvents.h

Overview

Exposes methods which deal with events associated with database operation’s. It has methods such as (onDatabaseCreated, onDatabaseDroped, onTableCreated, onTableDroped, onIndexCreated).

– onDatabaseCreated: required method

This event is fired when database gets created as per database descriptor.

- (void)onDatabaseCreated:(SICDatabaseDescriptor *const)databaseDescriptor

Parameters

databaseDescriptor

contains meta data associated with database.

Discussion

This event is fired when database gets created as per database descriptor.

Declared In

SICIDatabaseEvents.h

– onDatabaseDropped: required method

This event is fired when database is dropped.

- (void)onDatabaseDropped:(SICDatabaseDescriptor *const)databaseDescriptor

Parameters

databaseDescriptor

contains meta data associated with dropped database.

Discussion

This event is fired when database is dropped.

Declared In

SICIDatabaseEvents.h

– onTableCreated:entityDescriptor: required method

This event is fired when a table is created.

- (void)onTableCreated:(SICDatabaseDescriptor *const)databaseDescriptor entityDescriptor:(SICEntityDescriptor *const)entityDescriptor

Parameters

databaseDescriptor

contains meta data associated with created table.

entityDescriptor

contains meta data associated with created table.

Discussion

This event is fired when a table is created.

Declared In

SICIDatabaseEvents.h

– onTableDropped:entityDescriptor: required method

This event is fired when a table is dropped.

- (void)onTableDropped:(SICDatabaseDescriptor *const)databaseDescriptor entityDescriptor:(SICEntityDescriptor *const)entityDescriptor

Parameters

databaseDescriptor

contains meta data associated with dropped table.

entityDescriptor

contains meta data associated with dropped table.

Discussion

This event is fired when a table is dropped.

Declared In

SICIDatabaseEvents.h

– onIndexCreated:entityDescriptor:index: required method

This event is fired when a index is created on table.

- (void)onIndexCreated:(SICDatabaseDescriptor *const)databaseDescriptor entityDescriptor:(SICEntityDescriptor *const)entityDescriptor index:(SICIndex *)index

Parameters

databaseDescriptor

contains meta data associated with table on which index is created.

entityDescriptor

contains meta data associated with table on which index is created.

index

meta data about index got created.

Discussion

This event is fired when a index is created on table.

Declared In

SICIDatabaseEvents.h

– onIndexDropped:entityDescriptor:index: required method

This event is fired when a index is dropped.

- (void)onIndexDropped:(SICDatabaseDescriptor *const)databaseDescriptor entityDescriptor:(SICEntityDescriptor *const)entityDescriptor index:(SICIndex *)index

Parameters

databaseDescriptor

contains meta data associated with table on which index is dropped.

entityDescriptor

contains meta data associated with table on which index is dropped.

index

meta data about index got dropped.

Discussion

This event is fired when a index is dropped.

Declared In

SICIDatabaseEvents.h