Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.makumba.db.makumba.sql
Class ParameterAssigner

    java.lang.Object
      org.makumba.db.makumba.sql.ParameterAssigner

    public class ParameterAssigner

extends Object

this class takes parameters passed to an OQL query and transmits them to the corresponding PreparedStatement. The order in the two is different, because OQL parameters are numbered. Also, strict type checking is performed for the parameters

Field Summary
`(package private) static Object[]` | `empty`
`(package private) TableManager` | `paramHandler`
`(package private) QueryAnalysis` | `tree`

Constructor Summary
`ParameterAssigner(Database db, QueryAnalysis qA)`

Method Summary
`String` | `assignParameters(PreparedStatement ps, Object[] args)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### paramHandler

    TableManager paramHandler

### tree

    QueryAnalysis tree

### empty

    static final Object[] empty

Constructor Detail

### ParameterAssigner

    ParameterAssigner(Database db,
                      QueryAnalysis qA)

Method Detail

### assignParameters

    public String assignParameters(PreparedStatement ps,
                                   Object[] args)
                            throws SQLException

  Throws:
    `SQLException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Docs generated on 2009-02-25 14:20