Package gavo :: Package protocols :: Module ssap
[frames] | no frames]

Module ssap

source code

The SSAP core and supporting code.

Classes
  SSADescriptor
SSA descriptors have ssaRow and limits attributes.
  SSAPCore
A core doing SSAP queries.
Functions
 
getRD() source code
 
getDatalinkCore(dlSvc, ssaTable)
returns a datalink core adapted for ssaTable.
source code
 
iterViewColumns(context)
returns a list of column objects for building the SSA view mixin's columns.
source code
Variables
  RD_ID = '//ssap'
  __package__ = 'gavo.protocols'
Function Details

getDatalinkCore(dlSvc, ssaTable)

source code 

returns a datalink core adapted for ssaTable.

dlSvc is the datalink service, ssaTable a non-empty SSA result table.

iterViewColumns(context)

source code 

returns a list of column objects for building the SSA view mixin's columns.

The argument is the DaCHS RD parse context.

This is probably only useful for the //ssap#view mixin. The argument is that mixin's context. This could go if we drop the hcd and mixc mixins and instead have a normal STREAM with the columns, as it's really only necessary to make columns from the stupid params and remove their defaults.

This will always return the same column objects -- don't change them.