|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.mdm.index.query.TupleAssemblerEngine
| Constructor Summary | |
TupleAssemblerEngine()
Creates a new instance of AssemblerEngine |
|
| Method Summary | |
java.lang.Object |
clone()
Clones the engine. |
void |
close()
Closes the engine, which in turns closes any database connection it is holding. |
void |
finalizer()
finalizer |
boolean |
hasNext()
Returns true if has a Next object; otherwise returns false |
void |
initCompile(SQLDescriptor[] sqlDescs,
AssembleDescriptor assDesc)
initilization of TupleAssemblerEngine |
void |
initRun(java.sql.Connection con,
java.sql.ResultSet[] resultSets,
java.sql.Statement[] statements,
int maxRows)
This initialization is used during run time. |
void |
initRun(java.sql.Connection con,
java.sql.ResultSet[] resultSets,
java.sql.Statement[] statements,
int maxRows,
boolean closeDbConnection)
This initialization is used during runtime. |
java.lang.Object |
next()
returns next tuple object retrieved from the SQL query. |
boolean |
setDbConnectionCondition()
Gets the value of the closeDbConnection class variable |
void |
setDbConnectionCondition(boolean val)
Sets the value of the closeDbConnection class variable |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TupleAssemblerEngine()
| Method Detail |
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface AssemblerEnginejava.lang.CloneNotSupportedException - CloneNotSupportedException
public void close()
throws QMException
close in interface AssemblerEngineQMException - QMException
public void finalizer()
throws QMException
QMException - QMException
public boolean hasNext()
throws QMException
hasNext in interface AssemblerEngineQMException - QMException
public void initCompile(SQLDescriptor[] sqlDescs,
AssembleDescriptor assDesc)
throws QMException
initCompile in interface AssemblerEnginesqlDescs - SQLDescriptor[] that contains SQL statements and their
meta data to be used for initialization.assDesc - AssembleDescriptor
QMException - QMException
public void initRun(java.sql.Connection con,
java.sql.ResultSet[] resultSets,
java.sql.Statement[] statements,
int maxRows)
throws QMException
initRun in interface AssemblerEnginecon - ConnectionresultSets - ResultSet[]statements - Statement[]
QMException - QMException
public void initRun(java.sql.Connection con,
java.sql.ResultSet[] resultSets,
java.sql.Statement[] statements,
int maxRows,
boolean closeDbConnection)
throws QMException
initRun in interface AssemblerEnginecon - ConnectionresultSets - ResultSet[]statements - Statement[]maxRows - Maximum number of rows.closeDbConnection - set to true if the database connection is to be
closed by this class, false if some other calling class is to close the
database connection instead.
QMException - QMException
public java.lang.Object next()
throws QMException
next in interface AssemblerEngineQMException - QMExceptionpublic boolean setDbConnectionCondition()
public void setDbConnectionCondition(boolean val)
val - Value to which closeDbConnection is to be set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Sun Microsystems, Inc.