com.j256.ormlite.stmt.mapped
Class MappedPreparedStmt<T,ID>

java.lang.Object
  extended by com.j256.ormlite.stmt.mapped.BaseMappedStatement<T,ID>
      extended by com.j256.ormlite.stmt.mapped.BaseMappedQuery<T,ID>
          extended by com.j256.ormlite.stmt.mapped.MappedPreparedStmt<T,ID>
All Implemented Interfaces:
GenericRowMapper<T>, PreparedDelete<T>, PreparedQuery<T>, PreparedStmt<T>, PreparedUpdate<T>

public class MappedPreparedStmt<T,ID>
extends BaseMappedQuery<T,ID>
implements PreparedQuery<T>, PreparedDelete<T>, PreparedUpdate<T>

Mapped statement used by the StatementBuilder.prepareStatement() method.

Author:
graywatson

Field Summary
 
Fields inherited from class com.j256.ormlite.stmt.mapped.BaseMappedQuery
resultsFieldTypes
 
Fields inherited from class com.j256.ormlite.stmt.mapped.BaseMappedStatement
argFieldTypes, idField, logger, statement, tableInfo
 
Constructor Summary
MappedPreparedStmt(TableInfo<T,ID> tableInfo, String statement, FieldType[] argFieldTypes, FieldType[] resultFieldTypes, ArgumentHolder[] argHolders, Integer limit, StatementBuilder.StatementType type)
           
 
Method Summary
 CompiledStatement compile(DatabaseConnection databaseConnection)
          Create and return the associated compiled statement.
 
Methods inherited from class com.j256.ormlite.stmt.mapped.BaseMappedQuery
getResultsFieldTypes, mapRow
 
Methods inherited from class com.j256.ormlite.stmt.mapped.BaseMappedStatement
convertIdToFieldObject, delete, extractIdToFieldObject, getFieldObjects, getStatement, insert, toString, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.j256.ormlite.stmt.PreparedStmt
getStatement
 
Methods inherited from interface com.j256.ormlite.stmt.GenericRowMapper
mapRow
 

Constructor Detail

MappedPreparedStmt

public MappedPreparedStmt(TableInfo<T,ID> tableInfo,
                          String statement,
                          FieldType[] argFieldTypes,
                          FieldType[] resultFieldTypes,
                          ArgumentHolder[] argHolders,
                          Integer limit,
                          StatementBuilder.StatementType type)
Method Detail

compile

public CompiledStatement compile(DatabaseConnection databaseConnection)
                          throws SQLException
Description copied from interface: PreparedStmt
Create and return the associated compiled statement.

Specified by:
compile in interface PreparedStmt<T>
Throws:
SQLException


Copyright © 2011. All Rights Reserved.