Method matrix/retrieve


  RETRIEVE retrieves a collection of objects from an LTPDA repository.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: This static method retrieves a collection of objects from an
               LTPDA repository.
 
  CALL:    objs    = retrieve(conn, obj_id_1, obj_id_2)
           [o1,o2] = retrieve(conn, obj_id_1, obj_id_2)
           [o1,o2] = retrieve(conn, 'binary', obj_id_1, obj_id_2)
           objs    = retrieve(conn, 'Collection', coll_id)
           objs    = retrieve(conn, 'binary', 'Collection', coll_id)
 
  INPUTS:
           conn       - database connection object
           obj_id_N   - an object ID
           coll_id    - a collection ID
           'binary'   - to retrieve a binary representation of the object
                        (if stored)
 
  OUTPUTS:
           objs          - the retrieved object(s) as a cell array.*
           o1,o2,...,oN  - returns the first N objects
 
 
  If more than one object is retrieved and only one output is specified
  then the output is a cell array of objects.
 
  If only a single object is requested, it is returned as an object,
  not packed in a cell array.
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ltpda_uo
Sealed 0
Static 1



©LTP Team