uba.db.sql.language
Class TableSelectionSource

java.lang.Object
  extended by uba.db.sql.language.TableSelectionSource
All Implemented Interfaces:
SelectionSource, Visitable

public class TableSelectionSource
extends java.lang.Object
implements SelectionSource

Un origen de selección que hace referencia a una tabla.

Version:
$Revision: 1.3 $
See Also:
Select

Constructor Summary
TableSelectionSource(java.lang.String tableName)
          Este constructor es equivalente a: TableSelectionSource(new TableName(tableName))
TableSelectionSource(TableName tableName)
          Crea una instancia que equivale a la expresion: ..
 
Method Summary
 void accept(Visitor visitor)
          Este método es enviado para aceptar un visitor, las clases concretas deben enviar el mensaje "visit" correspondiente.
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 Join join(SelectionSource otherSelectionSource)
          Retorna un Join creado a partir del receptor y b
 TableName tableName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableSelectionSource

public TableSelectionSource(java.lang.String tableName)
Este constructor es equivalente a: TableSelectionSource(new TableName(tableName))

See Also:
TableSelectionSource(TableName)

TableSelectionSource

public TableSelectionSource(TableName tableName)
Crea una instancia que equivale a la expresion: .. FROM tableName de un SELECT.

Parameters:
tableName - nombre de la tabla
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

accept

public void accept(Visitor visitor)
Description copied from interface: Visitable
Este método es enviado para aceptar un visitor, las clases concretas deben enviar el mensaje "visit" correspondiente.

Specified by:
accept in interface Visitable
Parameters:
visitor - una instancia de visitor (que no debe ser null).
See Also:
Visitable.accept(uba.db.sql.language.Visitor)

join

public Join join(SelectionSource otherSelectionSource)
Retorna un Join creado a partir del receptor y b

Parameters:
otherSelectionSource - otherSelectionSource

tableName

public TableName tableName()


Copyright © -2005 . All Rights Reserved.