IRISLIB database
Shard Class Reference

Projection class called for any sharded table. More...

Inheritance diagram for Shard:
Collaboration diagram for Shard:

Static Public Member Functions

_.Library.Status CreateProjection (_.Library.String classname, _.Library.String parameters, _.Library.String modified, qstruct)
 Projection class called for any sharded table. More...
 
_.Library.Status RemoveProjection (_.Library.String classname, _.Library.String parameters, _.Library.Boolean recompile, _.Library.String modified, qstruct)
 This method is called by the Class Compiler whenever an associated. More...
 
- Static Public Member Functions inherited from AbstractProjection
_.Library.Status AddToManifest (classname, item)
 Call this helper method to add a component to the class manifest. More...
 
_.Library.Status EndCompile (qstruct)
 This is called as close to the end of the compile as possible so it can do cleanup work or more. More...
 
 QueueClass (classname)
 This is a helper method for implementors of projection classes. More...
 
_.Library.Status RemoveFromManifest (classname, item)
 Called when you remove a projected item to remove this from the manifest.
 
 RemoveFromQueue (classname)
 Can be called to remove a queued class from the queued class list created with. More...
 

Additional Inherited Members

- Static Public Attributes inherited from AbstractProjection
 DisableMulticompile = None
 If true then do not create this projection using the class compiler multicompile. More...
 

Detailed Description

Projection class called for any sharded table.

Member Function Documentation

◆ CreateProjection()

_.Library.Status CreateProjection ( _.Library.String  classname,
_.Library.String  parameters,
_.Library.String  modified,
  qstruct 
)
static

Projection class called for any sharded table.

This method is called by the Class Compiler whenever an associated

class has finished compiling. classname contains the name of the associated class while parameters contains an array of the projection parameters subscripted by parameter name. Also the special parameter value parameters("%qstruct") contains a merge of the qstruct array this projection is being compiled with. The modified is always blank.
Any errors reported by this method are reported by the Class Compiler but do not effect class compilation in any way.

Reimplemented from AbstractProjection.

◆ RemoveProjection()

_.Library.Status RemoveProjection ( _.Library.String  classname,
_.Library.String  parameters,
_.Library.Boolean  recompile,
_.Library.String  modified,
  qstruct 
)
static

This method is called by the Class Compiler whenever an associated.

class is either a) about to be recompiled, or b) about to be deleted. classname contains the name of the associated class while parameters contains an array of the projection parameters subscripted by parameter name. Also the special parameter value parameters("%qstruct") contains a merge of the qstruct array this projection is being uncompiled/deleted with. recompile is true (1) if the associated class is about to be recompiled. The modified is always blank.
Any errors reported by this method are reported by the Class Compiler but do not effect class compilation in any way.

Reimplemented from AbstractProjection.