Uses of Class
com.j256.ormlite.field.FieldType

Packages that use FieldType
com.j256.ormlite.dao Database Access Object classes. 
com.j256.ormlite.db Per-database type and SQL information. 
com.j256.ormlite.field Object field information. 
com.j256.ormlite.stmt SQL statement generation and processing. 
com.j256.ormlite.stmt.mapped Compiled SQL query statements. 
com.j256.ormlite.support Database support classes. 
com.j256.ormlite.table Object table information. 
 

Uses of FieldType in com.j256.ormlite.dao
 

Methods in com.j256.ormlite.dao that return FieldType
 FieldType Dao.findForeignFieldType(Class<?> clazz)
          Returns the class of the DAO.
 FieldType BaseDaoImpl.findForeignFieldType(Class<?> clazz)
           
 

Uses of FieldType in com.j256.ormlite.db
 

Methods in com.j256.ormlite.db with parameters of type FieldType
 void DatabaseType.addPrimaryKeySql(FieldType[] fieldTypes, List<String> additionalArgs, List<String> statementsBefore, List<String> statementsAfter, List<String> queriesAfter)
          Appends information about primary key field(s) to the additional-args or other lists.
 void BaseDatabaseType.addPrimaryKeySql(FieldType[] fieldTypes, List<String> additionalArgs, List<String> statementsBefore, List<String> statementsAfter, List<String> queriesAfter)
           
protected  void BaseDatabaseType.addSingleUnique(StringBuilder sb, FieldType fieldType, List<String> additionalArgs, List<String> statementsAfter)
          Add SQL to handle a unique=true field.
 void DatabaseType.addUniqueComboSql(FieldType[] fieldTypes, List<String> additionalArgs, List<String> statementsBefore, List<String> statementsAfter, List<String> queriesAfter)
          Appends information about unique field(s) to the additional-args or other lists.
 void BaseDatabaseType.addUniqueComboSql(FieldType[] fieldTypes, List<String> additionalArgs, List<String> statementsBefore, List<String> statementsAfter, List<String> queriesAfter)
           
protected  void BaseDatabaseType.appendCanBeNull(StringBuilder sb, FieldType fieldType)
          If the field can be nullable, do we need to add some sort of NULL SQL for the create table.
 void DatabaseType.appendColumnArg(StringBuilder sb, FieldType fieldType, List<String> additionalArgs, List<String> statementsBefore, List<String> statementsAfter, List<String> queriesAfter)
          Takes a FieldType and appends the SQL necessary to create the field to the string builder.
 void BaseDatabaseType.appendColumnArg(StringBuilder sb, FieldType fieldType, List<String> additionalArgs, List<String> statementsBefore, List<String> statementsAfter, List<String> queriesAfter)
           
protected  void BaseDatabaseType.appendDefaultValue(StringBuilder sb, FieldType fieldType, Object defaultValue)
          Output the SQL type for a Java boolean default value.
protected  void BaseDatabaseType.appendEnumIntType(StringBuilder sb, FieldType fieldType)
          Output the SQL type for a Enum object stored as intg.
protected  void BaseDatabaseType.appendEnumStringType(StringBuilder sb, FieldType fieldType)
          Output the SQL type for a Enum object stored as String.
protected  void BaseSqliteDatabaseType.configureGeneratedId(StringBuilder sb, FieldType fieldType, List<String> statementsBefore, List<String> additionalArgs, List<String> queriesAfter)
           
protected  void BaseDatabaseType.configureGeneratedId(StringBuilder sb, FieldType fieldType, List<String> statementsBefore, List<String> additionalArgs, List<String> queriesAfter)
          Output the SQL necessary to configure a generated-id column.
protected  void BaseDatabaseType.configureGeneratedIdSequence(StringBuilder sb, FieldType fieldType, List<String> statementsBefore, List<String> additionalArgs, List<String> queriesAfter)
          Output the SQL necessary to configure a generated-id column.
