Example ObjectRepository inspect 002

 

 

Description

This example returns the statistical and sytem information as specified by the arguments to the inspect function.

 

Details

Creates a new Object Repository.

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

Install a value for a given key.

(setq gor["one"] "Hello world") Returns: #<ObjectRepository 123456>
(inspect gor length: "one") Returns: 256
(inspect gor free:) Returns: 256
(inspect gor filepos: "one") Returns: 792
(inspect gor frame: "one") Returns: 30000001.0
(inspect gor pages:) Returns:
		*** Page Table Fragmentation Statistics ***
		Starting File Position = 0
		Page Table File Position = 280
		Page Table Size = 256
		File Size = 1304
		Max Page Count = 256
		Used Page Count = 4
		Used File Bytes = 1048
		Page Table Frame = 10000001.0
		Index Object Frame = 40000001.0
		Librarian Lambda Frame = 1.0
		First Physical Page = 0
		Last Physical Page = 4
		Open Time Stamp = 732409.570544
		Page Table is Dirty = false
		Automatic Rollback On = true
		Index Entries (if any)...
		[one] FRAME = 30000001.0
		Frame Entries...
		[0] MAIN FREE = false, USED FREE = false
		[1] MAIN FREE = false, USED FREE = false
		[2] MAIN FREE = true, USED FREE = true
		[3] MAIN FREE = false, USED FREE = false
		[4] MAIN FREE = false, USED FREE = false
        

 

Related Examples

Here are examples of the inspect function at work.

Context inspect 001 Lambda inspect 001 ObjectRepository inspect 002

 

Function Links

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

inspect

Here are a number of links to other related functions.

sizeof(#void)

 

Argument Types

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

ObjectRepository

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

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