com.hardcode.gdbms.engine.instruction
Class CustomAdapter

java.lang.Object
  extended by com.hardcode.gdbms.engine.instruction.Adapter
      extended by com.hardcode.gdbms.engine.instruction.CustomAdapter

public class CustomAdapter
extends Adapter

Adapter node of the CUSTOM syntax node

Author:
Fernando González Cortés

Constructor Summary
CustomAdapter()
           
 
Method Summary
 java.lang.String getQueryName()
          gets the name of the custom query
 DataSource[] getTables()
          Gets the DataSource's of the 'tables' clause of the custom query
 Expression[] getValues()
          gets the values of the values clause
 
Methods inherited from class com.hardcode.gdbms.engine.instruction.Adapter
getChilds, getEntity, getInstructionContext, getParent, replaceChild, setChilds, setEntity, setInstructionContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomAdapter

public CustomAdapter()
Method Detail

getTables

public DataSource[] getTables()
                       throws com.hardcode.driverManager.DriverLoadException,
                              NoSuchTableException,
                              DataSourceCreationException
Gets the DataSource's of the 'tables' clause of the custom query

Returns:
DataSource array
Throws:
SemanticException - If there is any semantic error in the tables clause
NoSuchTableException
CreationException
com.hardcode.driverManager.DriverLoadException
DriverException
DataSourceCreationException

getValues

public Expression[] getValues()
gets the values of the values clause

Returns:
Expression array

getQueryName

public java.lang.String getQueryName()
gets the name of the custom query

Returns:
Returns the queryName.


Copyright © 2005-2006 . All Rights Reserved.