org.maverickdbms.basic
Class Key

java.lang.Object
  extended byorg.maverickdbms.basic.Key

public class Key
extends java.lang.Object

This is the class which holds a binary representation of the query


Method Summary
 void addRecord(ConstantString record)
           
 void addSortCriteria(int type, Field field)
           
 void close(mvString status)
           
 Condition getCondition()
           
 DictionaryFile getDictionaryFile()
           
 Program getDictionaryFileProgram()
           
 Factory getFactory()
           
 File getFile()
           
 Program getFileProgram()
           
 java.lang.String getList()
           
 List getRecords()
           
 Field getSaving()
           
 SortField getSortFields()
           
 boolean hasRecords()
          Whether there is a list of records available from the key(may be generated from statement or existing list)
 boolean isImmediate()
           
 void setCondition(Condition cond)
           
 void setDictionaryFile(Program program, DictionaryFile file)
           
 void setFile(Program program, File file)
           
 void setImmediate(boolean immediate)
           
 void setInputList(List inputList)
           
 void setList(java.lang.String listname)
           
 void setSaving(Field field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addRecord

public void addRecord(ConstantString record)

addSortCriteria

public void addSortCriteria(int type,
                            Field field)

close

public void close(mvString status)
           throws mvException
Throws:
mvException

getCondition

public Condition getCondition()

getDictionaryFile

public DictionaryFile getDictionaryFile()

getDictionaryFileProgram

public Program getDictionaryFileProgram()

getFactory

public Factory getFactory()

getFile

public File getFile()

getFileProgram

public Program getFileProgram()

getList

public java.lang.String getList()

getRecords

public List getRecords()
                throws mvException
Throws:
mvException

getSaving

public Field getSaving()

getSortFields

public SortField getSortFields()

hasRecords

public boolean hasRecords()
Whether there is a list of records available from the key(may be generated from statement or existing list)


isImmediate

public boolean isImmediate()

setCondition

public void setCondition(Condition cond)

setDictionaryFile

public void setDictionaryFile(Program program,
                              DictionaryFile file)

setFile

public void setFile(Program program,
                    File file)

setImmediate

public void setImmediate(boolean immediate)

setInputList

public void setInputList(List inputList)

setList

public void setList(java.lang.String listname)

setSaving

public void setSaving(Field field)