org.datanucleus.query.symbol
Class SymbolTable

java.lang.Object
  extended by org.datanucleus.query.symbol.SymbolTable

public class SymbolTable
extends java.lang.Object

Table of symbols in a query.


Constructor Summary
SymbolTable(ClassLoaderResolver clr)
           
 
Method Summary
 int addSymbol(Symbol symbol)
           
 ClassLoaderResolver getClassLoaderResolver()
           
 Symbol getSymbol(java.lang.String name)
           
 java.util.Collection<java.lang.String> getSymbolNames()
          Accessor for the names of the symbols in this table.
 SymbolResolver getSymbolResolver()
           
 java.lang.Class getType(java.util.List tuples)
           
 boolean hasSymbol(java.lang.String name)
           
 void setSymbolResolver(SymbolResolver resolver)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SymbolTable

public SymbolTable(ClassLoaderResolver clr)
Method Detail

getClassLoaderResolver

public ClassLoaderResolver getClassLoaderResolver()

setSymbolResolver

public void setSymbolResolver(SymbolResolver resolver)

getSymbolResolver

public SymbolResolver getSymbolResolver()

getSymbolNames

public java.util.Collection<java.lang.String> getSymbolNames()
Accessor for the names of the symbols in this table.

Returns:
Names of the symbols

getSymbol

public Symbol getSymbol(java.lang.String name)

hasSymbol

public boolean hasSymbol(java.lang.String name)

addSymbol

public int addSymbol(Symbol symbol)

toString

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

getType

public java.lang.Class getType(java.util.List tuples)


Copyright © 2009. All Rights Reserved.