protected  void BaseDatabaseType.configureId(StringBuilder sb, FieldType fieldType, List<String> statementsBefore, List<String> additionalArgs, List<String> queriesAfter)
          Output the SQL necessary to configure an id column.
 void DatabaseType.dropColumnArg(FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter)
          Takes a FieldType and adds the necessary statements to the before and after lists necessary so that the dropping of the table will succeed and will clear other associated sequences or other database artifacts
 void BaseDatabaseType.dropColumnArg(FieldType fieldType, List<String> statementsBefore, List<String> statementsAfter)
           
 String DatabaseType.generateIdSequenceName(String tableName, FieldType idFieldType)
          Return the name of an ID sequence based on the tabelName and the fieldType of the id.
 String BaseDatabaseType.generateIdSequenceName(String tableName, FieldType idFieldType)
           
 Object BaseDatabaseType.BooleanNumberFieldConverter.javaToSqlArg(FieldType fieldType, Object obj)
           
 Object BaseDatabaseType.BooleanNumberFieldConverter.parseDefaultString(FieldType fieldType, String defaultStr)
           
 Object BaseDatabaseType.BooleanNumberFieldConverter.resultToJava(FieldType fieldType, DatabaseResults results, int columnPos)
           
 

Uses of FieldType in com.j256.ormlite.field
 

Methods in com.j256.ormlite.field that return FieldType
static FieldType FieldType.createFieldType(ConnectionSource connectionSource, String tableName, Field field, Class<?> parentClass)
          Return An instantiated FieldType or null if the field does not have a DatabaseField annotation.
 FieldType FieldType.getForeignIdField()
          Return the id field associated with the foreign object or null if none.
 

Methods in com.j256.ormlite.field with parameters of type FieldType
 Object FieldConverter.javaToSqlArg(FieldType fieldType, Object obj)
          Convert a Java object and return the appropriate argument to a SQL insert or update statement.
 Object DataType.javaToSqlArg(FieldType fieldType, Object javaObject)
           
 Object DataType.makeConfigObject(FieldType fieldType)
          This makes a configuration object for the data-type or returns null if none.
 Object FieldConverter.parseDefaultString(FieldType fieldType, String defaultStr)
          Convert a default string object and return the appropriate argument to a SQL insert or update statement.
abstract  Object DataType.parseDefaultString(FieldType fieldType, String defaultStr)
           
 Object FieldConverter.resultToJava(FieldType fieldType, DatabaseResults results, int columnPos)
          Return the object extracted from the results associated with column in position columnPos.
abstract  Object DataType.resultToJava(FieldType fieldType, DatabaseResults results, int columnPos)
           
 

Uses of FieldType in com.j256.ormlite.stmt
 

Methods in com.j256.ormlite.stmt that return FieldType
 FieldType BaseSelectArg.getFieldType()
           
 FieldType ArgumentHolder.getFieldType()
          Return the field type associated with this class.
protected  FieldType[] StatementBuilder.getResultFieldTypes()
          Get the result array from our statement after the StatementBuilder.appendStatementStart(StringBuilder, List) was called.
protected  FieldType[] QueryBuilder.getResultFieldTypes()
           
 FieldType[] QueryBuilder.InternalQueryBuilderWrapper.getResultFieldTypes()
           
protected  FieldType StatementBuilder.verifyColumnName(String columnName)
          Verify the columnName is valid and return its FieldType.
 

Methods in com.j256.ormlite.stmt with parameters of type FieldType
 void BaseSelectArg.setMetaInfo(String columnName, FieldType fieldType)
          Used internally by the package to set the column-name associated with this argument.
 void ArgumentHolder.setMetaInfo(String columnName, FieldType fieldType)
          Used internally by the package to set the column-name associated with this argument.
 

Uses of FieldType in com.j256.ormlite.stmt.mapped
 

Fields in com.j256.ormlite.stmt.mapped declared as FieldType
protected  FieldType[] BaseMappedStatement.argFieldTypes
           
