Example ObjectRepository detachLibrarian 001

 

 

Description

This example shows how the attachLibrarian and detachLibrarian attach a previously defined librarian Lambda to the existing Object Repository.

 

Details

Create a new Object Repository

(setq gor (new ObjectRepository: "myarchive.odb")) Returns: #<ObjectRepository 123456>

This assumes that a librarian Lambda has been defined. If it has been defined, this command causes the ObjectRepository to be managed by a librarian Lambda.

(attachLibrarian gor aLibrarian) Returns: ---

This causes the ObjectRepository to be a simple associative memory.

(detachLibrarian gor) Returns: ---

Notes and Hints

A librarian Lambda completely controls how an ObjectRepository is viewed by the other intelligent Lambdas, end users, and by Analytic Information Server. Normally an ObjectRepository has a simple associative memory database schema, but attaching a librarian Lambda can give the ObjectRepository an entirely different database schema (see the attachLibrarian function).

 

Related Examples

Here are examples of the delete function at work.

Dictionary delete 003 Dictionary delete 004 Directory delete 005 Directory delete 006
FltVector delete 009 IntVector delete 010 Matrix delete 009 NumMatrix delete 014
NumVector delete 011 ObjVector delete 012 ObjectRepository delete 013 ObjectRepository detachLibrarian 001
ObjectRepository refLibrarian 001 ShortVector delete 011 Structure delete 001 Structure delete 002
Vector delete 007 Vector delete 008

 

Function Links

Here is the link to the current function used in this example.

delete

Here are a number of links to other related functions.

attachLibrarian(#void) refLibrarian(#void) new(#void)

 

Argument Types

Here are the links to the data types of the arguments used in this example.

ObjectRepository Lambda

Here are a number of links to examples having similar argument types.

Context debug 001 Context debugBrowsableProcs 001 Context disassemble 001 Context globalBinding 001
Context inspect 001 Lambda argCount 001 Lambda argFetch 001 Lambda balance 001
Lambda callcc 001 Lambda compare 008 Lambda compareEQ 008 Lambda compareGE 008
Lambda compareGT 008 Lambda compareLT 008 Lambda compareNE 004 Lambda compile 001
Lambda copy 008 Lambda debug 001 Lambda debugBrowsableProcs 001 Lambda defchild 001
Lambda define 001 Lambda define(macro) 001 Lambda defmacro 001 Lambda defmacro 002
Lambda deforphan 001 Lambda defriend 001 Lambda defun 001 Lambda defun 002
Lambda disassemble 001 Lambda eval 001 Lambda exportTab 001 Lambda globalBinding 001
Lambda importTab 001 Lambda inspect 001 Lambda isLambda 001 Lambda lambda 001
Lambda makeLambda 001 Lambda myself 001 Lambda new 001 Lambda new 002
Lambda new 003 Lambda onError 001 Lambda send 008 Lambda send 009
Lambda setq 015 Lambda type 011 ObjectRepository abortTransaction 001 ObjectRepository addMethod 026
ObjectRepository attachLibrarian 001 ObjectRepository beginTransaction 001 ObjectRepository checkPointTransaction 001 ObjectRepository clear 002
ObjectRepository commitTransaction 001 ObjectRepository compare 021 ObjectRepository compare 022 ObjectRepository compareEQ 021
ObjectRepository compareEQ 022 ObjectRepository compareGE 021 ObjectRepository compareGE 022 ObjectRepository compareGT 021
ObjectRepository compareGT 022 ObjectRepository compareLE 021 ObjectRepository compareLE 022 ObjectRepository compareLT 021
ObjectRepository compareLT 022 ObjectRepository compareNE 021 ObjectRepository compareNE 022 ObjectRepository comparison 021
ObjectRepository comparison 022 ObjectRepository defmethod 023 ObjectRepository delete 013 ObjectRepository detachLibrarian 001
ObjectRepository exportTab 001 ObjectRepository importTab 001 ObjectRepository inspect 002 ObjectRepository isIdentical 019
ObjectRepository isImmediate 001 ObjectRepository length 016 ObjectRepository loadRepository 001 ObjectRepository methodsOf 023
ObjectRepository new 014 ObjectRepository ref 030 ObjectRepository ref 031 ObjectRepository ref 032
ObjectRepository ref 033 ObjectRepository ref 034 ObjectRepository refLibrarian 001 ObjectRepository rename 001
ObjectRepository saveImmediate 001 ObjectRepository saveRepository 001 ObjectRepository send 026 ObjectRepository setf 001
ObjectRepository setf 002 ObjectRepository setq 027 ObjectRepository sizeof 027 ObjectRepository type 024

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE