com.caucho.amber.expr
Class LoadEmbeddedExpr

java.lang.Object
  extended by com.caucho.amber.expr.AbstractAmberExpr
      extended by com.caucho.amber.expr.LoadExpr
          extended by com.caucho.amber.expr.LoadEmbeddedExpr
All Implemented Interfaces:
AmberExpr

public class LoadEmbeddedExpr
extends LoadExpr

An embedded expression which should be loaded.


Field Summary
 
Fields inherited from interface com.caucho.amber.expr.AmberExpr
IS_INNER_JOIN, USES_DATA
 
Method Summary
 AmberExpr bindSelect(QueryParser parser)
          Binds the expression as a select item.
 java.lang.Object getCacheObject(AmberConnection aConn, java.sql.ResultSet rs, int index)
          Returns the object for the expr.
 EmbeddableType getEmbeddableType()
          Returns the embeddable type.
 java.lang.Object getObject(AmberConnection aConn, java.sql.ResultSet rs, int index)
          Returns the object for the expr.
 
Methods inherited from class com.caucho.amber.expr.LoadExpr
bindSubPath, create, create, generateHaving, generateSelect, generateSelect, generateUpdateWhere, generateWhere, getChildFromItem, getExpr, getIndex, getTable, getType, toString, usesFrom
 
Methods inherited from class com.caucho.amber.expr.AbstractAmberExpr
createBoolean, exists, exists, findItem, generateHaving, generateJoin, generateUpdateWhere, generateWhere, getColumnCount, hasRelationship, isBoolean, replaceJoin, setInternalArgType, usesFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getEmbeddableType

public EmbeddableType getEmbeddableType()
Returns the embeddable type.


bindSelect

public AmberExpr bindSelect(QueryParser parser)
Binds the expression as a select item.

Specified by:
bindSelect in interface AmberExpr
Specified by:
bindSelect in class AbstractAmberExpr

getObject

public java.lang.Object getObject(AmberConnection aConn,
                                  java.sql.ResultSet rs,
                                  int index)
                           throws java.sql.SQLException
Returns the object for the expr.

Specified by:
getObject in interface AmberExpr
Overrides:
getObject in class AbstractAmberExpr
Throws:
java.sql.SQLException

getCacheObject

public java.lang.Object getCacheObject(AmberConnection aConn,
                                       java.sql.ResultSet rs,
                                       int index)
                                throws java.sql.SQLException
Returns the object for the expr.

Specified by:
getCacheObject in interface AmberExpr
Overrides:
getCacheObject in class AbstractAmberExpr
Throws:
java.sql.SQLException