protected  FieldType BaseMappedStatement.idField
           
protected  FieldType[] BaseMappedQuery.resultsFieldTypes
           
 

Methods in com.j256.ormlite.stmt.mapped that return FieldType
 FieldType[] BaseMappedQuery.getResultsFieldTypes()
           
 

Constructors in com.j256.ormlite.stmt.mapped with parameters of type FieldType
BaseMappedQuery(TableInfo<T,ID> tableInfo, String statement, FieldType[] argFieldTypes, FieldType[] resultsFieldTypes)
           
BaseMappedQuery(TableInfo<T,ID> tableInfo, String statement, FieldType[] argFieldTypes, FieldType[] resultsFieldTypes)
           
BaseMappedStatement(TableInfo<T,ID> tableInfo, String statement, FieldType[] argFieldTypes)
           
MappedPreparedStmt(TableInfo<T,ID> tableInfo, String statement, FieldType[] argFieldTypes, FieldType[] resultFieldTypes, ArgumentHolder[] argHolders, Integer limit, StatementBuilder.StatementType type)
           
MappedPreparedStmt(TableInfo<T,ID> tableInfo, String statement, FieldType[] argFieldTypes, FieldType[] resultFieldTypes, ArgumentHolder[] argHolders, Integer limit, StatementBuilder.StatementType type)
           
MappedQueryForId(TableInfo<T,ID> tableInfo, String statement, FieldType[] argFieldTypes, FieldType[] resultsFieldTypes, String label)
           
MappedQueryForId(TableInfo<T,ID> tableInfo, String statement, FieldType[] argFieldTypes, FieldType[] resultsFieldTypes, String label)
           
 

Uses of FieldType in com.j256.ormlite.support
 

Methods in com.j256.ormlite.support with parameters of type FieldType
 CompiledStatement DatabaseConnection.compileStatement(String statement, StatementBuilder.StatementType type, FieldType[] argfieldTypes, FieldType[] resultfieldTypes)
          Compile and prepare the SQL statement for execution.
 CompiledStatement DatabaseConnection.compileStatement(String statement, StatementBuilder.StatementType type, FieldType[] argfieldTypes, FieldType[] resultfieldTypes)
          Compile and prepare the SQL statement for execution.
 int DatabaseConnection.delete(String statement, Object[] args, FieldType[] argfieldTypes)
          Perform a SQL delete with the associated SQL statement, arguments, and types.
 int DatabaseConnection.insert(String statement, Object[] args, FieldType[] argfieldTypes)
          Perform a SQL insert with the associated SQL statement, arguments, and types.
 int DatabaseConnection.insert(String statement, Object[] args, FieldType[] argfieldTypes, GeneratedKeyHolder keyHolder)
          Perform a SQL update while returning generated keys with the associated SQL statement, arguments, and types.
<T> Object
DatabaseConnection.queryForOne(String statement, Object[] args, FieldType[] argfieldTypes, GenericRowMapper<T> rowMapper)
          Perform a SQL query with the associated SQL statement, arguments, and types and returns a single result.
 int DatabaseConnection.update(String statement, Object[] args, FieldType[] argfieldTypes)
          Perform a SQL update with the associated SQL statement, arguments, and types.
 

Uses of FieldType in com.j256.ormlite.table
 

Methods in com.j256.ormlite.table that return FieldType
static
<T> FieldType
DatabaseTableConfig.extractIdFieldType(ConnectionSource connectionSource, Class<T> clazz, String tableName)
          Find and return the field-type of the id field in this class.
 FieldType TableInfo.getFieldTypeByColumnName(String columnName)
          Return the FieldType associated with the columnName.
 FieldType[] TableInfo.getFieldTypes()
          Return the array of field types associated with the object.
 FieldType[] DatabaseTableConfig.getFieldTypes(DatabaseType databaseType)
          Return the field types associated with this configuration.
 FieldType TableInfo.getIdField()
          Return the id-field associated with the object.
 



Copyright © 2011. All Rights Reserved.