next up previous
Next: The primitive commands Up: Basic functions of Previous: Data Search Condition

Value list

The contents of value lists which are returned values of read operations are dependent on read formats. Here, we show the case where the read format is specified as the whole table(Format=*).

Following is the case where value lists are returned in the 4th argument, "VLstream" of read_record/5.

VLstream::=[] [BufVar VLstream]

BufVar::=Buffer end

Buffer::=[Record] [Record Buffer]

Record::={RID_element, Value_list}

Value_list::={V1,V2,...,Vi,...,Vn}

The value of "Value_list" is for the schema shown below, i.e. "Vi" corresponds to "Attri".

Schema={Table_name, primitive,{Attr1,Attr2,...,Attri,...,Attrn},
NestSequence,HorizontalDecompositionInfo}

Vi::=Simple_value Group_value Repeating_simple(RS)_value Repeating_group(RG)_value

Simple_value::= INTEGER STRING TERM nil bottom

Group_value::={Child_value,...}

Child_value::=Simple_value Group_value RS_value RG_value

RS_value::=[RS_occ RS_value]

RS_occ::={Simple_value,...}

RG_value::=[RG_occ RG_value]

RG_occ::={Child_value,...}