|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cayenne.access.QueryTranslator
public abstract class QueryTranslator
Defines API for translation Cayenne queries to JDBC PreparedStatements.
Field Summary | |
---|---|
protected DbAdapter |
adapter
Deprecated. |
protected Connection |
connection
Deprecated. |
protected EntityResolver |
entityResolver
Deprecated. |
protected Query |
query
Deprecated. |
Constructor Summary | |
---|---|
QueryTranslator()
Deprecated. |
Method Summary | |
---|---|
abstract PreparedStatement |
createStatement()
Deprecated. Creates and binds a PreparedStatement to execute query SQL via JDBC. |
DbAdapter |
getAdapter()
Deprecated. |
Connection |
getConnection()
Deprecated. Returns Connection object used by this translator. |
EntityResolver |
getEntityResolver()
Deprecated. |
Query |
getQuery()
Deprecated. Returns query object being processed. |
DbEntity |
getRootDbEntity()
Deprecated. |
ObjEntity |
getRootEntity()
Deprecated. |
EntityInheritanceTree |
getRootInheritanceTree()
Deprecated. Returns an EntityInheritanceTree for the root entity. |
void |
setAdapter(DbAdapter adapter)
Deprecated. |
void |
setConnection(Connection connection)
Deprecated. |
void |
setEntityResolver(EntityResolver entityResolver)
Deprecated. |
void |
setQuery(Query query)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Query query
protected Connection connection
protected DbAdapter adapter
protected EntityResolver entityResolver
Constructor Detail |
---|
public QueryTranslator()
Method Detail |
---|
public abstract PreparedStatement createStatement() throws Exception
Exception
public Query getQuery()
public void setQuery(Query query)
public Connection getConnection()
public void setConnection(Connection connection)
public DbAdapter getAdapter()
public void setAdapter(DbAdapter adapter)
public EntityInheritanceTree getRootInheritanceTree()
public ObjEntity getRootEntity()
public DbEntity getRootDbEntity()
public EntityResolver getEntityResolver()
public void setEntityResolver(EntityResolver entityResolver)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |