org.maverickdbms.basic
Interface List

All Superinterfaces:
Variable

public interface List
extends Variable

Class to represent a select list


Method Summary
 void close()
           
 boolean isAfterLast()
          Returns true if there are no more entries in the select list
 long length()
          Returns the number of items in the list Only required if list was created with a key that has immediate evaluation set.
 ConstantString READLIST(mvString result)
          Assigns the values in the select list to the variable
 ConstantString READNEXT(mvString id, mvString val, mvString subval)
          Reads the next value in the select list
 

Method Detail

close

public void close()
           throws mvException
Throws:
mvException

length

public long length()
            throws mvException
Returns the number of items in the list Only required if list was created with a key that has immediate evaluation set.

Returns:
the length of the list or -1 if unknown
Throws:
mvException

isAfterLast

public boolean isAfterLast()
Returns true if there are no more entries in the select list


READLIST

public ConstantString READLIST(mvString result)
                        throws mvException
Assigns the values in the select list to the variable

Throws:
mvException

READNEXT

public ConstantString READNEXT(mvString id,
                               mvString val,
                               mvString subval)
                        throws mvException
Reads the next value in the select list

Throws:
mvException