Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

add(T) - Method in class com.j256.ormlite.dao.BaseForeignCollection
 
add(T) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
add(int, T) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
add(T) - Method in interface com.j256.ormlite.dao.ForeignCollection
Adds the object to the collection.
addAll(Collection<? extends T>) - Method in class com.j256.ormlite.dao.BaseForeignCollection
Add the collection of elements to this collection.
addAll(Collection<? extends T>) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
addAll(int, Collection<? extends T>) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
addCachedDatabaseConfigs(Collection<DatabaseTableConfig<?>>) - Static method in class com.j256.ormlite.dao.DaoManager
This adds database table configurations to the internal cache which can be used to speed up DAO construction.
addKey(Number) - Method in interface com.j256.ormlite.support.GeneratedKeyHolder
Add the key number on the key holder.
addPrimaryKeySql(FieldType[], List<String>, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
addPrimaryKeySql(FieldType[], List<String>, List<String>, List<String>, List<String>) - Method in interface com.j256.ormlite.db.DatabaseType
Appends information about primary key field(s) to the additional-args or other lists.
addTableName - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
addUniqueComboSql(FieldType[], List<String>, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
addUniqueComboSql(FieldType[], List<String>, List<String>, List<String>, List<String>) - Method in interface com.j256.ormlite.db.DatabaseType
Appends information about unique field(s) to the additional-args or other lists.
and() - Method in class com.j256.ormlite.stmt.Where
AND operation which takes the previous clause and the next clause and AND's them together.
and(Where<T, ID>, Where<T, ID>) - Method in class com.j256.ormlite.stmt.Where
AND operation which takes 2 arguments and AND's them together.
and(Where<T, ID>, Where<T, ID>, Where<T, ID>...) - Method in class com.j256.ormlite.stmt.Where
AND operation which takes 2 (or more) arguments and AND's them together.
and(int) - Method in class com.j256.ormlite.stmt.Where
This method needs to be used carefully.
appendAfter(StringBuilder) - Method in enum com.j256.ormlite.stmt.StatementBuilder.WhereOperation
Append the necessary operators after the where statement.
appendBefore(StringBuilder) - Method in enum com.j256.ormlite.stmt.StatementBuilder.WhereOperation
Append the necessary operators before the where statement.
appendBigDecimalNumericType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a BigDecimal object.
appendBooleanType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java boolean.
appendByteArrayType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for either a serialized Java object or a byte[].
appendByteType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java byte.
appendCharType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java char.
appendColumnArg(String, StringBuilder, FieldType, List<String>, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendColumnArg(String, StringBuilder, FieldType, List<String>, List<String>, List<String>, List<String>) - Method in interface com.j256.ormlite.db.DatabaseType
Takes a FieldType and appends the SQL necessary to create the field to the string builder.
appendCreateSchemaSuffix(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendCreateSchemaSuffix(StringBuilder) - Method in interface com.j256.ormlite.db.DatabaseType
Append the SQL necessary to properly finish a CREATE SCHEMA line.
appendCreateTableSuffix(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendCreateTableSuffix(StringBuilder) - Method in interface com.j256.ormlite.db.DatabaseType
Append the SQL necessary to properly finish a CREATE TABLE line.
appendDateType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java Date.
appendDeleteLimitValue(StringBuilder, long) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendDeleteLimitValue(StringBuilder, long) - Method in interface com.j256.ormlite.db.DatabaseType
Append to the string builder the necessary SQL to limit the deleted rows to a certain number.
appendDoubleType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java double.
appendEscapedEntityName(StringBuilder, String) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendEscapedEntityName(StringBuilder, String) - Method in interface com.j256.ormlite.db.DatabaseType
Add a entity-name word to the string builder wrapped in the proper characters to escape it.
appendEscapedWord(StringBuilder, String) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendEscapedWord(StringBuilder, String) - Method in interface com.j256.ormlite.db.DatabaseType
Add the word to the string builder wrapped in the proper characters to escape it.
appendFloatType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java float.
appendInsertNoColumns(StringBuilder) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendInsertNoColumns(StringBuilder) - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
appendInsertNoColumns(StringBuilder) - Method in interface com.j256.ormlite.db.DatabaseType
Append the SQL necessary to properly finish a "INSERT INTO xxx" line when there are no arguments.
appendIntegerType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java integer.
appendLimitValue(StringBuilder, long, Long) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendLimitValue(StringBuilder, long, Long) - Method in interface com.j256.ormlite.db.DatabaseType
Append to the string builder the necessary SQL to limit the results to a certain number.
appendLongStringType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java Long String.
appendLongType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java long.
appendLongType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
appendOffsetValue(StringBuilder, long) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendOffsetValue(StringBuilder, long) - Method in interface com.j256.ormlite.db.DatabaseType
Append to the string builder the necessary SQL to start the results at a certain row number.
appendSelectNextValFromSequence(StringBuilder, String) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendSelectNextValFromSequence(StringBuilder, String) - Method in interface com.j256.ormlite.db.DatabaseType
Append the SQL necessary to get the next-value from a sequence.
appendSerializableType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a serialized Java object.
appendShortType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java short.
appendStatementEnd(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.DeleteBuilder
 
appendStatementEnd(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.QueryBuilder
 
appendStatementEnd(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.StatementBuilder
Append the end of our statement string to the StringBuilder.
appendStatementEnd(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.UpdateBuilder
 
appendStatementStart(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.DeleteBuilder
 
appendStatementStart(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.QueryBuilder
 
appendStatementStart(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.StatementBuilder
Append the start of our statement string to the StringBuilder.
appendStatementStart(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.UpdateBuilder
 
appendStatementString(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.QueryBuilder.InternalQueryBuilderWrapper
 
appendStatementString(StringBuilder, List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.StatementBuilder
Internal method to build a query while tracking various arguments.
appendStringType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java String.
appendTableQualifier(StringBuilder) - Method in class com.j256.ormlite.stmt.QueryBuilder
 
appendUpdateLimitValue(StringBuilder, long) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
appendUpdateLimitValue(StringBuilder, long) - Method in interface com.j256.ormlite.db.DatabaseType
Append to the string builder the necessary SQL to limit the updated rows to a certain number.
appendUuidNativeType(StringBuilder, FieldType, int) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL type for a Java UUID.
appendWhereStatement(StringBuilder, List<ArgumentHolder>, StatementBuilder.WhereOperation) - Method in class com.j256.ormlite.stmt.QueryBuilder
 
appendWhereStatement(StringBuilder, List<ArgumentHolder>, StatementBuilder.WhereOperation) - Method in class com.j256.ormlite.stmt.StatementBuilder
Append the WHERE part of the statement to the StringBuilder.
argFieldTypes - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
ArgumentHolder - Interface in com.j256.ormlite.stmt
An argument to a select SQL statement.
assignEmptyForeignCollection(T, String) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
assignEmptyForeignCollection(T, String) - Method in interface com.j256.ormlite.dao.Dao
Creates an empty collection and assigns it to the appropriate field in the parent object.
assignEmptyForeignCollection(T, String) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
assignField(ConnectionSource, Object, Object, boolean, ObjectCache) - Method in class com.j256.ormlite.field.FieldType
Assign to the data object the val corresponding to the fieldType.
assignIdValue(ConnectionSource, Object, Number, ObjectCache) - Method in class com.j256.ormlite.field.FieldType
Assign an ID value to this field.

B

BaseArgumentHolder - Class in com.j256.ormlite.stmt
Base class for other select argument classes.
BaseArgumentHolder() - Constructor for class com.j256.ormlite.stmt.BaseArgumentHolder
 
BaseArgumentHolder(String) - Constructor for class com.j256.ormlite.stmt.BaseArgumentHolder
 
BaseArgumentHolder(SqlType) - Constructor for class com.j256.ormlite.stmt.BaseArgumentHolder
 
BaseConnectionSource - Class in com.j256.ormlite.support
Connection source base class which provides the save/clear mechanism using a thread local.
BaseConnectionSource() - Constructor for class com.j256.ormlite.support.BaseConnectionSource
 
BaseDaoEnabled<T,ID> - Class in com.j256.ormlite.misc
Base class that your data elements can extend which allow them to refresh, update, etc.
BaseDaoEnabled() - Constructor for class com.j256.ormlite.misc.BaseDaoEnabled
 
BaseDaoImpl<T,ID> - Class in com.j256.ormlite.dao
Base class for the Database Access Objects that handle the reading and writing a class from the database.
BaseDaoImpl(Class<T>) - Constructor for class com.j256.ormlite.dao.BaseDaoImpl
Construct our base DAO using Spring type wiring.
BaseDaoImpl(ConnectionSource, Class<T>) - Constructor for class com.j256.ormlite.dao.BaseDaoImpl
Construct our base DAO class.
BaseDaoImpl(ConnectionSource, DatabaseTableConfig<T>) - Constructor for class com.j256.ormlite.dao.BaseDaoImpl
Construct our base DAO class.
BaseDatabaseType - Class in com.j256.ormlite.db
Base class for all of the DatabaseType classes that provide the per-database type functionality to create tables and build queries.
BaseDatabaseType() - Constructor for class com.j256.ormlite.db.BaseDatabaseType
 
BaseDataType - Class in com.j256.ormlite.field.types
Base data type that defines the default persistance methods for the various data types.
BaseDataType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.BaseDataType
 
BaseDataType(SqlType) - Constructor for class com.j256.ormlite.field.types.BaseDataType
 
BaseDateType - Class in com.j256.ormlite.field.types
Base class for all of the Date class types.
BaseDateType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.BaseDateType
 
BaseDateType(SqlType) - Constructor for class com.j256.ormlite.field.types.BaseDateType
 
BaseEnumType - Class in com.j256.ormlite.field.types
Base class for the enum classes to provide a utility method.
BaseEnumType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.BaseEnumType
 
BaseEnumType(SqlType) - Constructor for class com.j256.ormlite.field.types.BaseEnumType
 
BaseFieldConverter - Class in com.j256.ormlite.field
Base class for field-converters.
BaseFieldConverter() - Constructor for class com.j256.ormlite.field.BaseFieldConverter
 
BaseForeignCollection<T,ID> - Class in com.j256.ormlite.dao
Base collection that is set on a field that as been marked with the ForeignCollectionField annotation when an object is refreshed or queried (i.e.
BaseForeignCollection(Dao<T, ID>, Object, Object, FieldType, String, boolean) - Constructor for class com.j256.ormlite.dao.BaseForeignCollection
 
BaseMappedQuery<T,ID> - Class in com.j256.ormlite.stmt.mapped
Abstract mapped statement for queries which handle the creating of a new object and the row mapping functionality.
BaseMappedQuery(Dao<T, ID>, TableInfo<T, ID>, String, FieldType[], FieldType[]) - Constructor for class com.j256.ormlite.stmt.mapped.BaseMappedQuery
 
BaseMappedStatement<T,ID> - Class in com.j256.ormlite.stmt.mapped
Abstract mapped statement which has common statements used by the subclasses.
BaseMappedStatement(Dao<T, ID>, TableInfo<T, ID>, String, FieldType[]) - Constructor for class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
BaseSchemaUtils - Class in com.j256.ormlite.table
Schema utility class which will dump the schema statements needed by an array of classes.
BaseSchemaUtils() - Constructor for class com.j256.ormlite.table.BaseSchemaUtils
 
BaseSqliteDatabaseType - Class in com.j256.ormlite.db
Sqlite database type information used to create the tables, etc..
BaseSqliteDatabaseType() - Constructor for class com.j256.ormlite.db.BaseSqliteDatabaseType
 
between(String, Object, Object) - Method in class com.j256.ormlite.stmt.Where
Add a BETWEEN clause so the column must be between the low and high parameters.
BigDecimalNumericType - Class in com.j256.ormlite.field.types
Type that persists a BigInteger object as a NUMERIC SQL database field.
BigDecimalNumericType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.BigDecimalNumericType
Here for others to subclass.
BigDecimalStringType - Class in com.j256.ormlite.field.types
Type that persists a BigInteger object.
BigDecimalStringType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.BigDecimalStringType
Here for others to subclass.
BigIntegerType - Class in com.j256.ormlite.field.types
Type that persists a BigInteger object.
BigIntegerType() - Constructor for class com.j256.ormlite.field.types.BigIntegerType
 
BigIntegerType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.BigIntegerType
Here for others to subclass.
BooleanCharType - Class in com.j256.ormlite.field.types
Booleans can be stored in the database as the character '1' '0'.
BooleanCharType() - Constructor for class com.j256.ormlite.field.types.BooleanCharType
 
BooleanIntegerType - Class in com.j256.ormlite.field.types
Booleans can be stored in the database as the integer column type and the value 1 (really non-0) for true and 0 for false.
BooleanIntegerType() - Constructor for class com.j256.ormlite.field.types.BooleanIntegerType
 
BooleanNumberFieldConverter - Class in com.j256.ormlite.field.converter
Conversion to/from the Boolean Java field as a number because some databases like the true/false.
BooleanNumberFieldConverter() - Constructor for class com.j256.ormlite.field.converter.BooleanNumberFieldConverter
 
BooleanObjectType - Class in com.j256.ormlite.field.types
Type that persists a Boolean object.
BooleanObjectType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.BooleanObjectType
 
BooleanObjectType(SqlType) - Constructor for class com.j256.ormlite.field.types.BooleanObjectType
 
BooleanType - Class in com.j256.ormlite.field.types
Type that persists a boolean primitive.
BooleanType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.BooleanType
 
BooleanType(SqlType) - Constructor for class com.j256.ormlite.field.types.BooleanType
 
build(Dao<T, ID>, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedCreate
 
build(Dao<T, ID>, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedDelete
 
build(Dao<T, ID>, TableInfo<T, ID>, FieldType) - Static method in class com.j256.ormlite.stmt.mapped.MappedQueryForFieldEq
 
build(Dao<T, ID>, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedRefresh
 
build(Dao<T, ID>, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedUpdate
 
build(Dao<T, ID>, TableInfo<T, ID>) - Static method in class com.j256.ormlite.stmt.mapped.MappedUpdateId
 
buildForeignCollection(Object, FID) - Method in class com.j256.ormlite.field.FieldType
Build and return a foreign collection based on the field settings that matches the id argument.
buildIterator(BaseDaoImpl<T, ID>, ConnectionSource, int, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Create and return a SelectIterator for the class using the default mapped query for all statement.
buildIterator(BaseDaoImpl<T, ID>, ConnectionSource, PreparedStmt<T>, ObjectCache, int) - Method in class com.j256.ormlite.stmt.StatementExecutor
Create and return an SelectIterator for the class using a prepared statement.
buildStatement(DatabaseType, TableInfo<T, ID>, FieldType) - Static method in class com.j256.ormlite.stmt.mapped.MappedQueryForFieldEq
 
buildStatementString(List<ArgumentHolder>) - Method in class com.j256.ormlite.stmt.StatementBuilder
 
ByteArrayType - Class in com.j256.ormlite.field.types
Type that persists a byte[] object.
ByteArrayType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.ByteArrayType
Here for others to subclass.
ByteObjectType - Class in com.j256.ormlite.field.types
Type that persists a Byte object.
ByteObjectType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.ByteObjectType
 
ByteType - Class in com.j256.ormlite.field.types
Type that persists a byte primitive.
ByteType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.ByteType
Here for others to subclass.

C

callBatchTasks(Callable<CT>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
callBatchTasks(Callable<CT>) - Method in interface com.j256.ormlite.dao.Dao
Call the call-able that will perform a number of batch tasks.
callBatchTasks(Callable<CT>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
callBatchTasks(ConnectionSource, Callable<CT>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Call batch tasks inside of a connection which may, or may not, have been "saved".
callInTransaction(Callable<T>) - Method in class com.j256.ormlite.misc.TransactionManager
Execute the Callable class inside of a transaction.
callInTransaction(String, Callable<T>) - Method in class com.j256.ormlite.misc.TransactionManager
Same as TransactionManager.callInTransaction(Callable) except as a this has a table-name specified.
callInTransaction(ConnectionSource, Callable<T>) - Static method in class com.j256.ormlite.misc.TransactionManager
Same as TransactionManager.callInTransaction(Callable) except as a static method with a connection source.
callInTransaction(String, ConnectionSource, Callable<T>) - Static method in class com.j256.ormlite.misc.TransactionManager
callInTransaction(DatabaseConnection, DatabaseType, Callable<T>) - Static method in class com.j256.ormlite.misc.TransactionManager
Same as TransactionManager.callInTransaction(Callable) except as a static method on a connection with database-type.
callInTransaction(DatabaseConnection, boolean, DatabaseType, Callable<T>) - Static method in class com.j256.ormlite.misc.TransactionManager
Same as TransactionManager.callInTransaction(Callable) except as a static method on a connection with database-type.
cancel() - Method in interface com.j256.ormlite.support.CompiledStatement
Cancel a currently running query associated with this statement.
CharacterCompatFieldConverter - Class in com.j256.ormlite.field.converter
Some drivers do not support setObject on Character objects!
CharacterCompatFieldConverter(FieldConverter) - Constructor for class com.j256.ormlite.field.converter.CharacterCompatFieldConverter
 
characteristics() - Method in class com.j256.ormlite.dao.CloseableSpliteratorImpl
 
CharacterObjectType - Class in com.j256.ormlite.field.types
Type that persists a Character object.
CharacterObjectType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.CharacterObjectType
 
CharType - Class in com.j256.ormlite.field.types
Type that persists a char primitive.
CharType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.CharType
Here for others to subclass.
checkForInitialized() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
clazz - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
cleanNullReferences(Class<T>) - Method in class com.j256.ormlite.dao.ReferenceObjectCache
Run through the map and remove any references that have been null'd out by the GC.
cleanNullReferencesAll() - Method in class com.j256.ormlite.dao.ReferenceObjectCache
Run through all maps and remove any references that have been null'd out by the GC.
clear() - Method in class com.j256.ormlite.dao.BaseForeignCollection
Clears the collection and uses the iterator to run through the dao and delete all of the items in the collection from the associated database table.
clear(Class<T>) - Method in class com.j256.ormlite.dao.LruObjectCache
 
clear(Class<T>) - Method in interface com.j256.ormlite.dao.ObjectCache
Remove all entries from the cache of a certain class.
clear(Class<T>) - Method in class com.j256.ormlite.dao.ReferenceObjectCache
 
clear() - Static method in class com.j256.ormlite.field.DataPersisterManager
Remove any previously persisters that were registered with DataPersisterManager.registerDataPersisters(DataPersister...).
clearAll() - Method in class com.j256.ormlite.dao.LruObjectCache
 
clearAll() - Method in interface com.j256.ormlite.dao.ObjectCache
Remove all entries from the cache of all classes.
clearAll() - Method in class com.j256.ormlite.dao.ReferenceObjectCache
 
clearAllInternalObjectCaches() - Static method in class com.j256.ormlite.dao.BaseDaoImpl
Special call mostly used in testing to clear the internal object caches so we can reset state.
clearCache() - Static method in class com.j256.ormlite.dao.DaoManager
Clear out all of internal caches.
clearDaoCache() - Static method in class com.j256.ormlite.dao.DaoManager
Clear out our DAO caches.
clearObjectCache() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
clearObjectCache() - Method in interface com.j256.ormlite.dao.Dao
Flush the object cache if it has been enabled.
clearObjectCache() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
clearSpecial(DatabaseConnection, Logger) - Method in class com.j256.ormlite.support.BaseConnectionSource
Clear the connection that was previously saved.
clearSpecialConnection(DatabaseConnection) - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
clearSpecialConnection(DatabaseConnection) - Method in interface com.j256.ormlite.support.ConnectionSource
Clear the saved connection.
clearTable(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.TableUtils
Clear all data out of the table.
clearTable(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.table.TableUtils
Clear all data out of the table.
close() - Method in class com.j256.ormlite.dao.CloseableSpliteratorImpl
 
close() - Method in interface com.j256.ormlite.dao.CloseableWrappedIterable
This will close the iterator that was wrapped.
close() - Method in class com.j256.ormlite.dao.CloseableWrappedIterableImpl
 
close() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
close() - Method in interface com.j256.ormlite.dao.GenericRawResults
Close any open database connections associated with the GenericRawResults.
close() - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
close() - Method in class com.j256.ormlite.misc.WrappedDatabaseConnection
Close our connection.
close() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
close() - Method in class com.j256.ormlite.stmt.SelectIterator
 
close() - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
CloseableIterable<T> - Interface in com.j256.ormlite.dao
Extension to Iterable to provide a iterator() method that returns a CloseableIterator.
closeableIterator() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
closeableIterator() - Method in interface com.j256.ormlite.dao.CloseableIterable
Returns an iterator over a set of elements of type T which can be closed.
CloseableIterator<T> - Interface in com.j256.ormlite.dao
Extension to Iterator to provide a close() method.
closeableIterator() - Method in class com.j256.ormlite.dao.CloseableWrappedIterableImpl
 
closeableIterator() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
closeableIterator(int) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
closeableIterator(int) - Method in interface com.j256.ormlite.dao.ForeignCollection
closeableIterator() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
closeableIterator(int) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
closeableIterator() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
closeableIterator() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
CloseableSpliterator<T> - Interface in com.j256.ormlite.dao
Extension to Spliterator to provide a close() method.
CloseableSpliteratorImpl<T> - Class in com.j256.ormlite.dao
Implementation of CloseableSpliterator which provides AutoCloseable.close() implementations, and is based on unknown size spliterator (no Spliterator.SIZED characteristic).
CloseableSpliteratorImpl(CloseableIterator<? extends T>) - Constructor for class com.j256.ormlite.dao.CloseableSpliteratorImpl
 
CloseableWrappedIterable<T> - Interface in com.j256.ormlite.dao
Extension to CloseableIterable which defines a class which has an iterator() method that returns a CloseableIterator but also can be closed itself.
CloseableWrappedIterableImpl<T> - Class in com.j256.ormlite.dao
Class which is used to help folks use for loops but still close at the end.
CloseableWrappedIterableImpl(CloseableIterable<T>) - Constructor for class com.j256.ormlite.dao.CloseableWrappedIterableImpl
 
closeLastIterator() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
closeLastIterator() - Method in interface com.j256.ormlite.dao.Dao
This closes the last iterator returned by the Dao.iterator() method.
closeLastIterator() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
closeLastIterator() - Method in interface com.j256.ormlite.dao.ForeignCollection
This will close the last iterator returned by the Collection.iterator() method.
closeLastIterator() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
closeLastIterator() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
closeQuietly() - Method in interface com.j256.ormlite.dao.CloseableIterator
Close any underlying SQL statements but swallow any SQLExceptions.
closeQuietly() - Method in interface com.j256.ormlite.dao.CloseableSpliterator
Close any underlying SQL statements but swallow any SQLExceptions.
closeQuietly() - Method in class com.j256.ormlite.dao.CloseableSpliteratorImpl
 
closeQuietly(AutoCloseable) - Static method in class com.j256.ormlite.misc.IOUtils
Close the auto-closeable if not null and ignore any exceptions.
closeQuietly(Closeable) - Static method in class com.j256.ormlite.misc.IOUtils
Close the closeable if not null and ignore any exceptions.
closeQuietly() - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
closeQuietly() - Method in class com.j256.ormlite.stmt.SelectIterator
 
closeQuietly() - Method in interface com.j256.ormlite.support.CompiledStatement
Close the statement but swallows any SQLExceptions.
closeQuietly() - Method in interface com.j256.ormlite.support.ConnectionSource
Close any outstanding database connections.
closeQuietly() - Method in interface com.j256.ormlite.support.DatabaseConnection
Close the connection to the database but swallow any exceptions.
closeQuietly() - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
closeQuietly() - Method in interface com.j256.ormlite.support.DatabaseResults
Closes any underlying database connections but swallows any SQLExceptions.
closeThrowSqlException(AutoCloseable, String) - Static method in class com.j256.ormlite.misc.IOUtils
Close it and ignore any exceptions.
closeThrowSqlException(Closeable, String) - Static method in class com.j256.ormlite.misc.IOUtils
Close it and ignore any exceptions.
ColumnArg - Class in com.j256.ormlite.stmt
An argument to a select SQL statement that represents a column in a table.
ColumnArg(String) - Constructor for class com.j256.ormlite.stmt.ColumnArg
For queries where only one table is being addressed.
ColumnArg(String, String) - Constructor for class com.j256.ormlite.stmt.ColumnArg
For queries where multiple tables are being addressed.
com.j256.ormlite.dao - package com.j256.ormlite.dao
Database Access Object classes.
com.j256.ormlite.db - package com.j256.ormlite.db
Per-database type and SQL information.
com.j256.ormlite.field - package com.j256.ormlite.field
Object field information.
com.j256.ormlite.field.converter - package com.j256.ormlite.field.converter
 
com.j256.ormlite.field.types - package com.j256.ormlite.field.types
 
com.j256.ormlite.logger - package com.j256.ormlite.logger
Logging utility classes.
com.j256.ormlite.misc - package com.j256.ormlite.misc
Miscellaneous classes.
com.j256.ormlite.stmt - package com.j256.ormlite.stmt
SQL statement generation and processing.
com.j256.ormlite.stmt.mapped - package com.j256.ormlite.stmt.mapped
Compiled SQL query statements.
com.j256.ormlite.support - package com.j256.ormlite.support
Database support classes.
com.j256.ormlite.table - package com.j256.ormlite.table
Object table information.
commit(DatabaseConnection) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
commit(DatabaseConnection) - Method in interface com.j256.ormlite.dao.Dao
If you have previously set auto-commit to false using Dao.setAutoCommit(DatabaseConnection, boolean) then this will commit all changes to the database made from that point up to now on the connection returned by the Dao.startThreadConnection().
commit(DatabaseConnection) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
commit(Savepoint) - Method in interface com.j256.ormlite.support.DatabaseConnection
Commit all changes since the savepoint was created.
commit(Savepoint) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
CommonsLoggingLogBackend - Class in com.j256.ormlite.logger
Log backend that delegating to the Apache commons logging classes.
CommonsLoggingLogBackend(String) - Constructor for class com.j256.ormlite.logger.CommonsLoggingLogBackend
 
CommonsLoggingLogBackend.CommonsLoggingLogBackendFactory - Class in com.j256.ormlite.logger
Factory for generating CommonsLoggingLogBackend instances.
CommonsLoggingLogBackendFactory() - Constructor for class com.j256.ormlite.logger.CommonsLoggingLogBackend.CommonsLoggingLogBackendFactory
 
compile(DatabaseConnection, StatementBuilder.StatementType) - Method in class com.j256.ormlite.stmt.mapped.MappedPreparedStmt
 
compile(DatabaseConnection, StatementBuilder.StatementType, int) - Method in class com.j256.ormlite.stmt.mapped.MappedPreparedStmt
 
compile(DatabaseConnection, StatementBuilder.StatementType) - Method in interface com.j256.ormlite.stmt.PreparedStmt
Create and return the associated compiled statement.
compile(DatabaseConnection, StatementBuilder.StatementType, int) - Method in interface com.j256.ormlite.stmt.PreparedStmt
Like compile(DatabaseConnection, StatementType) but allows to specify the result flags.
CompiledStatement - Interface in com.j256.ormlite.support
An internal reduction of the SQL PreparedStatement so we can implement its functionality outside of JDBC.
compileStatement(String, StatementBuilder.StatementType, FieldType[], int, boolean) - Method in interface com.j256.ormlite.support.DatabaseConnection
Like compileStatement(String, StatementType, FieldType[]) except the caller can specify the result flags.
compileStatement(String, StatementBuilder.StatementType, FieldType[], int, boolean) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
configDaoInformation(ConnectionSource, Class<?>) - Method in class com.j256.ormlite.field.FieldType
Because we go recursive in a lot of situations if we construct DAOs inside of the FieldType constructor, we have to do this 2nd pass initialization so we can better use the DAO caches.
configureGeneratedId(String, StringBuilder, FieldType, List<String>, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL necessary to configure a generated-id column.
configureGeneratedId(String, StringBuilder, FieldType, List<String>, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
configureGeneratedIdSequence(StringBuilder, FieldType, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL necessary to configure a generated-id column.
configureId(StringBuilder, FieldType, List<String>, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
Output the SQL necessary to configure an id column.
connection - Variable in class com.j256.ormlite.misc.WrappedDatabaseConnection
 
connectionProxy - Variable in class com.j256.ormlite.misc.WrappedDatabaseConnection
 
connectionSource - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
connectionSource - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
ConnectionSource - Interface in com.j256.ormlite.support
A reduction of the SQL DataSource so we can implement its functionality outside of JDBC.
ConsoleLogBackend - Class in com.j256.ormlite.logger
Log backend that writes to the console.
ConsoleLogBackend(String) - Constructor for class com.j256.ormlite.logger.ConsoleLogBackend
 
ConsoleLogBackend.ConsoleLogBackendFactory - Class in com.j256.ormlite.logger
Factory for generating ConsoleLogBackend instances.
ConsoleLogBackendFactory() - Constructor for class com.j256.ormlite.logger.ConsoleLogBackend.ConsoleLogBackendFactory
 
constructor - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
contains(Object) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
contains(Object) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
containsAll(Collection<?>) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
containsAll(Collection<?>) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
convertDateStringConfig(FieldType, DateStringFormatConfig) - Static method in class com.j256.ormlite.field.types.BaseDateType
 
convertIdNumber(Number) - Method in interface com.j256.ormlite.field.DataPersister
Convert a Number object to its primitive object suitable for assigning to a java ID field.
convertIdNumber(Number) - Method in class com.j256.ormlite.field.types.BaseDataType
 
convertIdNumber(Number) - Method in class com.j256.ormlite.field.types.BigIntegerType
 
convertIdNumber(Number) - Method in class com.j256.ormlite.field.types.ByteObjectType
 
convertIdNumber(Number) - Method in class com.j256.ormlite.field.types.IntegerObjectType
 
convertIdNumber(Number) - Method in class com.j256.ormlite.field.types.LongObjectType
 
convertIdNumber(Number) - Method in class com.j256.ormlite.field.types.ShortObjectType
 
convertIdToFieldObject(ID) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
Return a field object converted from an id.
convertJavaFieldToSqlArgValue(Object) - Method in class com.j256.ormlite.field.FieldType
Convert a field value to something suitable to be stored in the database.
convertStringToJavaField(String, int) - Method in class com.j256.ormlite.field.FieldType
Convert a string value into the appropriate Java field value.
countOf() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
countOf(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
countOf() - Method in interface com.j256.ormlite.dao.Dao
Returns the number of rows in the table associated with the data class.
countOf(PreparedQuery<T>) - Method in interface com.j256.ormlite.dao.Dao
Returns the number of rows in the table associated with the prepared query passed in.
countOf() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
countOf(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
countOf() - Method in class com.j256.ormlite.stmt.QueryBuilder
Returns the count of the number of rows in the table.
countOf(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Returns the count of the number of rows that match a field so you can do qb.countOf("DISTINCT(fieldname)").
countOf() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling QueryBuilder.countOf().
create(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
create(Collection<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
create(T) - Method in interface com.j256.ormlite.dao.Dao
Create a new row in the database from an object.
create(Collection<T>) - Method in interface com.j256.ormlite.dao.Dao
Just like Dao.create(Object) but with a collection of objects.
create(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
create(Collection<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
create() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.create(Object).
create(DatabaseConnection, T, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Create a new entry in the database from an object.
createDao(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.dao.DaoManager
Helper method to create a DAO object without having to define a class.
createDao(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.dao.DaoManager
Helper method to create a DAO object without having to define a class.
createDao(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.dao.RuntimeExceptionDao
Call through to DaoManager.createDao(ConnectionSource, Class) with the returned DAO wrapped in a RuntimeExceptionDao.
createDao(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.dao.RuntimeExceptionDao
Call through to DaoManager.createDao(ConnectionSource, DatabaseTableConfig) with the returned DAO wrapped in a RuntimeExceptionDao.
createFieldConfig(DatabaseType, Field) - Method in interface com.j256.ormlite.misc.JavaxPersistenceConfigurer
Create and return a field config from the javax.persistence annotations associated with the field argument or null if no annotations present.
createFieldConfig(DatabaseType, Field) - Method in class com.j256.ormlite.misc.JavaxPersistenceImpl
 
createFieldType(DatabaseType, String, Field, Class<?>) - Static method in class com.j256.ormlite.field.FieldType
Return An instantiated FieldType or null if the field does not have a DatabaseField annotation.
createIfNotExists(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
createIfNotExists(T) - Method in interface com.j256.ormlite.dao.Dao
This is a convenience method to creating a data item but only if the ID does not already exist in the table.
createIfNotExists(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
createLogBackend(String) - Method in class com.j256.ormlite.logger.CommonsLoggingLogBackend.CommonsLoggingLogBackendFactory
 
createLogBackend(String) - Method in class com.j256.ormlite.logger.ConsoleLogBackend.ConsoleLogBackendFactory
 
createLogBackend(String) - Method in class com.j256.ormlite.logger.JavaUtilLogBackend.JavaUtilLogBackendFactory
 
createLogBackend(String) - Method in class com.j256.ormlite.logger.LocalLogBackend.LocalLogBackendFactory
 
createLogBackend(String) - Method in class com.j256.ormlite.logger.Log4j2LogBackend.Log4j2LogBackendFactory
 
createLogBackend(String) - Method in class com.j256.ormlite.logger.Log4jLogBackend.Log4jLogBackendFactory
 
createLogBackend(String) - Method in interface com.j256.ormlite.logger.LogBackendFactory
Create a log backend implementation from the class-label.
createLogBackend(String) - Method in enum com.j256.ormlite.logger.LogBackendType
 
createLogBackend(String) - Method in class com.j256.ormlite.logger.LogbackLogBackend.LogbackLogBackendFactory
 
createLogBackend(String) - Method in class com.j256.ormlite.logger.NullLogBackend.NullLogBackendFactory
 
createLogBackend(String) - Method in class com.j256.ormlite.logger.Slf4jLoggingLogBackend.Slf4jLoggingLogBackendFactory
 
createObject(Constructor<T>, Class<T>) - Method in interface com.j256.ormlite.table.ObjectFactory
Construct and return an object of a certain class.
createObjectInstance() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
createObjectInstance() - Method in interface com.j256.ormlite.dao.Dao
Instantiate an instance of the object that this dao manages.
createObjectInstance() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
createOrUpdate(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
createOrUpdate(T) - Method in interface com.j256.ormlite.dao.Dao
This is a convenience method for creating an item in the database if it does not exist.
createOrUpdate(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
CreateOrUpdateStatus(boolean, boolean, int) - Constructor for class com.j256.ormlite.dao.Dao.CreateOrUpdateStatus
 
createProxy(DatabaseConnection) - Method in interface com.j256.ormlite.support.DatabaseConnectionProxyFactory
Create a proxy database connection that may extend DatabaseConnectionProxy.
createProxy(DatabaseConnection) - Method in class com.j256.ormlite.support.ReflectionDatabaseConnectionProxyFactory
 
createSchema(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.SchemaUtils
Issue the database statements to create the schema associated with a class.
createSchema(Dao<?, ?>) - Static method in class com.j256.ormlite.table.SchemaUtils
Issue the database statements to create the schema associated with a table configuration.
createSchema(ConnectionSource, String) - Static method in class com.j256.ormlite.table.SchemaUtils
Issue the database statements to create the schema associated with a schema configuration.
createSchemaIfNotExists(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.SchemaUtils
Create a schema if it does not already exist.
createSchemaIfNotExists(ConnectionSource, String) - Static method in class com.j256.ormlite.table.SchemaUtils
Create a schema if it does not already exist.
createTable(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to create the table associated with a class.
createTable(Dao<?, ?>) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to create the table associated with a table configuration.
createTable(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to create the table associated with a table configuration.
createTableIfNotExists(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.TableUtils
Create a table if it does not already exist.
createTableIfNotExists(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.table.TableUtils
Create a table if it does not already exist.
createWithForeignDao(T) - Method in class com.j256.ormlite.field.FieldType
Pass the foreign data argument to the foreign Dao.create(Object) method.
cs - Variable in class com.j256.ormlite.misc.WrappedConnectionSource
 
CurrencyType - Class in com.j256.ormlite.field.types
Type that persists a Currency object.
CurrencyType() - Constructor for class com.j256.ormlite.field.types.CurrencyType
 
CurrencyType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.CurrencyType
 
current() - Method in interface com.j256.ormlite.dao.CloseableIterator
Return the current result object that we have accessed or null if none.
current() - Method in class com.j256.ormlite.stmt.SelectIterator
 

D

dao - Variable in class com.j256.ormlite.dao.BaseForeignCollection
 
Dao<T,ID> - Interface in com.j256.ormlite.dao
The definition of the Database Access Objects that handle the reading and writing a class from the database.
dao - Variable in class com.j256.ormlite.misc.BaseDaoEnabled
 
dao - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
dao - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
Dao.CreateOrUpdateStatus - Class in com.j256.ormlite.dao
Return class for the Dao.createOrUpdate(Object) method.
Dao.DaoObserver - Interface in com.j256.ormlite.dao
Defines a class that can observe changes to entities managed by the DAO.
DaoManager - Class in com.j256.ormlite.dao
Class which caches created DAOs.
DaoManager() - Constructor for class com.j256.ormlite.dao.DaoManager
 
DatabaseConnection - Interface in com.j256.ormlite.support
A reduction of the SQL Connection so we can implement its functionality outside of JDBC.
DatabaseConnectionProxy - Class in com.j256.ormlite.support
Database connection proxy so you can intercept database operations either for debugging, replication, logging, or other purposes.
DatabaseConnectionProxy(DatabaseConnection) - Constructor for class com.j256.ormlite.support.DatabaseConnectionProxy
 
DatabaseConnectionProxyFactory - Interface in com.j256.ormlite.support
Defines a class that creates connection proxies.
DatabaseField - Annotation Type in com.j256.ormlite.field
Annotation that identifies a field in a class that corresponds to a column in the database and will be persisted.
DatabaseFieldConfig - Class in com.j256.ormlite.field
Database field configuration information either supplied by a DatabaseField annotation or by direct Java or Spring wiring.
DatabaseFieldConfig() - Constructor for class com.j256.ormlite.field.DatabaseFieldConfig
 
DatabaseFieldConfig(String) - Constructor for class com.j256.ormlite.field.DatabaseFieldConfig
 
DatabaseFieldConfig(String, String, DataType, String, int, boolean, boolean, boolean, String, boolean, DatabaseTableConfig<?>, boolean, Enum<?>, boolean, String, boolean, String, String, boolean, int, int) - Constructor for class com.j256.ormlite.field.DatabaseFieldConfig
 
DatabaseFieldConfigLoader - Class in com.j256.ormlite.field
Database field configuration loader which reads and writes DatabaseFieldConfig from a text file/stream.
DatabaseFieldConfigLoader() - Constructor for class com.j256.ormlite.field.DatabaseFieldConfigLoader
 
DatabaseResults - Interface in com.j256.ormlite.support
A reduction of the SQL ResultSet so we can implement it outside of JDBC.
DatabaseResultsMapper<T> - Interface in com.j256.ormlite.dao
Result apper that utilized the raw DatabaseResults object.
DatabaseTable - Annotation Type in com.j256.ormlite.table
Annotation that marks a class to be stored in the database.
DatabaseTableConfig<T> - Class in com.j256.ormlite.table
Database table configuration information either supplied by Spring or direct Java wiring or from a DatabaseTable annotation.
DatabaseTableConfig() - Constructor for class com.j256.ormlite.table.DatabaseTableConfig
 
DatabaseTableConfig(DatabaseType, Class<T>, List<DatabaseFieldConfig>) - Constructor for class com.j256.ormlite.table.DatabaseTableConfig
Setup a table config associated with the dataClass and field configurations.
DatabaseTableConfig(Class<T>, String, List<DatabaseFieldConfig>) - Constructor for class com.j256.ormlite.table.DatabaseTableConfig
Setup a table config associated with the dataClass, table-name, and field configurations.
DatabaseTableConfig(Class<T>, String, String, List<DatabaseFieldConfig>) - Constructor for class com.j256.ormlite.table.DatabaseTableConfig
Setup a table config associated with the dataClass, schema-name, table-name, and field configurations.
DatabaseTableConfigLoader - Class in com.j256.ormlite.table
Database table configuration loader which reads and writes DatabaseTableConfig from a text file/stream.
DatabaseTableConfigLoader() - Constructor for class com.j256.ormlite.table.DatabaseTableConfigLoader
 
databaseType - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
DatabaseType - Interface in com.j256.ormlite.db
Definition of the per-database functionality needed to isolate the differences between the various databases.
databaseType - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
dataClass - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
dataIsEqual(Object, Object) - Method in interface com.j256.ormlite.field.DataPersister
Compare two fields of this type returning true if equals else false.
dataIsEqual(Object, Object) - Method in class com.j256.ormlite.field.types.BaseDataType
 
dataIsEqual(Object, Object) - Method in class com.j256.ormlite.field.types.ByteArrayType
 
DataPersister - Interface in com.j256.ormlite.field
Data type that provide Java class to/from database mapping.
DataPersisterManager - Class in com.j256.ormlite.field
Class used to manage the various data types used by the system.
DataType - Enum in com.j256.ormlite.field
Data type enumeration that corresponds to a DataPersister.
DateIntegerType - Class in com.j256.ormlite.field.types
Persists the Date Java class as integer seconds (not milliseconds) since epoch.
DateIntegerType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.DateIntegerType
Here for others to subclass.
DateLongType - Class in com.j256.ormlite.field.types
Persists the Date Java class as long milliseconds since epoch.
DateLongType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.DateLongType
Here for others to subclass.
DateStringFormatConfig - Class in com.j256.ormlite.field.types
Date string format config that is it's own class to force the hiding of the DateFormat.
DateStringFormatConfig(String) - Constructor for class com.j256.ormlite.field.types.DateStringFormatConfig
 
DateStringType - Class in com.j256.ormlite.field.types
Type that persists a Date object as a String.
DateStringType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.DateStringType
 
DateStringType(SqlType) - Constructor for class com.j256.ormlite.field.types.DateStringType
 
DateTimeType - Class in com.j256.ormlite.field.types
A custom persister that is able to store the org.joda.time.DateTime class in the database as epoch-millis long integer.
DateTimeType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.DateTimeType
 
DateType - Class in com.j256.ormlite.field.types
Type that persists a Date object.
DateType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.DateType
 
debug(String) - Method in class com.j256.ormlite.logger.Logger
Log a debug message.
debug(String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a debug message.
debug(String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a debug message.
debug(String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a debug message.
debug(String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a debug message.
debug(String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a debug message.
debug(Throwable, String) - Method in class com.j256.ormlite.logger.Logger
Log a debug message with a throwable.
debug(Throwable, String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a debug message with a throwable.
debug(Throwable, String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a debug message with a throwable.
debug(Throwable, String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a debug message with a throwable.
debug(Throwable, String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a debug message with a throwable.
debug(Throwable, String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a debug message with a throwable.
DEFAULT_CAN_BE_NULL - Static variable in class com.j256.ormlite.field.DatabaseFieldConfig
 
DEFAULT_DATA_TYPE - Static variable in class com.j256.ormlite.field.DatabaseFieldConfig
 
DEFAULT_FOREIGN_COLLECTION_ORDER_ASCENDING - Static variable in class com.j256.ormlite.field.DatabaseFieldConfig
 
DEFAULT_MAX_EAGER_FOREIGN_COLLECTION_LEVEL - Static variable in class com.j256.ormlite.field.DatabaseFieldConfig
 
DEFAULT_MAX_EAGER_LEVEL - Static variable in annotation type com.j256.ormlite.field.ForeignCollectionField
 
DEFAULT_MAX_FOREIGN_AUTO_REFRESH_LEVEL - Static variable in annotation type com.j256.ormlite.field.DatabaseField
Default for the maxForeignAutoRefreshLevel.
DEFAULT_PERSISTED - Static variable in class com.j256.ormlite.field.DatabaseFieldConfig
 
DEFAULT_PERSISTER_CLASS - Static variable in class com.j256.ormlite.field.DatabaseFieldConfig
 
DEFAULT_RESULT_FLAGS - Static variable in interface com.j256.ormlite.support.DatabaseConnection
 
DEFAULT_SEQUENCE_SUFFIX - Static variable in class com.j256.ormlite.db.BaseDatabaseType
 
DEFAULT_STRING - Static variable in annotation type com.j256.ormlite.field.DatabaseField
this special string is used as a .equals check to see if no default was specified
DEFAULT_WIDTH - Static variable in class com.j256.ormlite.field.types.BigDecimalStringType
 
DEFAULT_WIDTH - Static variable in class com.j256.ormlite.field.types.BigIntegerType
 
DEFAULT_WIDTH - Static variable in class com.j256.ormlite.field.types.CurrencyType
 
DEFAULT_WIDTH - Static variable in class com.j256.ormlite.field.types.DateStringType
 
DEFAULT_WIDTH - Static variable in class com.j256.ormlite.field.types.EnumStringType
 
DEFAULT_WIDTH - Static variable in class com.j256.ormlite.field.types.StringType
 
DEFAULT_WIDTH - Static variable in class com.j256.ormlite.field.types.UuidType
 
delete(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
delete(Collection<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
delete(PreparedDelete<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
delete(T) - Method in interface com.j256.ormlite.dao.Dao
Delete the database row corresponding to the id from the data parameter.
delete(Collection<T>) - Method in interface com.j256.ormlite.dao.Dao
Delete a collection of objects from the database using an IN SQL clause.
delete(PreparedDelete<T>) - Method in interface com.j256.ormlite.dao.Dao
Delete the objects that match the prepared statement parameter.
delete(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
delete(Collection<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
delete(PreparedDelete<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
delete() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.delete(Object).
delete() - Method in class com.j256.ormlite.stmt.DeleteBuilder
delete(DatabaseConnection, T, ObjectCache) - Method in class com.j256.ormlite.stmt.mapped.MappedDelete
Delete the object from the database.
delete(DatabaseConnection, T, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Delete an object from the database.
delete(DatabaseConnection, PreparedDelete<T>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Delete rows that match the prepared statement.
delete(String, Object[], FieldType[]) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a SQL delete with the associated SQL statement, arguments, and types.
delete(String, Object[], FieldType[]) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
deleteBuilder() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
deleteBuilder() - Method in interface com.j256.ormlite.dao.Dao
Like Dao.queryBuilder() but allows you to build an DELETE statement.
deleteBuilder() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
DeleteBuilder<T,ID> - Class in com.j256.ormlite.stmt
Assists in building sql DELETE statements for a particular table in a particular database.
DeleteBuilder(DatabaseType, TableInfo<T, ID>, Dao<T, ID>) - Constructor for class com.j256.ormlite.stmt.DeleteBuilder
 
deleteById(ID) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
deleteById(ID) - Method in interface com.j256.ormlite.dao.Dao
Delete an object from the database that has an id.
deleteById(ID) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
deleteById(DatabaseConnection, ID, ObjectCache) - Method in class com.j256.ormlite.stmt.mapped.MappedDelete
Delete the object from the database.
deleteById(DatabaseConnection, ID, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Delete an object from the database by id.
deleteIds(Collection<ID>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
deleteIds(Collection<ID>) - Method in interface com.j256.ormlite.dao.Dao
Delete the objects that match the collection of ids from the database using an IN SQL clause.
deleteIds(Collection<ID>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
deleteIds(Dao<T, ID>, TableInfo<T, ID>, DatabaseConnection, Collection<ID>, ObjectCache) - Static method in class com.j256.ormlite.stmt.mapped.MappedDeleteCollection
Delete all of the objects in the collection.
deleteIds(DatabaseConnection, Collection<ID>, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Delete a collection of objects from the database.
deleteObjects(Dao<T, ID>, TableInfo<T, ID>, DatabaseConnection, Collection<T>, ObjectCache) - Static method in class com.j256.ormlite.stmt.mapped.MappedDeleteCollection
Delete all of the objects in the collection.
deleteObjects(DatabaseConnection, Collection<T>, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Delete a collection of objects from the database.
distinct() - Method in class com.j256.ormlite.stmt.QueryBuilder
Add "DISTINCT" clause to the SQL query statement.
DoubleObjectType - Class in com.j256.ormlite.field.types
Type that persists a Double object.
DoubleObjectType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.DoubleObjectType
 
DoubleType - Class in com.j256.ormlite.field.types
Type that persists a double primitive.
DoubleType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.DoubleType
Here for others to subclass.
downCaseString(String, boolean) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
downCaseString(String, boolean) - Method in interface com.j256.ormlite.db.DatabaseType
Returns the lowercase version of a string for generating and fields and methods.
driver - Variable in class com.j256.ormlite.db.BaseDatabaseType
 
dropColumnArg(FieldType, List<String>, List<String>) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
dropColumnArg(FieldType, List<String>, List<String>) - Method in interface com.j256.ormlite.db.DatabaseType
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
dropSchema(ConnectionSource, Class<T>, boolean) - Static method in class com.j256.ormlite.table.SchemaUtils
Issue the database statements to drop the schema associated with a class.
dropSchema(ConnectionSource, String, boolean) - Static method in class com.j256.ormlite.table.SchemaUtils
Issue the database statements to drop the schema associated with a schema configuration.
dropTable(ConnectionSource, Class<T>, boolean) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to drop the table associated with a class.
dropTable(Dao<T, ID>, boolean) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to drop the table associated with a dao.
dropTable(ConnectionSource, DatabaseTableConfig<T>, boolean) - Static method in class com.j256.ormlite.table.TableUtils
Issue the database statements to drop the table associated with a table configuration.
dumpSchema() - Method in class com.j256.ormlite.table.BaseSchemaUtils
 

E

EagerForeignCollection<T,ID> - Class in com.j256.ormlite.dao
Collection that is set on a field that as been marked with the ForeignCollectionField annotation when an object is refreshed or queried (i.e.
EagerForeignCollection(Dao<T, ID>, Object, Object, FieldType, String, boolean) - Constructor for class com.j256.ormlite.dao.EagerForeignCollection
WARNING: The user should not be calling this constructor.
endThreadConnection(DatabaseConnection) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
endThreadConnection(DatabaseConnection) - Method in interface com.j256.ormlite.dao.Dao
WARNING: This method is for advanced users only.
endThreadConnection(DatabaseConnection) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
EnumIntegerType - Class in com.j256.ormlite.field.types
Persists an Enum Java class as its ordinal integer value.
EnumIntegerType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.EnumIntegerType
Here for others to subclass.
EnumStringType - Class in com.j256.ormlite.field.types
Type that persists an enum as its name produced by call @{link Enum.name().
EnumStringType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.EnumStringType
Here for others to subclass.
EnumToStringType - Class in com.j256.ormlite.field.types
Type that persists an enum as its string value produced by call @{link Enum.toString().
EnumToStringType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.EnumToStringType
Here for others to subclass.
enumVal(FieldType, Object, Enum<?>, Enum<?>) - Static method in class com.j256.ormlite.field.types.BaseEnumType
 
eq(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '=' clause so the column must be equal to the value.
equals(Object) - Method in class com.j256.ormlite.dao.EagerForeignCollection
This is just a call to the equals method of the internal results list.
equals(Object) - Method in class com.j256.ormlite.dao.LazyForeignCollection
This is just a call to Object.equals(Object).
equals(Object) - Method in class com.j256.ormlite.field.FieldType
 
error(String) - Method in class com.j256.ormlite.logger.Logger
Log a error message.
error(String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a error message.
error(String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a error message.
error(String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a error message.
error(String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a error message.
error(String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a error message.
error(Throwable, String) - Method in class com.j256.ormlite.logger.Logger
Log a error message with a throwable.
error(Throwable, String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a error message with a throwable.
error(Throwable, String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a error message with a throwable.
error(Throwable, String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a error message with a throwable.
error(Throwable, String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a error message with a throwable.
error(Throwable, String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a error message with a throwable.
escapeColumnName(StringBuilder, String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
When you are building the expression for UpdateBuilder.updateColumnExpression(String, String), you may need to escape column names since they may be reserved words to the database.
escapeColumnName(String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
Same as UpdateBuilder.escapeColumnName(StringBuilder, String) but it will return the escaped string.
escapeValue(StringBuilder, String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
When you are building the expression for UpdateBuilder.updateColumnExpression(String, String), you may need to escape values since they may be reserved words to the database.
escapeValue(String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
Same as UpdateBuilder.escapeValue(StringBuilder, String) but it will return the escaped string.
estimateSize() - Method in class com.j256.ormlite.dao.CloseableSpliteratorImpl
 
execute(DatabaseConnection, ID, ObjectCache) - Method in class com.j256.ormlite.stmt.mapped.MappedQueryForFieldEq
Query for an object in the database which matches the id argument.
execute(DatabaseConnection, T, ID, ObjectCache) - Method in class com.j256.ormlite.stmt.mapped.MappedUpdateId
Update the id field of the object in the database.
executeRaw(String, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
executeRaw(String, String...) - Method in interface com.j256.ormlite.dao.Dao
Run a raw execute SQL statement to the database.
executeRaw(String, String...) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
executeRaw(DatabaseConnection, String, String[]) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return true if it worked else false.
executeRawNoArgs(String) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
executeRawNoArgs(String) - Method in interface com.j256.ormlite.dao.Dao
Run a raw execute SQL statement on the database without any arguments.
executeRawNoArgs(String) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
executeRawNoArgs(DatabaseConnection, String) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return true if it worked else false.
executeRefresh(DatabaseConnection, T, ObjectCache) - Method in class com.j256.ormlite.stmt.mapped.MappedRefresh
Execute our refresh query statement and then update all of the fields in data with the fields from the result.
executeStatement(String, int) - Method in interface com.j256.ormlite.support.DatabaseConnection
Execute a statement directly on the connection.
executeStatement(String, int) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
exists(QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.Where
Add a EXISTS clause with a sub-query inside of parenthesis.
extractDatabaseTableConfig(ConnectionSource, Class<T>) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
extractDatabaseTableConfig(ConnectionSource, Class<T>) - Method in interface com.j256.ormlite.db.DatabaseType
Extract and return a custom database configuration for this class.
extractFieldTypes(DatabaseType) - Method in class com.j256.ormlite.table.DatabaseTableConfig
Extract the field types from the fieldConfigs if they have not already been configured.
extractId(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
extractId(T) - Method in interface com.j256.ormlite.dao.Dao
Returns the ID from the data parameter passed in.
extractId(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
extractId() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.extractId(Object).
extractJavaFieldToSqlArgValue(Object) - Method in class com.j256.ormlite.field.FieldType
Extract a field from an object and convert to something suitable to be passed to SQL as an argument.
extractJavaFieldValue(Object) - Method in class com.j256.ormlite.field.FieldType
Return the value from the field in the object that is defined by this FieldType.
extractRawJavaFieldValue(Object) - Method in class com.j256.ormlite.field.FieldType
Return the value from the field in the object that is defined by this FieldType.
extractSchemaName(Class<T>) - Static method in class com.j256.ormlite.table.DatabaseTableConfig
 
extractTableName(DatabaseType, Class<T>) - Static method in class com.j256.ormlite.table.DatabaseTableConfig
Extract and return the table name for a class.

F

fatal(String) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message.
fatal(String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message.
fatal(String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message.
fatal(String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message.
fatal(String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message.
fatal(String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message.
fatal(Throwable, String) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message with a throwable.
fatal(Throwable, String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message with a throwable.
fatal(Throwable, String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message with a throwable.
fatal(Throwable, String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message with a throwable.
fatal(Throwable, String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message with a throwable.
fatal(Throwable, String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a fatal message with a throwable.
FieldConverter - Interface in com.j256.ormlite.field
Convert a Java object into the appropriate argument to a SQL statement and then back from the result set to the Java object.
FieldType - Class in com.j256.ormlite.field
Per field information configured from the DatabaseField annotation and the associated Field in the class.
FieldType(DatabaseType, String, Field, DatabaseFieldConfig, Class<?>) - Constructor for class com.j256.ormlite.field.FieldType
findColumn(String) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the column index associated with the column name.
findForeignFieldType(Class<?>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
findForeignFieldType(Class<?>) - Method in interface com.j256.ormlite.dao.Dao
Returns the class of the DAO.
findForeignFieldType(Class<?>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
findGetMethod(Field, DatabaseType, boolean) - Static method in class com.j256.ormlite.field.DatabaseFieldConfig
Find and return the appropriate getter method for field.
findMatchingEnumVal(Field, String) - Static method in class com.j256.ormlite.field.DatabaseFieldConfig
Internal method that finds the matching enum for a configured field that has the name argument.
findSetMethod(Field, DatabaseType, boolean) - Static method in class com.j256.ormlite.field.DatabaseFieldConfig
Find and return the appropriate setter method for field.
first() - Method in interface com.j256.ormlite.dao.CloseableIterator
Move to the first result and return it or null if none.
first() - Method in class com.j256.ormlite.stmt.SelectIterator
 
first() - Method in interface com.j256.ormlite.support.DatabaseResults
Moves to the first result.
FloatObjectType - Class in com.j256.ormlite.field.types
Type that persists a boolean primitive.
FloatObjectType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.FloatObjectType
 
FloatType - Class in com.j256.ormlite.field.types
Type that persists a float primitive.
FloatType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.FloatType
Here for others to subclass.
forceOkay() - Method in class com.j256.ormlite.misc.WrappedConnectionSource
Used if we want to forcefully close a connection source without throwing errors.
FOREIGN_ID_FIELD_SUFFIX - Static variable in class com.j256.ormlite.field.FieldType
default suffix added to fields that are id fields of foreign objects
ForeignCollection<T> - Interface in com.j256.ormlite.dao
Collection that is set on a field that as been marked with the ForeignCollectionField annotation when an object is refreshed or queried (i.e.
ForeignCollectionField - Annotation Type in com.j256.ormlite.field
Annotation that identifies a ForeignCollection field in a class that corresponds to objects in a foreign table that match the foreign-id of the current class.
fromClass(DatabaseType, Class<T>) - Static method in class com.j256.ormlite.table.DatabaseTableConfig
Extract the DatabaseTableConfig for a particular class by looking for class and field annotations.
fromDatabaseField(DatabaseType, String, Field, DatabaseField) - Static method in class com.j256.ormlite.field.DatabaseFieldConfig
 
fromField(DatabaseType, String, Field) - Static method in class com.j256.ormlite.field.DatabaseFieldConfig
Create and return a config converted from a Field that may have one of the following annotations: DatabaseField, ForeignCollectionField, or javax.persistence...
fromReader(BufferedReader) - Static method in class com.j256.ormlite.field.DatabaseFieldConfigLoader
Load a configuration in from a text file.
fromReader(BufferedReader) - Static method in class com.j256.ormlite.table.DatabaseTableConfigLoader
Load a table configuration in from a text-file reader.

G

ge(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '>=' clause so the column must be greater-than or equals-to the value.
generatedIdSqlAtEnd() - Method in class com.j256.ormlite.db.BaseDatabaseType
generatedIdSqlAtEnd() - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
GeneratedKeyHolder - Interface in com.j256.ormlite.support
The holder of a generated key so we can return the value of generated keys from update methods.
generateId() - Method in interface com.j256.ormlite.field.DataPersister
Return a generated id if appropriate or null if none.
generateId() - Method in class com.j256.ormlite.field.FieldType
generateId() - Method in class com.j256.ormlite.field.types.BaseDataType
 
generateId() - Method in class com.j256.ormlite.field.types.UuidType
 
generateIdSequenceName(String, FieldType) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
generateIdSequenceName(String, FieldType) - Method in interface com.j256.ormlite.db.DatabaseType
Return the name of an ID sequence based on the tabelName and the fieldType of the id.
GenericRawResults<T> - Interface in com.j256.ormlite.dao
Results returned by a call to Dao.queryRaw(String, String...) which returns results as a String[], Dao.queryRaw(String, RawRowMapper, String...) which returns results mapped by the caller to an Object, and Dao.queryRaw(String, DataType[], String...) which returns each results as a Object[].
GenericRowMapper<T> - Interface in com.j256.ormlite.stmt
Parameterized version similar to Spring's RowMapper which converts a result row into an object.
get(int) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
get(Class<T>, ID) - Method in class com.j256.ormlite.dao.LruObjectCache
 
get(Class<T>, ID) - Method in interface com.j256.ormlite.dao.ObjectCache
Lookup in the cache for an object of a certain class that has a certain id.
get(Class<T>, ID) - Method in class com.j256.ormlite.dao.ReferenceObjectCache
 
getArgList() - Method in class com.j256.ormlite.stmt.StatementBuilder.StatementInfo
 
getAssociatedClasses() - Method in interface com.j256.ormlite.field.DataPersister
Return the classes that should be associated with this.
getAssociatedClasses() - Method in class com.j256.ormlite.field.types.BaseDataType
 
getAssociatedClassNames() - Method in interface com.j256.ormlite.field.DataPersister
Return the class names that should be associated with this or null.
getAssociatedClassNames() - Method in class com.j256.ormlite.field.types.BaseDataType
 
getAssociatedClassNames() - Method in class com.j256.ormlite.field.types.DateTimeType
 
getBigDecimal(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the SQL big decimal value from the results at the column index.
getBlobStream(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns an input stream for a blob value from the results at the column index.
getBoolean(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the boolean value from the results at the column index.
getByte(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the byte value from the results at the column index.
getBytes(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the byte array value from the results at the column index.
getChar(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the char value from the results at the column index.
getClasses() - Method in class com.j256.ormlite.table.BaseSchemaUtils
Return the list of the classes we want to dump the schema of.
getColumnCount() - Method in interface com.j256.ormlite.support.CompiledStatement
Returns the number of columns in this statement.
getColumnCount() - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the number of columns in these results.
getColumnDefinition() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getColumnDefinition() - Method in class com.j256.ormlite.field.FieldType
getColumnName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getColumnName() - Method in class com.j256.ormlite.field.FieldType
 
getColumnName() - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Return the column-name associated with this argument.
getColumnName() - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
 
getColumnName() - Method in class com.j256.ormlite.stmt.ColumnArg
 
getColumnName() - Method in class com.j256.ormlite.stmt.NullArgHolder
 
getColumnName(int) - Method in interface com.j256.ormlite.support.CompiledStatement
Get the designated column's name.
getColumnName() - Method in interface com.j256.ormlite.support.GeneratedKeyHolder
Return the name of the generated column we are interested in.
getColumnNames() - Method in interface com.j256.ormlite.dao.GenericRawResults
Return the array of column names for each result row.
getColumnNames() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
getColumnNames() - Method in interface com.j256.ormlite.support.DatabaseResults
Returns an array of column names.
getCommentLinePrefix() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
getCommentLinePrefix() - Method in interface com.j256.ormlite.db.DatabaseType
Return the prefix to put at the front of a SQL line to mark it as a comment.
getConnectionCount() - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
getConnectionSource() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getConnectionSource() - Method in interface com.j256.ormlite.dao.Dao
Return the associated ConnectionSource or null if none set on the DAO yet.
getConnectionSource() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
getConnectionSource() - Method in class com.j256.ormlite.table.BaseSchemaUtils
Return the connection-source to be used to generate the schema statements.
getCreateSchemaStatements(DatabaseType, String) - Static method in class com.j256.ormlite.table.SchemaUtils
Return an list of SQL statements that need to be run to create a schema.
getCreateTableStatements(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.table.TableUtils
Return an list of SQL statements that need to be run to create a table.
getCreateTableStatements(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.table.TableUtils
Return an list of SQL statements that need to be run to create a table.
getCreateTableStatements(DatabaseType, Class<T>) - Static method in class com.j256.ormlite.table.TableUtils
getDao() - Method in class com.j256.ormlite.dao.BaseForeignCollection
 
getDao() - Method in interface com.j256.ormlite.dao.ForeignCollection
Return the DAO object associated with this foreign collection.
getDao() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
Return the DAO object associated with this object.
getDatabaseConnection() - Method in class com.j256.ormlite.misc.WrappedDatabaseConnection
 
getDatabaseConnectionProxy() - Method in class com.j256.ormlite.misc.WrappedDatabaseConnection
 
getDatabaseName() - Method in interface com.j256.ormlite.db.DatabaseType
Return the name of the database for logging purposes.
getDatabaseType() - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
getDatabaseType() - Method in interface com.j256.ormlite.support.ConnectionSource
Return the DatabaseTypre associated with this connection.
getDataClass() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getDataClass() - Method in interface com.j256.ormlite.dao.Dao
Returns the class of the DAO.
getDataClass() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
getDataClass() - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
getDataClass() - Method in class com.j256.ormlite.table.TableInfo
Return the class associated with this object-info.
getDataPersister(DataPersister, FieldType) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
getDataPersister(DataPersister, FieldType) - Method in interface com.j256.ormlite.db.DatabaseType
Return the DataPersister to associate with the DataType.
getDataPersister() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getDataPersister() - Method in enum com.j256.ormlite.field.DataType
 
getDataPersister() - Method in class com.j256.ormlite.field.FieldType
 
getDataType() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getDataTypeConfigObj() - Method in class com.j256.ormlite.field.FieldType
 
getDateFormat() - Method in class com.j256.ormlite.field.types.DateStringFormatConfig
 
getDefaultDateFormatConfig() - Method in class com.j256.ormlite.field.types.BaseDateType
Get the default date format configuration.
getDefaultDateFormatConfig() - Method in class com.j256.ormlite.field.types.SqlDateType
 
getDefaultValue() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getDefaultValue() - Method in class com.j256.ormlite.field.FieldType
Return the default value as parsed from the DatabaseFieldConfig.getDefaultValue() or null if no default value.
getDefaultWidth() - Method in interface com.j256.ormlite.field.DataPersister
Return the default width associated with this type or 0 if none.
getDefaultWidth() - Method in class com.j256.ormlite.field.types.BaseDataType
 
getDefaultWidth() - Method in class com.j256.ormlite.field.types.BigDecimalStringType
 
getDefaultWidth() - Method in class com.j256.ormlite.field.types.BigIntegerType
 
getDefaultWidth() - Method in class com.j256.ormlite.field.types.CurrencyType
 
getDefaultWidth() - Method in class com.j256.ormlite.field.types.DateStringType
 
getDefaultWidth() - Method in class com.j256.ormlite.field.types.EnumStringType
 
getDefaultWidth() - Method in class com.j256.ormlite.field.types.LongStringType
 
getDefaultWidth() - Method in class com.j256.ormlite.field.types.StringType
 
getDefaultWidth() - Method in class com.j256.ormlite.field.types.UuidType
 
getDouble(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the double value from the results at the column index.
getDriverClassNames() - Method in class com.j256.ormlite.db.BaseDatabaseType
Return the name of the driver(s) class associated with this database type.
getEmptyForeignCollection(String) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getEmptyForeignCollection(String) - Method in interface com.j256.ormlite.dao.Dao
Like Dao.assignEmptyForeignCollection(Object, String) but it returns the empty collection that you assign to the appropriate field.
getEmptyForeignCollection(String) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
getEntityName(Class<?>) - Method in interface com.j256.ormlite.misc.JavaxPersistenceConfigurer
Return the javax.persistence.Entity annotation name for the class argument or null if none or if there was no entity name.
getEntityName(Class<?>) - Method in class com.j256.ormlite.misc.JavaxPersistenceImpl
 
getEnumName(Enum<?>) - Method in class com.j256.ormlite.field.types.EnumStringType
 
getEnumName(Enum<?>) - Method in class com.j256.ormlite.field.types.EnumToStringType
 
getField() - Method in class com.j256.ormlite.field.FieldType
 
getFieldConfigs() - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
getFieldConverter(DataPersister, FieldType) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
getFieldConverter(DataPersister, FieldType) - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
getFieldConverter(DataPersister, FieldType) - Method in interface com.j256.ormlite.db.DatabaseType
Return the FieldConverter to associate with the DataType.
getFieldName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
Return the name of the field in the class.
getFieldName() - Method in class com.j256.ormlite.field.FieldType
 
getFieldObjects(Object) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
Return the array of field objects pulled from the data object.
getFieldType() - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Return the field type associated with this class.
getFieldType() - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
 
getFieldType() - Method in class com.j256.ormlite.stmt.NullArgHolder
 
getFieldTypeByColumnName(String) - Method in class com.j256.ormlite.table.TableInfo
Return the FieldType associated with the columnName.
getFieldTypes(DatabaseType) - Method in class com.j256.ormlite.table.DatabaseTableConfig
Return the field types associated with this configuration.
getFieldTypes() - Method in class com.j256.ormlite.table.TableInfo
Return the array of field types associated with the object.
getFieldValueIfNotDefault(Object) - Method in class com.j256.ormlite.field.FieldType
Return the value of field in the data argument if it is not the default value for the class.
getFirstResult() - Method in interface com.j256.ormlite.dao.GenericRawResults
Return the first result only.
getFirstResult() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
getFloat(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the float value from the results at the column index.
getForeignCollectionColumnName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getForeignCollectionForeignFieldName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getForeignCollectionMaxEagerLevel() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getForeignCollectionOrderColumnName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getForeignCollections() - Method in class com.j256.ormlite.table.TableInfo
Return an array with the fields that are ForeignCollections or a blank array if none.
getForeignColumnName() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getForeignIdField() - Method in class com.j256.ormlite.field.FieldType
Return the id of the associated foreign object or null if none.
getForeignRefField() - Method in class com.j256.ormlite.field.FieldType
Return the field associated with the foreign object or null if none.
getForeignTableConfig() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
For a foreign class which does not use the DatabaseField annotations, you need to inject the table configuration.
getFormat() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getFormat() - Method in class com.j256.ormlite.field.FieldType
Return the format of the field.
getFullColumnDefinition() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getGeneratedIdSequence() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getGeneratedIdSequence() - Method in class com.j256.ormlite.field.FieldType
Return the generated-id-sequence associated with the field or null if FieldType.isGeneratedIdSequence() is false.
getGenericType() - Method in class com.j256.ormlite.field.FieldType
Return the generic type of the field associated with this field type.
getIdField() - Method in class com.j256.ormlite.table.TableInfo
Return the id-field associated with the object.
getIndexName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getIndexName() - Method in class com.j256.ormlite.field.FieldType
 
getInt(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the integer value from the results at the column index.
getJavaDefaultValueDefault() - Method in class com.j256.ormlite.field.FieldType
Return whether or not the field value passed in is the default value for the type of the field.
getLogBackend() - Method in class com.j256.ormlite.logger.Logger
Get the underlying log backend implementation for testing purposes.
getLogBackendFactory() - Static method in class com.j256.ormlite.logger.LoggerFactory
Get the currently assigned log factory or null if none.
getLogger(Class<?>) - Static method in class com.j256.ormlite.logger.LoggerFactory
Return a logger associated with a particular class.
getLogger(String) - Static method in class com.j256.ormlite.logger.LoggerFactory
Return a logger associated with a particular class name.
getLong(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the long value from the results at the column index.
getMaxForeignAutoRefreshLevel() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getNumArgs() - Method in class com.j256.ormlite.stmt.mapped.MappedPreparedStmt
 
getNumArgs() - Method in interface com.j256.ormlite.stmt.PreparedStmt
Return the number of associated arguments with the statement.
getNumberColumns() - Method in interface com.j256.ormlite.dao.GenericRawResults
Return the number of columns in each result row.
getNumberColumns() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
getNumLinesChanged() - Method in class com.j256.ormlite.dao.Dao.CreateOrUpdateStatus
 
getObject(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the SQL object value from the results at the column index.
getObjectCache() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getObjectCache() - Method in interface com.j256.ormlite.dao.Dao
Returns the current object-cache being used by the DAO or null if none.
getObjectCache() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
getObjectCacheForRetrieve() - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the object cache for looking up objects associated with these results or null if none.
getObjectCacheForStore() - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the object cache for storing objects generated by these results or null if none.
getPersisterClass() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getPingStatement() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
getPingStatement() - Method in interface com.j256.ormlite.db.DatabaseType
Return an statement that doesn't do anything but which can be used to ping the database by sending it over a database connection.
getPreparedQuery() - Method in class com.j256.ormlite.dao.BaseForeignCollection
 
getPrimaryClass() - Method in interface com.j256.ormlite.field.DataPersister
Return the class most associated with this persister or null if none.
getPrimaryClass() - Method in class com.j256.ormlite.field.types.BaseDataType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.BigDecimalNumericType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.ByteArrayType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.DateIntegerType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.DateLongType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.DateStringType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.DateTimeType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.EnumIntegerType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.LongStringType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.SerializableType
 
getPrimaryClass() - Method in class com.j256.ormlite.field.types.StringBytesType
 
getRawResults() - Method in interface com.j256.ormlite.dao.CloseableIterator
Return the underlying database results object if any.
getRawResults() - Method in class com.j256.ormlite.stmt.SelectIterator
 
getRawRowMapper() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getRawRowMapper() - Method in interface com.j256.ormlite.dao.Dao
Return a row mapper that is suitable for use with Dao.queryRaw(String, RawRowMapper, String...).
getRawRowMapper() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
getRawRowMapper() - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a raw row mapper suitable for use with Dao.queryRaw(String, RawRowMapper, String...).
getReadOnlyConnection(String) - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
getReadOnlyConnection(String) - Method in interface com.j256.ormlite.support.ConnectionSource
Return a database connection suitable for read-only operations.
getReadWriteConnection(String) - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
getReadWriteConnection(String) - Method in interface com.j256.ormlite.support.ConnectionSource
Return a database connection suitable for read or write operations.
getResultFieldTypes() - Method in class com.j256.ormlite.stmt.QueryBuilder
 
getResultFieldTypes() - Method in class com.j256.ormlite.stmt.QueryBuilder.InternalQueryBuilderWrapper
 
getResultFieldTypes() - Method in class com.j256.ormlite.stmt.StatementBuilder
Get the result array from our statement after the StatementBuilder.appendStatementStart(StringBuilder, List) was called.
getResults() - Method in interface com.j256.ormlite.dao.GenericRawResults
Return a list of all of the results.
getResults() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
getSavedConnection() - Method in class com.j256.ormlite.support.BaseConnectionSource
Returns the connection that has been saved or null if none.
getSchemaName() - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
getSchemaName() - Method in class com.j256.ormlite.table.TableInfo
Return the name of the schema or null if none.
getSelectStarRowMapper() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getSelectStarRowMapper() - Method in interface com.j256.ormlite.dao.Dao
Return a row mapper that is suitable for mapping results from a query to select * (star).
getSelectStarRowMapper() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
getSelectStarRowMapper() - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a row mapper suitable for mapping 'select *' queries.
getShort(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the short value from the results at the column index.
getSimpleClassName(String) - Static method in class com.j256.ormlite.logger.LoggerFactory
Return the single class name from a class-name string.
getSingleton() - Static method in class com.j256.ormlite.field.converter.BooleanNumberFieldConverter
 
getSingleton() - Static method in class com.j256.ormlite.field.types.BigDecimalNumericType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.BigDecimalStringType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.BigIntegerType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.BooleanCharType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.BooleanIntegerType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.BooleanObjectType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.BooleanType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.ByteArrayType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.ByteObjectType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.ByteType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.CharacterObjectType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.CharType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.CurrencyType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.DateIntegerType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.DateLongType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.DateStringType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.DateTimeType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.DateType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.DoubleObjectType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.DoubleType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.EnumIntegerType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.EnumStringType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.EnumToStringType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.FloatObjectType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.FloatType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.IntegerObjectType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.IntType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.LongObjectType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.LongStringType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.LongType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.NativeUuidType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.SerializableType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.ShortObjectType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.ShortType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.SqlDateStringType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.SqlDateType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.StringBytesType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.StringType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.TimeStampStringType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.TimeStampType
 
getSingleton() - Static method in class com.j256.ormlite.field.types.UuidType
 
getSpecialConnection(String) - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
getSpecialConnection(String) - Method in class com.j256.ormlite.support.BaseConnectionSource
 
getSpecialConnection(String) - Method in interface com.j256.ormlite.support.ConnectionSource
Return the currently saved connection or null if none.
getSqlArgValue() - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Return the value associated with this argument suitable for passing to SQL.
getSqlArgValue() - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
 
getSqlArgValue() - Method in class com.j256.ormlite.stmt.NullArgHolder
 
getSqlOtherType() - Method in interface com.j256.ormlite.field.DataPersister
Get the type that should be used when defining this.
getSqlOtherType() - Method in class com.j256.ormlite.field.types.BaseDataType
 
getSqlType() - Method in class com.j256.ormlite.field.converter.BooleanNumberFieldConverter
 
getSqlType() - Method in class com.j256.ormlite.field.converter.CharacterCompatFieldConverter
 
getSqlType() - Method in interface com.j256.ormlite.field.FieldConverter
Return the SQL type that is stored in the database for this argument.
getSqlType() - Method in class com.j256.ormlite.field.FieldType
 
getSqlType() - Method in class com.j256.ormlite.field.types.BaseDataType
 
getSqlType() - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Return the SQL type associated with this class.
getSqlType() - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
 
getSqlType() - Method in class com.j256.ormlite.stmt.NullArgHolder
 
getStatement() - Method in class com.j256.ormlite.stmt.mapped.MappedPreparedStmt
 
getStatement() - Method in interface com.j256.ormlite.stmt.PreparedStmt
Return the associated SQL statement string for logging purposes.
getStatement() - Method in class com.j256.ormlite.stmt.StatementBuilder.StatementInfo
 
getStatement() - Method in class com.j256.ormlite.stmt.Where
Returns the associated SQL WHERE statement.
getStatement() - Method in interface com.j256.ormlite.support.CompiledStatement
Return the underlying SQL statement.
getStatementProxy() - Method in class com.j256.ormlite.misc.WrappedStatement
 
getString(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the string from the results at the column index.
getTableConfig() - Method in class com.j256.ormlite.dao.BaseDaoImpl
Returns the table configuration information associated with the Dao's class or null if none.
getTableInfo() - Method in class com.j256.ormlite.dao.BaseDaoImpl
Used by internal classes to get the table information structure for the Dao's class.
getTableInfo() - Method in interface com.j256.ormlite.dao.Dao
Get the table information associated with the class that this dao manages.
getTableInfo() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
getTableName() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getTableName() - Method in interface com.j256.ormlite.dao.Dao
Return the name of the table that this DAO is handling.
getTableName() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
getTableName() - Method in class com.j256.ormlite.field.FieldType
 
getTableName() - Method in class com.j256.ormlite.stmt.ColumnArg
 
getTableName() - Method in class com.j256.ormlite.stmt.QueryBuilder
 
getTableName() - Method in class com.j256.ormlite.stmt.StatementBuilder
 
getTableName() - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
getTableName() - Method in class com.j256.ormlite.table.TableInfo
Return the name of the table associated with the object.
getTimestamp(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns the SQL timestamp value from the results at the column index.
getType() - Method in class com.j256.ormlite.field.FieldType
Return the class of the field associated with this field type.
getType() - Method in class com.j256.ormlite.stmt.mapped.MappedPreparedStmt
 
getType() - Method in interface com.j256.ormlite.stmt.PreparedStmt
Return the type of the statement for internal consistency checking.
getUnderlyingConnection() - Method in interface com.j256.ormlite.support.DatabaseConnection
Return the underlying database connection so that per-connection calls can be made on it as necessary.
getUnderlyingConnection() - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
getUniqueIndexName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getUniqueIndexName() - Method in class com.j256.ormlite.field.FieldType
 
getUnknownEnumVal() - Method in class com.j256.ormlite.field.FieldType
 
getUnknownEnumValue() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getValue() - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
Return the stored value.
getValue() - Method in class com.j256.ormlite.stmt.SelectArg
 
getValue() - Method in class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
getWidth() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
getWidth() - Method in class com.j256.ormlite.field.FieldType
 
getWrappedIterable() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getWrappedIterable(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
getWrappedIterable() - Method in interface com.j256.ormlite.dao.Dao
This makes a one time use iterable class that can be closed afterwards.
getWrappedIterable(PreparedQuery<T>) - Method in interface com.j256.ormlite.dao.Dao
Same as Dao.getWrappedIterable() but with a prepared query parameter.
getWrappedIterable() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
getWrappedIterable(int) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
getWrappedIterable() - Method in interface com.j256.ormlite.dao.ForeignCollection
This makes a one time use iterable class that can be closed afterwards.
getWrappedIterable(int) - Method in interface com.j256.ormlite.dao.ForeignCollection
Like ForeignCollection.getWrappedIterable() but while specifying flags for the results.
getWrappedIterable() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
getWrappedIterable(int) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
getWrappedIterable() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
getWrappedIterable(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
groupBy(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add "GROUP BY" clause to the SQL query statement.
groupByRaw(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add a raw SQL "GROUP BY" clause to the SQL query statement.
gt(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '>' clause so the column must be greater-than the value.

H

hasColumnName(String) - Method in class com.j256.ormlite.table.TableInfo
Return true if this table information has a field with this columnName as set by DatabaseField.columnName() or the field name if not set.
hashCode() - Method in class com.j256.ormlite.dao.EagerForeignCollection
This is just a call to the hashcode method of the internal results list.
hashCode() - Method in class com.j256.ormlite.dao.LazyForeignCollection
This is just a call to Object.hashCode().
hashCode() - Method in class com.j256.ormlite.field.FieldType
 
hasNext() - Method in class com.j256.ormlite.stmt.SelectIterator
Returns whether or not there are any remaining objects in the table.
hasNextThrow() - Method in class com.j256.ormlite.stmt.SelectIterator
Returns whether or not there are any remaining objects in the table.
having(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add raw SQL "HAVING" clause to the SQL query statement.

I

idEq(ID) - Method in class com.j256.ormlite.stmt.Where
Add a clause where the ID is equal to the argument.
idEq(Dao<OD, ?>, OD) - Method in class com.j256.ormlite.stmt.Where
Add a clause where the ID is from an existing object.
idExists(ID) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
idExists(ID) - Method in interface com.j256.ormlite.dao.Dao
Returns true if an object exists that matches this ID otherwise false.
idExists(ID) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
idField - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
ifExists(DatabaseConnection, ID) - Method in class com.j256.ormlite.stmt.StatementExecutor
 
in(String, Iterable<?>) - Method in class com.j256.ormlite.stmt.Where
Add a IN clause so the column must be equal-to one of the objects from the list passed in.
in(String, Object...) - Method in class com.j256.ormlite.stmt.Where
Add a IN clause so the column must be equal-to one of the objects passed in.
in(String, QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.Where
Add a IN clause which makes sure the column is in one of the columns returned from a sub-query inside of parenthesis.
indexOf(Object) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
info(String) - Method in class com.j256.ormlite.logger.Logger
Log a info message.
info(String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a info message.
info(String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a info message.
info(String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a info message.
info(String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a info message.
info(String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a info message.
info(Throwable, String) - Method in class com.j256.ormlite.logger.Logger
Log a info message with a throwable.
info(Throwable, String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a info message with a throwable.
info(Throwable, String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a info message with a throwable.
info(Throwable, String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a info message with a throwable.
info(Throwable, String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a info message with a throwable.
info(Throwable, String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a info message with a throwable.
initialize() - Method in class com.j256.ormlite.dao.BaseDaoImpl
Initialize the various DAO configurations after the various setters have been called.
initialize() - Method in class com.j256.ormlite.misc.TransactionManager
If you are using the Spring type wiring, this should be called after all of the set methods.
initialize() - Method in class com.j256.ormlite.table.DatabaseTableConfig
Initialize the class if this is being called with Spring.
insert(DatabaseType, DatabaseConnection, T, ObjectCache) - Method in class com.j256.ormlite.stmt.mapped.MappedCreate
Create an object in the database.
insert(String, Object[], FieldType[], GeneratedKeyHolder) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a SQL update while with the associated SQL statement, arguments, and types.
insert(String, Object[], FieldType[], GeneratedKeyHolder) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
IntegerObjectType - Class in com.j256.ormlite.field.types
Type that persists a Integer object.
IntegerObjectType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.IntegerObjectType
 
IntType - Class in com.j256.ormlite.field.types
Type that persists a integer primitive.
IntType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.IntType
Here for others to subclass.
invoke(Object, Method, Object[]) - Method in class com.j256.ormlite.misc.WrappedDatabaseConnection
 
invoke(Object, Method, Object[]) - Method in class com.j256.ormlite.misc.WrappedStatement
 
IOUtils - Class in com.j256.ormlite.misc
Utility class
IOUtils() - Constructor for class com.j256.ormlite.misc.IOUtils
 
isAllowGeneratedIdInsert() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isAllowGeneratedIdInsert() - Method in class com.j256.ormlite.field.FieldType
isAllowGeneratedIdInsertSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isAllowGeneratedIdInsertSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Does the database support the DatabaseField.allowGeneratedIdInsert() setting which allows people to insert values into generated-id columns.
isAllStatementsClosed() - Method in class com.j256.ormlite.misc.WrappedDatabaseConnection
See if all of the wrapped statements have been closed.
isAppropriateId() - Method in interface com.j256.ormlite.field.DataPersister
Return true if this data type can be an id column in a class.
isAppropriateId() - Method in class com.j256.ormlite.field.types.BaseDataType
 
isAppropriateId() - Method in class com.j256.ormlite.field.types.BigDecimalNumericType
 
isAppropriateId() - Method in class com.j256.ormlite.field.types.BigDecimalStringType
 
isAppropriateId() - Method in class com.j256.ormlite.field.types.BooleanObjectType
 
isAppropriateId() - Method in class com.j256.ormlite.field.types.ByteArrayType
 
isAppropriateId() - Method in class com.j256.ormlite.field.types.CurrencyType
 
isAppropriateId() - Method in class com.j256.ormlite.field.types.DateTimeType
 
isAppropriateId() - Method in class com.j256.ormlite.field.types.LongStringType
 
isAppropriateId() - Method in class com.j256.ormlite.field.types.SerializableType
 
isArgumentHolderRequired() - Method in interface com.j256.ormlite.field.DataPersister
Must use ArgumentHolder when querying for values of this type.
isArgumentHolderRequired() - Method in class com.j256.ormlite.field.FieldType
isArgumentHolderRequired() - Method in class com.j256.ormlite.field.types.BaseDataType
 
isArgumentHolderRequired() - Method in class com.j256.ormlite.field.types.ByteArrayType
 
isArgumentHolderRequired() - Method in class com.j256.ormlite.field.types.DateType
 
isArgumentHolderRequired() - Method in class com.j256.ormlite.field.types.SerializableType
 
isArgumentHolderRequired() - Method in class com.j256.ormlite.field.types.StringBytesType
 
isAutoCommit(DatabaseConnection) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
isAutoCommit(DatabaseConnection) - Method in interface com.j256.ormlite.dao.Dao
Return true if the database connection returned by the Dao.startThreadConnection() is in auto-commit mode otherwise false.
isAutoCommit(DatabaseConnection) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
isAutoCommit() - Method in interface com.j256.ormlite.support.DatabaseConnection
Return if auto-commit is currently enabled.
isAutoCommit() - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
isAutoCommitSupported() - Method in interface com.j256.ormlite.support.DatabaseConnection
Return if auto-commit is supported.
isAutoCommitSupported() - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
isAvailable() - Method in enum com.j256.ormlite.logger.LogBackendType
Return true if the log class is available.
isBatchUseTransaction() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isBatchUseTransaction() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if batch operations should be done inside of a transaction.
isCanBeNull() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isCanBeNull() - Method in class com.j256.ormlite.field.FieldType
 
isClosed() - Method in class com.j256.ormlite.misc.WrappedStatement
 
isClosed() - Method in interface com.j256.ormlite.support.DatabaseConnection
Return if the connection has been closed either through a call to AutoCloseable.close() or because of a fatal error.
isClosed() - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
isComparable() - Method in interface com.j256.ormlite.field.DataPersister
Return true if this data type be compared in SQL statements.
isComparable() - Method in class com.j256.ormlite.field.FieldType
isComparable() - Method in class com.j256.ormlite.field.types.BaseDataType
 
isComparable() - Method in class com.j256.ormlite.field.types.SerializableType
 
isCreated() - Method in class com.j256.ormlite.dao.Dao.CreateOrUpdateStatus
 
isCreateIfNotExistsSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isCreateIfNotExistsSupported() - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
isCreateIfNotExistsSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if the table creation IF NOT EXISTS syntax is supported.
isCreateIndexIfNotExistsSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isCreateIndexIfNotExistsSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Does the database support the "CREATE INDEX IF NOT EXISTS" SQL construct.
isCreateSchemaIfNotExistsSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isCreateSchemaIfNotExistsSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Does the database support the "CREATE SCHEMA IF NOT EXISTS" SQL construct.
isCreateSchemaReturnsNegative() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isCreateSchemaReturnsNegative() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if CREATE and DROP SCHEMA statements can return < 0 and still have worked.
isCreateSchemaReturnsZero() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isCreateSchemaReturnsZero() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if a 'CREATE SCHEMA' statement should return 0.
isCreateTableReturnsNegative() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isCreateTableReturnsNegative() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if CREATE and DROP TABLE statements can return < 0 and still have worked.
isCreateTableReturnsZero() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isCreateTableReturnsZero() - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
isCreateTableReturnsZero() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if a 'CREATE TABLE' statement should return 0.
isDatabaseUrlThisType(String, String) - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database URL corresponds to this database type.
isEager() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
isEager() - Method in interface com.j256.ormlite.dao.ForeignCollection
Returns true if this an eager collection otherwise false.
isEager() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
isEmpty() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
isEmpty() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
isEnabled(Level) - Method in enum com.j256.ormlite.logger.Level
Return whether or not a level argument is enabled for this level value.
isEntityNamesMustBeUpCase() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isEntityNamesMustBeUpCase() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if table and field names should be made uppercase.
isEscapedDefaultValue() - Method in interface com.j256.ormlite.field.DataPersister
Return whether this field's default value should be escaped in SQL.
isEscapedDefaultValue() - Method in class com.j256.ormlite.field.FieldType
isEscapedDefaultValue() - Method in class com.j256.ormlite.field.types.BaseDataType
 
isEscapedValue() - Method in interface com.j256.ormlite.field.DataPersister
Return whether we need to escape this value in SQL expressions.
isEscapedValue() - Method in class com.j256.ormlite.field.FieldType
isEscapedValue() - Method in class com.j256.ormlite.field.types.BaseDataType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.BigDecimalNumericType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.BooleanObjectType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.ByteObjectType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.DateIntegerType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.DateLongType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.DateTimeType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.DoubleObjectType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.EnumIntegerType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.FloatObjectType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.IntegerObjectType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.LongObjectType
 
isEscapedValue() - Method in class com.j256.ormlite.field.types.ShortObjectType
 
isEverythingClosed() - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
isForeign() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isForeign() - Method in class com.j256.ormlite.field.FieldType
 
isForeignAutoCreate() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isForeignAutoCreate() - Method in class com.j256.ormlite.field.FieldType
isForeignAutoCreate() - Method in class com.j256.ormlite.table.TableInfo
Return true if one of the fields has DatabaseField.foreignAutoCreate() enabled.
isForeignAutoRefresh() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isForeignCollection() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isForeignCollection() - Method in class com.j256.ormlite.field.FieldType
isForeignCollectionEager() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isForeignCollectionOrderAscending() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isGeneratedId() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isGeneratedId() - Method in class com.j256.ormlite.field.FieldType
Return whether the field is a generated-id field.
isGeneratedIdSequence() - Method in class com.j256.ormlite.field.FieldType
Return whether the field is a generated-id-sequence field.
isId() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isId() - Method in class com.j256.ormlite.field.FieldType
Return whether the field is an id field.
isIdSequenceNeeded() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isIdSequenceNeeded() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database needs a sequence when you use generated IDs.
isIndex() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isJavaxEntity() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.CommonsLoggingLogBackend
 
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.ConsoleLogBackend
 
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.JavaUtilLogBackend
 
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.LocalLogBackend
 
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.Log4j2LogBackend
 
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.Log4jLogBackend
 
isLevelEnabled(Level) - Method in interface com.j256.ormlite.logger.LogBackend
Returns true if the log level argument is enabled meaning that the log messages should be shown.
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.LogbackLogBackend
 
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.Logger
Return if logging level is enabled.
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.NullLogBackend
 
isLevelEnabled(Level) - Method in class com.j256.ormlite.logger.Slf4jLoggingLogBackend
 
isLimitAfterDeleteSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isLimitAfterDeleteSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if LIMIT is supported after the DELETE command.
isLimitAfterSelect() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isLimitAfterSelect() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the LIMIT should be called after SELECT otherwise at the end of the WHERE (the default).
isLimitAfterUpdateSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isLimitAfterUpdateSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if LIMIT is supported after the UPDATE command.
isLimitDeleteAtEndSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isLimitDeleteAtEndSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if LIMIT is supported at the end of the DELETE statement.
isLimitSqlSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isLimitSqlSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database supports the LIMIT SQL command.
isLimitUpdateAtEndSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isLimitUpdateAtEndSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if LIMIT is supported at the end of the UPDATE statement.
isNestedSavePointsSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isNestedSavePointsSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if nested savePoints are supported, otherwise false.
isNotNull(String) - Method in class com.j256.ormlite.stmt.Where
Add a 'IS NOT NULL' clause so the column must not be null.
isNull(String) - Method in class com.j256.ormlite.stmt.Where
Add a 'IS NULL' clause so the column must be null.
isObjectsFieldValueDefault(Object) - Method in class com.j256.ormlite.field.FieldType
Return whether or not the data object has a default value passed for this field of this type.
isOffsetLimitArgument() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isOffsetLimitArgument() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database supports the offset as a comma argument from the limit.
isOffsetSqlSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isOffsetSqlSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database supports the OFFSET SQL command in some form.
isOkForExecute() - Method in enum com.j256.ormlite.stmt.StatementBuilder.StatementType
 
isOkForQuery() - Method in enum com.j256.ormlite.stmt.StatementBuilder.StatementType
 
isOkForStatementBuilder() - Method in enum com.j256.ormlite.stmt.StatementBuilder.StatementType
 
isOkForUpdate() - Method in enum com.j256.ormlite.stmt.StatementBuilder.StatementType
 
isOpen(String) - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
isOpen(String) - Method in interface com.j256.ormlite.support.ConnectionSource
Return true if the connection source is open.
isPersisted() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isPrimitive() - Method in interface com.j256.ormlite.field.DataPersister
Return whether this field is a primitive type or not.
isPrimitive() - Method in class com.j256.ormlite.field.types.BaseDataType
 
isPrimitive() - Method in class com.j256.ormlite.field.types.BooleanType
 
isPrimitive() - Method in class com.j256.ormlite.field.types.ByteType
 
isPrimitive() - Method in class com.j256.ormlite.field.types.CharType
 
isPrimitive() - Method in class com.j256.ormlite.field.types.DoubleType
 
isPrimitive() - Method in class com.j256.ormlite.field.types.FloatType
 
isPrimitive() - Method in class com.j256.ormlite.field.types.IntType
 
isPrimitive() - Method in class com.j256.ormlite.field.types.LongType
 
isPrimitive() - Method in class com.j256.ormlite.field.types.ShortType
 
isReadOnly() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isReadOnly() - Method in class com.j256.ormlite.field.FieldType
isSavedConnection(DatabaseConnection) - Method in class com.j256.ormlite.support.BaseConnectionSource
Return true if the connection being released is the one that has been saved.
isSelectSequenceBeforeInsert() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isSelectSequenceBeforeInsert() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if we have to select the value of the sequence before we insert a new data row.
isSelfGeneratedId() - Method in interface com.j256.ormlite.field.DataPersister
Return true if this type creates its own generated ids else false to have the database do it.
isSelfGeneratedId() - Method in class com.j256.ormlite.field.FieldType
isSelfGeneratedId() - Method in class com.j256.ormlite.field.types.BaseDataType
 
isSelfGeneratedId() - Method in class com.j256.ormlite.field.types.UuidType
 
isSequenceNamesMustBeLowerCase() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isSequenceNamesMustBeLowerCase() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if the sequence names need to be lowercased.
isSingleConnection(String) - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
isSingleConnection(DatabaseConnection, DatabaseConnection) - Method in class com.j256.ormlite.support.BaseConnectionSource
Return true if the two connections seem to one one connection under the covers.
isSingleConnection(String) - Method in interface com.j256.ormlite.support.ConnectionSource
Return true if there is only one connection to the database being used by this connection-sourse.
isStreamType() - Method in class com.j256.ormlite.field.BaseFieldConverter
 
isStreamType() - Method in interface com.j256.ormlite.field.FieldConverter
Return whether or not this is a SQL "stream" object.
isStreamType() - Method in class com.j256.ormlite.field.types.SerializableType
 
isTableExists() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
isTableExists() - Method in interface com.j256.ormlite.dao.Dao
Returns true if the table already exists otherwise false.
isTableExists() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
isTableExists(String) - Method in interface com.j256.ormlite.support.DatabaseConnection
Return true if the table exists in the database.
isTableExists(String) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
isThrowIfNull() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isTruncateSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isTruncateSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Returns true if the table truncate operation is supported.
isUnique() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isUnique() - Method in class com.j256.ormlite.field.FieldType
 
isUniqueCombo() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isUniqueCombo() - Method in class com.j256.ormlite.field.FieldType
 
isUniqueIndex() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isUpdatable() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
isUpdatable() - Method in interface com.j256.ormlite.dao.Dao
Returns true if we can call update on this class.
isUpdatable() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
isUpdatable() - Method in class com.j256.ormlite.table.TableInfo
Return true if we can update this object via its ID.
isUpdated() - Method in class com.j256.ormlite.dao.Dao.CreateOrUpdateStatus
 
isUseGetSet() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isValidForField(Field) - Method in interface com.j256.ormlite.field.DataPersister
Return true if the field is appropriate for this persister otherwise false.
isValidForField(Field) - Method in class com.j256.ormlite.field.types.BaseDataType
 
isValidForField(Field) - Method in class com.j256.ormlite.field.types.BaseDateType
 
isValidForField(Field) - Method in class com.j256.ormlite.field.types.BaseEnumType
 
isValidForField(Field) - Method in class com.j256.ormlite.field.types.SerializableType
 
isValidForField(Field) - Method in class com.j256.ormlite.field.types.SqlDateStringType
 
isValidForField(Field) - Method in class com.j256.ormlite.field.types.SqlDateType
 
isValidForField(Field) - Method in class com.j256.ormlite.field.types.TimeStampStringType
 
isValidForField(Field) - Method in class com.j256.ormlite.field.types.TimeStampType
 
isValidForField(Field) - Method in class com.j256.ormlite.field.types.VoidType
 
isValidForVersion() - Method in interface com.j256.ormlite.field.DataPersister
Return true if this is a valid field for the DatabaseField.version().
isValidForVersion() - Method in class com.j256.ormlite.field.types.BaseDataType
 
isValidForVersion() - Method in class com.j256.ormlite.field.types.BaseDateType
 
isValidForVersion() - Method in class com.j256.ormlite.field.types.BigIntegerType
 
isValidForVersion() - Method in class com.j256.ormlite.field.types.DateTimeType
 
isValidForVersion() - Method in class com.j256.ormlite.field.types.IntegerObjectType
 
isValidForVersion() - Method in class com.j256.ormlite.field.types.LongObjectType
 
isValidForVersion() - Method in class com.j256.ormlite.field.types.ShortObjectType
 
isValidGeneratedType() - Method in interface com.j256.ormlite.field.DataPersister
Return true if this type can be auto-generated by the database.
isValidGeneratedType() - Method in class com.j256.ormlite.field.types.BaseDataType
 
isValidGeneratedType() - Method in class com.j256.ormlite.field.types.BigIntegerType
 
isValidGeneratedType() - Method in class com.j256.ormlite.field.types.IntegerObjectType
 
isValidGeneratedType() - Method in class com.j256.ormlite.field.types.LongObjectType
 
isValidGeneratedType() - Method in class com.j256.ormlite.field.types.UuidType
 
isValueSet() - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
Return true if the value is set.
isValueSet() - Method in class com.j256.ormlite.stmt.SelectArg
 
isValueSet() - Method in class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
isVarcharFieldWidthSupported() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
isVarcharFieldWidthSupported() - Method in class com.j256.ormlite.db.BaseSqliteDatabaseType
 
isVarcharFieldWidthSupported() - Method in interface com.j256.ormlite.db.DatabaseType
Return true if the database supports the width parameter on VARCHAR fields.
isVersion() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
isVersion() - Method in class com.j256.ormlite.field.FieldType
iterator() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
iterator(int) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
iterator(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
iterator(PreparedQuery<T>, int) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
iterator() - Method in class com.j256.ormlite.dao.CloseableWrappedIterableImpl
 
iterator() - Method in interface com.j256.ormlite.dao.Dao
This satisfies the Iterable interface for the class and allows you to iterate through the objects in the table using SQL.
iterator(int) - Method in interface com.j256.ormlite.dao.Dao
Same as Dao.iterator() but while specifying flags for the results.
iterator(PreparedQuery<T>) - Method in interface com.j256.ormlite.dao.Dao
Same as Dao.iterator() but with a prepared query parameter.
iterator(PreparedQuery<T>, int) - Method in interface com.j256.ormlite.dao.Dao
Same as Dao.iterator(PreparedQuery) but while specifying flags for the results.
iterator() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
iterator(int) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
iterator(int) - Method in interface com.j256.ormlite.dao.ForeignCollection
Like Collection.iterator() but while specifying flags for the results.
iterator() - Method in class com.j256.ormlite.dao.LazyForeignCollection
The iterator returned from a lazy collection keeps a connection open to the database as it iterates across the collection.
iterator(int) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
iterator() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
iterator(int) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
iterator(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
iterator(PreparedQuery<T>, int) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
iterator() - Method in class com.j256.ormlite.stmt.QueryBuilder
iterator() - Method in class com.j256.ormlite.stmt.RawResultsImpl
 
iterator() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling QueryBuilder.iterator().
iteratorThrow() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
iteratorThrow(int) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
iteratorThrow() - Method in interface com.j256.ormlite.dao.ForeignCollection
Like Collection.iterator() but returns a closeable iterator instead and can throw a SQLException.
iteratorThrow(int) - Method in interface com.j256.ormlite.dao.ForeignCollection
Like ForeignCollection.iteratorThrow() but while specifying flags for the results.
iteratorThrow() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
iteratorThrow(int) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 

J

javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.BaseFieldConverter
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.converter.BooleanNumberFieldConverter
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.converter.CharacterCompatFieldConverter
 
javaToSqlArg(FieldType, Object) - Method in interface com.j256.ormlite.field.FieldConverter
Convert a Java object and return the appropriate argument to a SQL insert or update statement.
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.BigDecimalStringType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.BigIntegerType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.BooleanCharType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.BooleanIntegerType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.CharType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.CurrencyType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.DateIntegerType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.DateLongType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.DateStringType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.DateTimeType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.DateType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.EnumIntegerType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.EnumStringType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.SerializableType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.SqlDateStringType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.SqlDateType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.StringBytesType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.TimeStampStringType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.TimeStampType
 
javaToSqlArg(FieldType, Object) - Method in class com.j256.ormlite.field.types.UuidType
 
JavaUtilLogBackend - Class in com.j256.ormlite.logger
Log backend that writes to java.util.log.
JavaUtilLogBackend(String) - Constructor for class com.j256.ormlite.logger.JavaUtilLogBackend
 
JavaUtilLogBackend.JavaUtilLogBackendFactory - Class in com.j256.ormlite.logger
Factory for generating JavaUtilLogBackend instances.
JavaUtilLogBackendFactory() - Constructor for class com.j256.ormlite.logger.JavaUtilLogBackend.JavaUtilLogBackendFactory
 
JavaxPersistenceConfigurer - Interface in com.j256.ormlite.misc
Interface that allows us to load and process javax.persistance annotations only if available.
JavaxPersistenceImpl - Class in com.j256.ormlite.misc
Class for isolating the detection of the javax.persistence annotations.
JavaxPersistenceImpl() - Constructor for class com.j256.ormlite.misc.JavaxPersistenceImpl
 
join(QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.QueryBuilder
Join with another query builder.
join(QueryBuilder<?, ?>, QueryBuilder.JoinType, QueryBuilder.JoinWhereOperation) - Method in class com.j256.ormlite.stmt.QueryBuilder
Like QueryBuilder.join(QueryBuilder) but allows you to specify the join type and the operation used to combine the WHERE statements.
join(String, String, QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.QueryBuilder
Similar to QueryBuilder.join(QueryBuilder) but this allows you to link two tables that share a field of the same type.
join(String, String, QueryBuilder<?, ?>, QueryBuilder.JoinType, QueryBuilder.JoinWhereOperation) - Method in class com.j256.ormlite.stmt.QueryBuilder
Similar to QueryBuilder.join(QueryBuilder, JoinType, JoinWhereOperation) but this allows you to link two tables that share a field of the same type.
joinOr(QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.QueryBuilder
Like QueryBuilder.join(QueryBuilder) but this combines the WHERE statements of two query builders with a SQL "OR".

L

last() - Method in interface com.j256.ormlite.support.DatabaseResults
Moves to the last result.
lastIndexOf(Object) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
lastIterator - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
LazyForeignCollection<T,ID> - Class in com.j256.ormlite.dao
Collection that is set on a field that as been marked with the ForeignCollectionField annotation when an object is refreshed or queried (i.e.
LazyForeignCollection(Dao<T, ID>, Object, Object, FieldType, String, boolean) - Constructor for class com.j256.ormlite.dao.LazyForeignCollection
WARNING: The user should not be calling this constructor.
le(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '<=' clause so the column must be less-than or equals-to the value.
leftJoin(QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.QueryBuilder
Similar to QueryBuilder.join(QueryBuilder) but it will use "LEFT JOIN" instead.
leftJoinOr(QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.QueryBuilder
Like QueryBuilder.leftJoin(QueryBuilder) but this combines the WHERE statements of two query builders with a SQL "OR".
Level - Enum in com.j256.ormlite.logger
Level of log messages being sent.
like(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a LIKE clause so the column must mach the value using '%' patterns.
limit(Long) - Method in class com.j256.ormlite.stmt.DeleteBuilder
Limit the rows affected to maxRows maximum number of rows.
limit(Long) - Method in class com.j256.ormlite.stmt.QueryBuilder
Limit the output to maxRows maximum number of rows.
limit(Long) - Method in class com.j256.ormlite.stmt.UpdateBuilder
Limit the rows affected to maxRows maximum number of rows.
listIterator() - Method in class com.j256.ormlite.dao.EagerForeignCollection
NOTE: changes to the iterator are _not_ replicated to the foreign collection.
listIterator(int) - Method in class com.j256.ormlite.dao.EagerForeignCollection
NOTE: changes to the iterator are _not_ replicated to the foreign collection.
loadDatabaseConfigFromReader(BufferedReader) - Static method in class com.j256.ormlite.table.DatabaseTableConfigLoader
Load in a number of database configuration entries from a buffered reader.
loadDriver() - Method in class com.j256.ormlite.db.BaseDatabaseType
 
loadDriver() - Method in interface com.j256.ormlite.db.DatabaseType
Load the driver class associated with this database so it can wire itself into JDBC.
LOCAL_LOG_FILE_PROPERTY - Static variable in class com.j256.ormlite.logger.LocalLogBackend
 
LOCAL_LOG_LEVEL_PROPERTY - Static variable in class com.j256.ormlite.logger.LocalLogBackend
 
LOCAL_LOG_PROPERTIES_FILE - Static variable in class com.j256.ormlite.logger.LocalLogBackend
 
LocalLogBackend - Class in com.j256.ormlite.logger
Log backend that uses logging classes if they are not available.
LocalLogBackend(String) - Constructor for class com.j256.ormlite.logger.LocalLogBackend
 
LocalLogBackend.LocalLogBackendFactory - Class in com.j256.ormlite.logger
Internal factory for LocalLogBackend instances.
LocalLogBackendFactory() - Constructor for class com.j256.ormlite.logger.LocalLogBackend.LocalLogBackendFactory
 
LocalLogBackendFactory(String) - Constructor for class com.j256.ormlite.logger.LocalLogBackend.LocalLogBackendFactory
 
log(Level, String) - Method in class com.j256.ormlite.logger.CommonsLoggingLogBackend
 
log(Level, String, Throwable) - Method in class com.j256.ormlite.logger.CommonsLoggingLogBackend
 
log(Level, String) - Method in class com.j256.ormlite.logger.ConsoleLogBackend
 
log(Level, String, Throwable) - Method in class com.j256.ormlite.logger.ConsoleLogBackend
 
log(Level, String) - Method in class com.j256.ormlite.logger.JavaUtilLogBackend
 
log(Level, String, Throwable) - Method in class com.j256.ormlite.logger.JavaUtilLogBackend
 
log(Level, String) - Method in class com.j256.ormlite.logger.LocalLogBackend
 
log(Level, String, Throwable) - Method in class com.j256.ormlite.logger.LocalLogBackend
 
log(Level, String) - Method in class com.j256.ormlite.logger.Log4j2LogBackend
 
log(Level, String, Throwable) - Method in class com.j256.ormlite.logger.Log4j2LogBackend
 
log(Level, String) - Method in class com.j256.ormlite.logger.Log4jLogBackend
 
log(Level, String, Throwable) - Method in class com.j256.ormlite.logger.Log4jLogBackend
 
log(Level, String) - Method in interface com.j256.ormlite.logger.LogBackend
Log a message.
log(Level, String, Throwable) - Method in interface com.j256.ormlite.logger.LogBackend
Log a message with a throwable which is guaranteed to not be null.
log(Level, String) - Method in class com.j256.ormlite.logger.LogbackLogBackend
 
log(Level, String, Throwable) - Method in class com.j256.ormlite.logger.LogbackLogBackend
 
log(Level, String) - Method in class com.j256.ormlite.logger.Logger
Log a message at the provided level.
log(Level, String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a message at the provided level.
log(Level, String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a message at the provided level.
log(Level, String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a message at the provided level.
log(Level, String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a message at the provided level.
log(Level, String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a message at the provided level.
log(Level, Throwable, String) - Method in class com.j256.ormlite.logger.Logger
Log a message with a throwable at the provided level.
log(Level, Throwable, String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a message with a throwable at the provided level.
log(Level, Throwable, String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a message with a throwable at the provided level.
log(Level, Throwable, String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a message with a throwable at the provided level.
log(Level, Throwable, String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a message with a throwable at the provided level.
log(Level, Throwable, String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a message with a throwable at the provided level.
log(Level, String) - Method in class com.j256.ormlite.logger.NullLogBackend
 
log(Level, String, Throwable) - Method in class com.j256.ormlite.logger.NullLogBackend
 
log(Level, String) - Method in class com.j256.ormlite.logger.Slf4jLoggingLogBackend
 
log(Level, String, Throwable) - Method in class com.j256.ormlite.logger.Slf4jLoggingLogBackend
 
Log4j2LogBackend - Class in com.j256.ormlite.logger
Log backend that delegates to Apache Log4j2.
Log4j2LogBackend(String) - Constructor for class com.j256.ormlite.logger.Log4j2LogBackend
 
Log4j2LogBackend.Log4j2LogBackendFactory - Class in com.j256.ormlite.logger
Factory for generating Log4j2LogBackend instances.
Log4j2LogBackendFactory() - Constructor for class com.j256.ormlite.logger.Log4j2LogBackend.Log4j2LogBackendFactory
 
Log4jLogBackend - Class in com.j256.ormlite.logger
Log backend that delegates to Apache Log4j.
Log4jLogBackend(String) - Constructor for class com.j256.ormlite.logger.Log4jLogBackend
 
Log4jLogBackend.Log4jLogBackendFactory - Class in com.j256.ormlite.logger
Factory for generating Log4jLogBackend instances.
Log4jLogBackendFactory() - Constructor for class com.j256.ormlite.logger.Log4jLogBackend.Log4jLogBackendFactory
 
LOG_TYPE_SYSTEM_PROPERTY - Static variable in class com.j256.ormlite.logger.LoggerFactory
 
LogBackend - Interface in com.j256.ormlite.logger
Class which fronts various log backend implementations which may or may not be in the classpath.
LogBackendFactory - Interface in com.j256.ormlite.logger
Factory for generating LogBackend instances.
LogBackendType - Enum in com.j256.ormlite.logger
Type of logging backends that are supported.
LogBackendUtil - Class in com.j256.ormlite.logger
Some common utility methods.
LogBackendUtil() - Constructor for class com.j256.ormlite.logger.LogBackendUtil
 
LogbackLogBackend - Class in com.j256.ormlite.logger
Log backend that delegates to logback directly.
LogbackLogBackend(Logger) - Constructor for class com.j256.ormlite.logger.LogbackLogBackend
 
LogbackLogBackend.LogbackLogBackendFactory - Class in com.j256.ormlite.logger
Factory for generating LogbackLogBackend instances.
LogbackLogBackendFactory() - Constructor for class com.j256.ormlite.logger.LogbackLogBackend.LogbackLogBackendFactory
 
logger - Variable in class com.j256.ormlite.db.BaseDatabaseType
 
Logger - Class in com.j256.ormlite.logger
Class which wraps our LogBackend interface and provides {} argument features like slf4j.
Logger(LogBackend) - Constructor for class com.j256.ormlite.logger.Logger
 
logger - Static variable in class com.j256.ormlite.misc.WrappedConnectionSource
 
logger - Static variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
LoggerFactory - Class in com.j256.ormlite.logger
Factory that creates Logger instances.
LongObjectType - Class in com.j256.ormlite.field.types
Type that persists a Long object.
LongObjectType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.LongObjectType
 
LongStringType - Class in com.j256.ormlite.field.types
Persists the String Java class but with more storage in the database.
LongStringType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.LongStringType
Here for others to subclass.
LongType - Class in com.j256.ormlite.field.types
Type that persists a long primitive.
LongType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.LongType
Here for others to subclass.
lookupDao(ConnectionSource, Class<T>) - Static method in class com.j256.ormlite.dao.DaoManager
Helper method to lookup a DAO if it has already been associated with the class.
lookupDao(ConnectionSource, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.dao.DaoManager
Helper method to lookup a DAO if it has already been associated with the table-config.
lookupForField(Field) - Static method in class com.j256.ormlite.field.DataPersisterManager
Lookup the data-type associated with the class.
LruObjectCache - Class in com.j256.ormlite.dao
Cache for ORMLite which stores a certain number of items for each Class.
LruObjectCache(int) - Constructor for class com.j256.ormlite.dao.LruObjectCache
 
lt(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '<' clause so the column must be less-than the value.

M

makeConfigObject(FieldType) - Method in class com.j256.ormlite.field.BaseFieldConverter
 
makeConfigObject(FieldType) - Method in class com.j256.ormlite.field.converter.CharacterCompatFieldConverter
 
makeConfigObject(FieldType) - Method in interface com.j256.ormlite.field.FieldConverter
This makes a configuration object for the data-type or returns null if none.
makeConfigObject(FieldType) - Method in class com.j256.ormlite.field.types.BooleanCharType
 
makeConfigObject(FieldType) - Method in class com.j256.ormlite.field.types.DateStringType
 
makeConfigObject(FieldType) - Method in class com.j256.ormlite.field.types.EnumIntegerType
 
makeConfigObject(FieldType) - Method in class com.j256.ormlite.field.types.EnumStringType
 
makeSoftCache() - Static method in class com.j256.ormlite.dao.ReferenceObjectCache
Create and return an object cache using SoftReference.
makeWeakCache() - Static method in class com.j256.ormlite.dao.ReferenceObjectCache
Create and return an object cache using WeakReference.
MappedCreate<T,ID> - Class in com.j256.ormlite.stmt.mapped
A mapped statement for creating a new instance of an object.
MappedDelete<T,ID> - Class in com.j256.ormlite.stmt.mapped
A mapped statement for deleting an object.
MappedDeleteCollection<T,ID> - Class in com.j256.ormlite.stmt.mapped
A mapped statement for deleting objects that correspond to a collection of IDs.
MappedPreparedStmt<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement used by the StatementBuilder.prepareStatement(Long, boolean) method.
MappedPreparedStmt(Dao<T, ID>, TableInfo<T, ID>, String, FieldType[], FieldType[], ArgumentHolder[], Long, StatementBuilder.StatementType, boolean) - Constructor for class com.j256.ormlite.stmt.mapped.MappedPreparedStmt
 
MappedQueryForFieldEq<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement for querying for an object by a single field.
MappedQueryForFieldEq(Dao<T, ID>, TableInfo<T, ID>, String, FieldType[], FieldType[], String) - Constructor for class com.j256.ormlite.stmt.mapped.MappedQueryForFieldEq
 
MappedRefresh<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement for refreshing the fields in an object.
MappedUpdate<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement for updating an object.
MappedUpdateId<T,ID> - Class in com.j256.ormlite.stmt.mapped
Mapped statement for updating an object's ID field.
mapRow(DatabaseResults) - Method in interface com.j256.ormlite.dao.DatabaseResultsMapper
Map the row with the raw DatabaseResults object.
mapRow(String[], String[]) - Method in interface com.j256.ormlite.dao.RawRowMapper
Used to convert a raw results row to an object.
mapRow(String[], DataType[], Object[]) - Method in interface com.j256.ormlite.dao.RawRowObjectMapper
Used to convert a raw results row to an object.
mapRow(DatabaseResults) - Method in interface com.j256.ormlite.stmt.GenericRowMapper
Used to convert a results row to an object.
mapRow(DatabaseResults) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedQuery
 
mapRow(String[], String[]) - Method in class com.j256.ormlite.stmt.RawRowMapperImpl
 
mapRow(DatabaseResults) - Method in class com.j256.ormlite.stmt.StatementExecutor
 
mapSelectStarRow(DatabaseResults) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
mapSelectStarRow(DatabaseResults) - Method in interface com.j256.ormlite.dao.Dao
Return the latest row from the database results from a query to select * (star).
mapSelectStarRow(DatabaseResults) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
MORE_THAN_ONE - Static variable in interface com.j256.ormlite.support.DatabaseConnection
moveAbsolute(int) - Method in interface com.j256.ormlite.dao.CloseableIterator
Move to an absolute position in the list and return that result or null if none.
moveAbsolute(int) - Method in class com.j256.ormlite.stmt.SelectIterator
 
moveAbsolute(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Moves to an absolute position in the list of results.
moveRelative(int) - Method in interface com.j256.ormlite.dao.CloseableIterator
Move a relative position in the list and return that result or null if none.
moveRelative(int) - Method in class com.j256.ormlite.stmt.SelectIterator
 
moveRelative(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Moves forward (positive value) or backwards (negative value) the list of results.
moveToNext() - Method in interface com.j256.ormlite.dao.CloseableIterator
Move to the next item in the iterator without calling Iterator.next().
moveToNext() - Method in class com.j256.ormlite.stmt.SelectIterator
 
moveToNextValue(Object) - Method in interface com.j256.ormlite.field.DataPersister
Move the current-value to the next value.
moveToNextValue(Object) - Method in class com.j256.ormlite.field.FieldType
Move the SQL value to the next one for version processing.
moveToNextValue(Object) - Method in class com.j256.ormlite.field.types.BaseDataType
Move the current-value to the next value.
moveToNextValue(Object) - Method in class com.j256.ormlite.field.types.BaseDateType
 
moveToNextValue(Object) - Method in class com.j256.ormlite.field.types.BigIntegerType
 
moveToNextValue(Object) - Method in class com.j256.ormlite.field.types.DateTimeType
 
moveToNextValue(Object) - Method in class com.j256.ormlite.field.types.IntegerObjectType
 
moveToNextValue(Object) - Method in class com.j256.ormlite.field.types.LongObjectType
 
moveToNextValue(Object) - Method in class com.j256.ormlite.field.types.ShortObjectType
 
moveToNextValue(Object) - Method in class com.j256.ormlite.field.types.TimeStampStringType
 
moveToNextValue(Object) - Method in class com.j256.ormlite.field.types.TimeStampType
 

N

NativeUuidType - Class in com.j256.ormlite.field.types
Type that persists a UUID object but as a UUID type which is supported by a couple of database-types.
NativeUuidType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.NativeUuidType
Here for others to subclass.
ne(String, Object) - Method in class com.j256.ormlite.stmt.Where
Add a '<>' clause so the column must be not-equal-to the value.
next() - Method in class com.j256.ormlite.stmt.SelectIterator
Returns the next object in the table.
next() - Method in interface com.j256.ormlite.support.DatabaseResults
Moves to the next result.
nextForceOkay - Variable in class com.j256.ormlite.misc.WrappedConnectionSource
 
nextThrow() - Method in interface com.j256.ormlite.dao.CloseableIterator
Returns the Iterator.next() object in the table or null if none.
nextThrow() - Method in class com.j256.ormlite.stmt.SelectIterator
 
NO_MAX_FOREIGN_AUTO_REFRESH_LEVEL_SPECIFIED - Static variable in class com.j256.ormlite.field.DatabaseFieldConfig
 
normalizeDateString(DateStringFormatConfig, String) - Static method in class com.j256.ormlite.field.types.BaseDateType
 
not() - Method in class com.j256.ormlite.stmt.Where
Used to NOT the next clause specified.
not(Where<T, ID>) - Method in class com.j256.ormlite.stmt.Where
Used to NOT the argument clause specified.
notifyChanges() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
notifyChanges() - Method in interface com.j256.ormlite.dao.Dao
Notify any registered Dao.DaoObservers that the underlying data may have changed.
notifyChanges() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
notIn(String, Iterable<?>) - Method in class com.j256.ormlite.stmt.Where
Same as Where.in(String, Iterable) except with a NOT IN clause.
notIn(String, Object...) - Method in class com.j256.ormlite.stmt.Where
Same as Where.in(String, Object...) except with a NOT IN clause.
notIn(String, QueryBuilder<?, ?>) - Method in class com.j256.ormlite.stmt.Where
Same as Where.in(String, QueryBuilder) except with a NOT IN clause.
NullArgHolder - Class in com.j256.ormlite.stmt
An argument to a select SQL statement for null arguments.
NullArgHolder() - Constructor for class com.j256.ormlite.stmt.NullArgHolder
 
NullLogBackend - Class in com.j256.ormlite.logger
Log backend that ignores all log requests.
NullLogBackend() - Constructor for class com.j256.ormlite.logger.NullLogBackend
 
NullLogBackend.NullLogBackendFactory - Class in com.j256.ormlite.logger
Factory for generating NullLogBackend instances.
NullLogBackendFactory() - Constructor for class com.j256.ormlite.logger.NullLogBackend.NullLogBackendFactory
 

O

ObjectCache - Interface in com.j256.ormlite.dao
Definition of an object cache that can be injected into the Dao with the Dao.setObjectCache(ObjectCache).
objectFactory - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
ObjectFactory<T> - Interface in com.j256.ormlite.table
Interface that allows you to inject a factory class that creates objects of this class.
objectsEqual(T, T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
objectsEqual(T, T) - Method in interface com.j256.ormlite.dao.Dao
Return true if the two parameters are equal.
objectsEqual(T, T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
objectsEqual(T) - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.objectsEqual(Object, Object).
objectToString(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
objectToString(T) - Method in interface com.j256.ormlite.dao.Dao
Return the string version of the object with each of the known field values shown.
objectToString(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
objectToString() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.objectToString(Object).
objectToString(T) - Method in class com.j256.ormlite.table.TableInfo
Return a string representation of the object.
offset(Long) - Method in class com.j256.ormlite.stmt.QueryBuilder
Start the output at this row number.
onChange() - Method in interface com.j256.ormlite.dao.Dao.DaoObserver
Called when entities possibly have changed in the DAO.
openLogFile(String) - Static method in class com.j256.ormlite.logger.LocalLogBackend
Reopen the associated static logging stream.
or() - Method in class com.j256.ormlite.stmt.Where
OR operation which takes the previous clause and the next clause and OR's them together.
or(Where<T, ID>, Where<T, ID>) - Method in class com.j256.ormlite.stmt.Where
OR operation which takes 2 arguments and OR's them together.
or(Where<T, ID>, Where<T, ID>, Where<T, ID>...) - Method in class com.j256.ormlite.stmt.Where
OR operation which takes 2 (or more) arguments and OR's them together.
or(int) - Method in class com.j256.ormlite.stmt.Where
This method needs to be used carefully.
orderBy(String, boolean) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add "ORDER BY" clause to the SQL query statement.
orderByNullsFirst(String, boolean) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add "ORDER BY" clause to the SQL query statement with a column-name and ascending (if true) with a NULLS FIRST qualifier.
orderByNullsLast(String, boolean) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add "ORDER BY" clause to the SQL query statement with a column-name and ascending (if true) with a NULLS LAST qualifier.
orderByRaw(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add raw SQL "ORDER BY" clause to the SQL query statement.
orderByRaw(String, ArgumentHolder...) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add raw SQL "ORDER BY" clause to the SQL query statement.

P

parseDateString(DateStringFormatConfig, String) - Static method in class com.j256.ormlite.field.types.BaseDateType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.converter.BooleanNumberFieldConverter
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.converter.CharacterCompatFieldConverter
 
parseDefaultString(FieldType, String) - Method in interface com.j256.ormlite.field.FieldConverter
Convert a default string object and return the appropriate argument to a SQL insert or update statement.
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.BigDecimalNumericType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.BigDecimalStringType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.BigIntegerType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.BooleanCharType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.BooleanIntegerType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.BooleanObjectType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.ByteArrayType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.ByteObjectType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.CharacterObjectType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.CurrencyType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.DateIntegerType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.DateLongType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.DateStringType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.DateTimeType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.DateType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.DoubleObjectType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.EnumIntegerType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.EnumStringType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.FloatObjectType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.IntegerObjectType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.LongObjectType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.SerializableType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.ShortObjectType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.StringBytesType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.StringType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.UuidType
 
parseDefaultString(FieldType, String) - Method in class com.j256.ormlite.field.types.VoidType
 
postProcess() - Method in class com.j256.ormlite.field.DatabaseFieldConfig
Process the settings when we are going to consume them.
prepare() - Method in class com.j256.ormlite.stmt.DeleteBuilder
Build and return a prepared delete that can be used by Dao.delete(PreparedDelete) method.
prepare() - Method in class com.j256.ormlite.stmt.QueryBuilder
Build and return a prepared query that can be used by Dao.query(PreparedQuery) or Dao.iterator(PreparedQuery) methods.
prepare() - Method in class com.j256.ormlite.stmt.UpdateBuilder
Build and return a prepared update that can be used by Dao.update(PreparedUpdate) method.
prepare() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling QueryBuilder.prepare().
PreparedDelete<T> - Interface in com.j256.ormlite.stmt
Interface returned by the DeleteBuilder.prepare() which supports custom DELETE statements.
PreparedQuery<T> - Interface in com.j256.ormlite.stmt
Interface returned by the QueryBuilder.prepare() which supports custom SELECT queries.
PreparedStmt<T> - Interface in com.j256.ormlite.stmt
Parent interface for the PreparedQuery, PreparedUpdate, and PreparedDelete interfaces.
PreparedUpdate<T> - Interface in com.j256.ormlite.stmt
Interface returned by the UpdateBuilder.prepare() which supports custom UPDATE statements.
prepareStatement(Long, boolean) - Method in class com.j256.ormlite.stmt.StatementBuilder
Prepare our statement for the subclasses.
prepareStatementInfo() - Method in class com.j256.ormlite.stmt.StatementBuilder
Build and return all of the information about the prepared statement.
prepareStatementString() - Method in class com.j256.ormlite.stmt.StatementBuilder
Build and return a string version of the query.
previous() - Method in interface com.j256.ormlite.dao.CloseableIterator
Moves to the previous result and return it or null if none.
previous() - Method in class com.j256.ormlite.stmt.SelectIterator
 
previous() - Method in interface com.j256.ormlite.support.DatabaseResults
Moves to the previous result.
put(Class<T>, ID, T) - Method in class com.j256.ormlite.dao.LruObjectCache
 
put(Class<T>, ID, T) - Method in interface com.j256.ormlite.dao.ObjectCache
Put an object in the cache that has a certain class and id.
put(Class<T>, ID, T) - Method in class com.j256.ormlite.dao.ReferenceObjectCache
 

Q

query(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
query(PreparedQuery<T>) - Method in interface com.j256.ormlite.dao.Dao
Query for the items in the object table which match the prepared query.
query(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
query() - Method in class com.j256.ormlite.stmt.QueryBuilder
A short cut to Dao.query(PreparedQuery).
query(ConnectionSource, PreparedStmt<T>, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a list of all of the data in the table that matches the PreparedStmt.
query() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling QueryBuilder.query().
queryBuilder() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryBuilder() - Method in interface com.j256.ormlite.dao.Dao
Create and return a new query builder object which allows you to build a custom SELECT statement.
queryBuilder() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
QueryBuilder<T,ID> - Class in com.j256.ormlite.stmt
Assists in building sql query (SELECT) statements for a particular table in a particular database.
QueryBuilder(DatabaseType, TableInfo<T, ID>, Dao<T, ID>) - Constructor for class com.j256.ormlite.stmt.QueryBuilder
 
queryBuilder() - Method in class com.j256.ormlite.stmt.Where
Returns the QueryBuilder used to create this Where, if present
QueryBuilder.InternalQueryBuilderWrapper - Class in com.j256.ormlite.stmt
Internal class used to expose methods to internal classes but through a wrapper instead of a builder.
QueryBuilder.JoinType - Enum in com.j256.ormlite.stmt
Type of the JOIN that we are adding.
QueryBuilder.JoinWhereOperation - Enum in com.j256.ormlite.stmt
When we are combining WHERE statements from the two joined query-builders, this determines the operator to use to do so.
queryForAll() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForAll() - Method in interface com.j256.ormlite.dao.Dao
Query for all of the items in the object table.
queryForAll() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryForAll(ConnectionSource, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a list of all of the data in the table.
queryForCountStar(DatabaseConnection) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a long value which is the number of rows in the table.
queryForEq(String, Object) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForEq(String, Object) - Method in interface com.j256.ormlite.dao.Dao
Query for the items in the object table that match a simple where with a single field = value type of WHERE clause.
queryForEq(String, Object) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryForFieldValues(Map<String, Object>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForFieldValues(Map<String, Object>) - Method in interface com.j256.ormlite.dao.Dao
Query for the rows in the database that matches all of the field to value entries from the map passed in.
queryForFieldValues(Map<String, Object>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryForFieldValuesArgs(Map<String, Object>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForFieldValuesArgs(Map<String, Object>) - Method in interface com.j256.ormlite.dao.Dao
Same as Dao.queryForFieldValues(Map) but this uses SelectArg and SQL ? arguments.
queryForFieldValuesArgs(Map<String, Object>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryForFirst(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForFirst() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForFirst(PreparedQuery<T>) - Method in interface com.j256.ormlite.dao.Dao
Query for and return the first item in the object table which matches the PreparedQuery.
queryForFirst() - Method in interface com.j256.ormlite.dao.Dao
Query for the first entry in the table returning null if none.
queryForFirst(PreparedQuery<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryForFirst() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryForFirst() - Method in class com.j256.ormlite.stmt.QueryBuilder
queryForFirst(DatabaseConnection, PreparedStmt<T>, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return the first object that matches the PreparedStmt or null if none.
queryForFirst() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling QueryBuilder.queryForFirst().
queryForId(ID) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForId(ID) - Method in interface com.j256.ormlite.dao.Dao
Retrieves an object associated with a specific ID.
queryForId(ID) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryForId(DatabaseConnection, ID, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return the object associated with the id or null if none.
queryForLong(DatabaseConnection, PreparedStmt<T>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a long value from a prepared query.
queryForLong(DatabaseConnection, String, String[]) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a long from a raw query with String[] arguments.
queryForLong(String) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a query whose result should be a single long-integer value.
queryForLong(String, Object[], FieldType[]) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a query whose result should be a single long-integer value.
queryForLong(String) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
queryForLong(String, Object[], FieldType[]) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
queryForMatching(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForMatching(T) - Method in interface com.j256.ormlite.dao.Dao
Query for the rows in the database that match the object passed in as a parameter.
queryForMatching(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryForMatchingArgs(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForMatchingArgs(T) - Method in interface com.j256.ormlite.dao.Dao
Same as Dao.queryForMatching(Object) but this uses SelectArg and SQL ? arguments.
queryForMatchingArgs(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryForOne(String, Object[], FieldType[], GenericRowMapper<T>, ObjectCache) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a SQL query with the associated SQL statement, arguments, and types and returns a single result.
queryForOne(String, Object[], FieldType[], GenericRowMapper<T>, ObjectCache) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
queryForSameId(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryForSameId(T) - Method in interface com.j256.ormlite.dao.Dao
Query for a data item in the table that has the same id as the data parameter.
queryForSameId(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryRaw(String, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryRaw(String, RawRowMapper<GR>, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryRaw(String, DataType[], RawRowObjectMapper<UO>, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryRaw(String, DataType[], String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryRaw(String, DatabaseResultsMapper<UO>, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryRaw(String, String...) - Method in interface com.j256.ormlite.dao.Dao
Similar to the Dao.iterator(PreparedQuery) except it returns a GenericRawResults object associated with the SQL select query argument.
queryRaw(String, RawRowMapper<UO>, String...) - Method in interface com.j256.ormlite.dao.Dao
Similar to the Dao.queryRaw(String, String...) but this iterator returns rows that you can map yourself.
queryRaw(String, DataType[], RawRowObjectMapper<UO>, String...) - Method in interface com.j256.ormlite.dao.Dao
Similar to the Dao.queryRaw(String, RawRowMapper, String...) but uses the column-types array to present an array of object results to the mapper instead of strings.
queryRaw(String, DataType[], String...) - Method in interface com.j256.ormlite.dao.Dao
Similar to the Dao.queryRaw(String, String...) but instead of an array of String results being returned by the iterator, this uses the column-types parameter to return an array of Objects instead.
queryRaw(String, DatabaseResultsMapper<UO>, String...) - Method in interface com.j256.ormlite.dao.Dao
Similar to the Dao.queryRaw(String, RawRowMapper, String...) but this iterator returns rows that you can map yourself using DatabaseResultsMapper.
queryRaw(String, String...) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryRaw(String, RawRowMapper<UO>, String...) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryRaw(String, DataType[], RawRowObjectMapper<UO>, String...) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryRaw(String, DataType[], String...) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryRaw(String, DatabaseResultsMapper<UO>, String...) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
queryRaw() - Method in class com.j256.ormlite.stmt.QueryBuilder
queryRaw(ConnectionSource, String, String[], ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a results object associated with an internal iterator that returns String[] results.
queryRaw(ConnectionSource, String, RawRowMapper<UO>, String[], ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a results object associated with an internal iterator is mapped by the user's rowMapper.
queryRaw(ConnectionSource, String, DataType[], RawRowObjectMapper<UO>, String[], ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a results object associated with an internal iterator is mapped by the user's rowMapper.
queryRaw(ConnectionSource, String, DataType[], String[], ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a results object associated with an internal iterator that returns Object[] results.
queryRaw(ConnectionSource, String, DatabaseResultsMapper<UO>, String[], ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return a results object associated with an internal iterator is mapped by the user's rowMapper.
queryRaw() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling QueryBuilder.queryRaw().
queryRawFirst() - Method in class com.j256.ormlite.stmt.QueryBuilder
queryRawFirst() - Method in class com.j256.ormlite.stmt.Where
A short-cut for calling QueryBuilder.queryRawFirst().
queryRawValue(String, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
queryRawValue(String, String...) - Method in interface com.j256.ormlite.dao.Dao
Perform a raw query that returns a single value (usually an aggregate function like MAX or COUNT).
queryRawValue(String, String...) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 

R

raw(String, ArgumentHolder...) - Method in class com.j256.ormlite.stmt.Where
Add a raw statement as part of the where that can be anything that the database supports.
rawComparison(String, String, Object) - Method in class com.j256.ormlite.stmt.Where
Make a comparison where the operator is specified by the caller.
RawResultsImpl<T> - Class in com.j256.ormlite.stmt
Handler for our raw results objects which does the conversion for various different results: String[], Object[], and user defined T.
RawResultsImpl(ConnectionSource, DatabaseConnection, Class<?>, CompiledStatement, GenericRowMapper<T>, ObjectCache) - Constructor for class com.j256.ormlite.stmt.RawResultsImpl
 
RawRowMapper<T> - Interface in com.j256.ormlite.dao
Parameterized row mapper that takes output from the GenericRawResults and returns a T.
RawRowMapperImpl<T,ID> - Class in com.j256.ormlite.stmt
Default row mapper when you are using the Dao.queryRaw(String, RawRowMapper, String...).
RawRowMapperImpl(Dao<T, ID>) - Constructor for class com.j256.ormlite.stmt.RawRowMapperImpl
 
RawRowObjectMapper<T> - Interface in com.j256.ormlite.dao
Parameterized row mapper that takes output from the GenericRawResults and returns a T.
ReferenceObjectCache - Class in com.j256.ormlite.dao
Cache for ORMLite which stores objects with a WeakReference or SoftReference to them.
ReferenceObjectCache(boolean) - Constructor for class com.j256.ormlite.dao.ReferenceObjectCache
 
ReflectionDatabaseConnectionProxyFactory - Class in com.j256.ormlite.support
Database connection proxy factory that uses reflection to create the proxied connection.
ReflectionDatabaseConnectionProxyFactory(Class<? extends DatabaseConnection>) - Constructor for class com.j256.ormlite.support.ReflectionDatabaseConnectionProxyFactory
Takes a proxy-class that will be used to instantiate an instance in ReflectionDatabaseConnectionProxyFactory.createProxy(DatabaseConnection).
refresh(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
refresh(T) - Method in class com.j256.ormlite.dao.BaseForeignCollection
 
refresh(T) - Method in interface com.j256.ormlite.dao.Dao
Does a query for the data parameter's id and copies in each of the field values from the database to refresh the data parameter.
refresh(T) - Method in interface com.j256.ormlite.dao.ForeignCollection
This is a call through to Dao.refresh(Object) using the internal collection DAO.
refresh(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
refresh() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.refresh(Object).
refresh(DatabaseConnection, T, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Does a query for the object's Id and copies in each of the field values from the database to refresh the data parameter.
refreshAll() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
refreshAll() - Method in interface com.j256.ormlite.dao.ForeignCollection
Call to refresh on all of the items currently in the collection with the database.
refreshAll() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
refreshCollection() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
refreshCollection() - Method in interface com.j256.ormlite.dao.ForeignCollection
This re-issues the query that initially built the collection replacing any underlying result collection with a new one build from the database.
refreshCollection() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
registerClass(Class<T>) - Method in class com.j256.ormlite.dao.LruObjectCache
 
registerClass(Class<T>) - Method in interface com.j256.ormlite.dao.ObjectCache
Register a class for use with this class.
registerClass(Class<T>) - Method in class com.j256.ormlite.dao.ReferenceObjectCache
 
registerDao(ConnectionSource, Dao<?, ?>) - Static method in class com.j256.ormlite.dao.DaoManager
Register the DAO with the cache.
registerDaoWithTableConfig(ConnectionSource, Dao<?, ?>) - Static method in class com.j256.ormlite.dao.DaoManager
Same as DaoManager.registerDao(ConnectionSource, Dao) but this allows you to register it just with its DatabaseTableConfig.
registerDataPersisters(DataPersister...) - Static method in class com.j256.ormlite.field.DataPersisterManager
Register a data type with the manager.
registerObserver(Dao.DaoObserver) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
registerObserver(Dao.DaoObserver) - Method in interface com.j256.ormlite.dao.Dao
Register an observer that will be called when data changes for this DAO.
registerObserver(Dao.DaoObserver) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
releaseConnection(DatabaseConnection) - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
releaseConnection(DatabaseConnection) - Method in interface com.j256.ormlite.support.ConnectionSource
releaseSavePoint(Savepoint) - Method in interface com.j256.ormlite.support.DatabaseConnection
Release a savepoint when we reach the end of a transaction but not the most outer one.
releaseSavePoint(Savepoint) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
remove(Object) - Method in class com.j256.ormlite.dao.BaseForeignCollection
Remove the item from the collection and the associated database table.
remove(Object) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
remove(int) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
remove(Object) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
remove(Class<T>, ID) - Method in class com.j256.ormlite.dao.LruObjectCache
 
remove(Class<T>, ID) - Method in interface com.j256.ormlite.dao.ObjectCache
Delete from the cache an object of a certain class that has a certain id.
remove(Class<T>, ID) - Method in class com.j256.ormlite.dao.ReferenceObjectCache
 
remove() - Method in class com.j256.ormlite.stmt.SelectIterator
Removes the last object returned by next() by calling delete on the dao associated with the object.
removeAll(Collection<?>) - Method in class com.j256.ormlite.dao.BaseForeignCollection
Remove the items in the collection argument from the foreign collection and the associated database table.
removeAll(Collection<?>) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
removeAll(Collection<?>) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
removeThrow() - Method in class com.j256.ormlite.stmt.SelectIterator
Removes the last object returned by next() by calling delete on the dao associated with the object.
reset() - Method in class com.j256.ormlite.stmt.DeleteBuilder
 
reset() - Method in class com.j256.ormlite.stmt.QueryBuilder
 
reset() - Method in class com.j256.ormlite.stmt.StatementBuilder
Clear out all of the statement settings so we can reuse the builder.
reset() - Method in class com.j256.ormlite.stmt.UpdateBuilder
 
reset() - Method in class com.j256.ormlite.stmt.Where
Reset the Where object so it can be re-used.
resultsFieldTypes - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedQuery
 
resultStringToJava(FieldType, String, int) - Method in class com.j256.ormlite.field.converter.BooleanNumberFieldConverter
 
resultStringToJava(FieldType, String, int) - Method in class com.j256.ormlite.field.converter.CharacterCompatFieldConverter
 
resultStringToJava(FieldType, String, int) - Method in interface com.j256.ormlite.field.FieldConverter
Convert a string result value to the related Java field.
resultStringToJava(FieldType, String, int) - Method in class com.j256.ormlite.field.types.BaseDataType
 
resultStringToJava(FieldType, String, int) - Method in class com.j256.ormlite.field.types.BooleanCharType
 
resultStringToJava(FieldType, String, int) - Method in class com.j256.ormlite.field.types.BooleanIntegerType
 
resultStringToJava(FieldType, String, int) - Method in class com.j256.ormlite.field.types.ByteArrayType
 
resultStringToJava(FieldType, String, int) - Method in class com.j256.ormlite.field.types.DateStringType
 
resultStringToJava(FieldType, String, int) - Method in class com.j256.ormlite.field.types.SerializableType
 
resultStringToJava(FieldType, String, int) - Method in class com.j256.ormlite.field.types.StringBytesType
 
resultToJava(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.BaseFieldConverter
 
resultToJava(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.converter.CharacterCompatFieldConverter
 
resultToJava(FieldType, DatabaseResults, int) - Method in interface com.j256.ormlite.field.FieldConverter
This is usually just a call that takes the result from FieldConverter.resultToSqlArg(FieldType, DatabaseResults, int) and passes it through FieldConverter.sqlArgToJava(FieldType, Object, int).
resultToJava(DatabaseResults, Map<String, Integer>) - Method in class com.j256.ormlite.field.FieldType
Get the result object from the results.
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.converter.BooleanNumberFieldConverter
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.converter.CharacterCompatFieldConverter
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in interface com.j256.ormlite.field.FieldConverter
Return the SQL argument object extracted from the results associated with column in position columnPos.
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.BigDecimalNumericType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.BigDecimalStringType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.BigIntegerType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.BooleanCharType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.BooleanIntegerType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.BooleanObjectType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.ByteArrayType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.ByteObjectType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.CharacterObjectType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.CurrencyType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.DateIntegerType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.DateLongType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.DateStringType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.DateTimeType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.DateType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.DoubleObjectType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.EnumIntegerType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.EnumStringType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.FloatObjectType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.IntegerObjectType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.LongObjectType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.SerializableType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.ShortObjectType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.StringBytesType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.StringType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.UuidType
 
resultToSqlArg(FieldType, DatabaseResults, int) - Method in class com.j256.ormlite.field.types.VoidType
 
retainAll(Collection<?>) - Method in class com.j256.ormlite.dao.BaseForeignCollection
Uses the iterator to run through the dao and retain only the items that are in the passed in collection.
retainAll(Collection<?>) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
rollBack(DatabaseConnection) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
rollBack(DatabaseConnection) - Method in interface com.j256.ormlite.dao.Dao
If you have previously set auto-commit to false using Dao.setAutoCommit(DatabaseConnection, boolean) then this will roll-back and flush all changes to the database made from that point up to now on the connection returned by the Dao.startThreadConnection() .
rollBack(DatabaseConnection) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
rollback(Savepoint) - Method in interface com.j256.ormlite.support.DatabaseConnection
Roll back all changes since the savepoint was created.
rollback(Savepoint) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
runExecute() - Method in interface com.j256.ormlite.support.CompiledStatement
Run the prepared execute statement returning the number of rows affected.
runQuery(ObjectCache) - Method in interface com.j256.ormlite.support.CompiledStatement
Run the prepared query statement returning the results.
RuntimeExceptionDao<T,ID> - Class in com.j256.ormlite.dao
Proxy to a Dao that wraps each Exception and rethrows it as RuntimeException.
RuntimeExceptionDao(Dao<T, ID>) - Constructor for class com.j256.ormlite.dao.RuntimeExceptionDao
 
runUpdate() - Method in interface com.j256.ormlite.support.CompiledStatement
Run the prepared update statement returning the number of rows affected.

S

saveSpecial(DatabaseConnection) - Method in class com.j256.ormlite.support.BaseConnectionSource
Save this connection as our special connection to be returned by the BaseConnectionSource.getSavedConnection() method.
saveSpecialConnection(DatabaseConnection) - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
saveSpecialConnection(DatabaseConnection) - Method in interface com.j256.ormlite.support.ConnectionSource
Save this connection and return it for all calls to ConnectionSource.getReadOnlyConnection(String) and ConnectionSource.getReadWriteConnection(String) unless the ConnectionSource.clearSpecialConnection(DatabaseConnection) method is called, all This is used by the transaction mechanism since since all operations within a transaction must operate on the same connection.
SchemaUtils - Class in com.j256.ormlite.table
Couple utility methods for the creating, dropping, and maintenance of schemas.
SelectArg - Class in com.j256.ormlite.stmt
An argument to a select SQL statement.
SelectArg() - Constructor for class com.j256.ormlite.stmt.SelectArg
Constructor for when the value will be set later with SelectArg.setValue(Object).
SelectArg(String, Object) - Constructor for class com.j256.ormlite.stmt.SelectArg
This constructor is only necessary if you are using the Where.raw(String, ArgumentHolder...) and similar methods.
SelectArg(SqlType, Object) - Constructor for class com.j256.ormlite.stmt.SelectArg
This constructor is only necessary if you are using the Where.raw(String, ArgumentHolder...) and similar methods.
SelectArg(SqlType) - Constructor for class com.j256.ormlite.stmt.SelectArg
This constructor is only necessary if you are using the Where.raw(String, ArgumentHolder...) and similar methods.
SelectArg(Object) - Constructor for class com.j256.ormlite.stmt.SelectArg
Constructor for when the value is known at time of construction.
selectColumns(String...) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add columns to be returned by the SELECT query.
selectColumns(Iterable<String>) - Method in class com.j256.ormlite.stmt.QueryBuilder
Same as QueryBuilder.selectColumns(String...) except the columns are specified as an iterable -- probably will be a Collection.
SelectIterator<T,ID> - Class in com.j256.ormlite.stmt
Internal iterator so we can page through the class.
SelectIterator(Class<?>, Dao<T, ID>, GenericRowMapper<T>, ConnectionSource, DatabaseConnection, CompiledStatement, ObjectCache) - Constructor for class com.j256.ormlite.stmt.SelectIterator
If the statement parameter is null then this won't log information
selectRaw(String...) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add raw columns or aggregate functions (COUNT, MAX, ...) to the query.
SerializableType - Class in com.j256.ormlite.field.types
Persists an unknown Java Object that is Serializable.
SerializableType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.SerializableType
Here for others to subclass.
set(int, T) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
setAlias(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Add an alias for this table.
setAllowGeneratedIdInsert(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setArgumentHolderValue(int, Object) - Method in class com.j256.ormlite.stmt.mapped.MappedPreparedStmt
 
setArgumentHolderValue(int, Object) - Method in interface com.j256.ormlite.stmt.PreparedStmt
If any argument holder's have been set in this prepared statement then this is a convenience method to be able to set them.
setAutoCommit(DatabaseConnection, boolean) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
setAutoCommit(DatabaseConnection, boolean) - Method in interface com.j256.ormlite.dao.Dao
Set auto-commit mode to be true or false on the connection returned by the Dao.startThreadConnection().
setAutoCommit(DatabaseConnection, boolean) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
setAutoCommit(boolean) - Method in interface com.j256.ormlite.support.DatabaseConnection
Set the auto-commit to be on (true) or off (false).
setAutoCommit(boolean) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
setCanBeNull(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setColumnDefinition(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setColumnName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setConnectionSource(ConnectionSource) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
setConnectionSource(ConnectionSource) - Method in class com.j256.ormlite.misc.TransactionManager
 
setCountOf(boolean) - Method in class com.j256.ormlite.stmt.QueryBuilder
Set whether or not we should only return the count of the results.
setCountOf(String) - Method in class com.j256.ormlite.stmt.QueryBuilder
Set the field that we are counting from the database.
setDao(Dao<T, ID>) - Method in class com.j256.ormlite.misc.BaseDaoEnabled
Set the Dao on the object.
setDatabaseType(DatabaseType) - Method in class com.j256.ormlite.misc.WrappedConnectionSource
 
setDatabaseType(DatabaseType) - Method in class com.j256.ormlite.table.DatabaseTableConfig
Optional setting.
setDataClass(Class<T>) - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
setDataPersister(DataPersister) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
The name is historical.
setDataType(DataType) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setDefaultValue(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setDriver(Driver) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
setDriver(Driver) - Method in interface com.j256.ormlite.db.DatabaseType
Set the driver instance on the database type.
setFieldConfigs(List<DatabaseFieldConfig>) - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
setFieldName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeign(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignAutoCreate(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignAutoRefresh(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignCollection(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignCollectionColumnName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignCollectionEager(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignCollectionForeignFieldName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignCollectionMaxEagerLevel(int) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignCollectionOrderAscending(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignCollectionOrderColumnName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignColumnName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setForeignTableConfig(DatabaseTableConfig<?>) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setFormat(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setFullColumnDefinition(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setGeneratedId(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setGeneratedIdSequence(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setGlobalLogLevel(Level) - Static method in class com.j256.ormlite.logger.Logger
Set the log level for all of the loggers.
setId(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setIndex(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setIndexName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setJavaxEntity(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setLogBackendFactory(LogBackendFactory) - Static method in class com.j256.ormlite.logger.LoggerFactory
Set the log backend factory to be a specific instance.
setLogBackendType(LogBackendType) - Static method in class com.j256.ormlite.logger.LoggerFactory
Set the log backend type to be a specific enum type.
setMaxForeignAutoRefreshLevel(int) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setMaxRows(int) - Method in interface com.j256.ormlite.support.CompiledStatement
Set the number of rows to return in the results.
setMetaInfo(String) - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Used internally by the package to set the column-name associated with this argument.
setMetaInfo(FieldType) - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Used internally by the package to set the fieldType associated with this argument.
setMetaInfo(String, FieldType) - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Used internally by the package to set the column-name and fieldType associated with this argument.
setMetaInfo(String) - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
 
setMetaInfo(FieldType) - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
 
setMetaInfo(String, FieldType) - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
 
setMetaInfo(String) - Method in class com.j256.ormlite.stmt.NullArgHolder
 
setMetaInfo(FieldType) - Method in class com.j256.ormlite.stmt.NullArgHolder
 
setMetaInfo(String, FieldType) - Method in class com.j256.ormlite.stmt.NullArgHolder
 
setObject(int, Object, SqlType) - Method in interface com.j256.ormlite.support.CompiledStatement
Set the parameter specified by the index and type to be an object.
setObjectCache(boolean) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
setObjectCache(ObjectCache) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
setObjectCache(boolean) - Method in interface com.j256.ormlite.dao.Dao
Call this with true to enable an object cache for the DAO.
setObjectCache(ObjectCache) - Method in interface com.j256.ormlite.dao.Dao
Same as Dao.setObjectCache(boolean) except you specify the actual cache instance to use for the DAO.
setObjectCache(boolean) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
setObjectCache(ObjectCache) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
setObjectFactory(ObjectFactory<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
setObjectFactory(ObjectFactory<T>) - Method in interface com.j256.ormlite.dao.Dao
Set an object factory so we can wire in controls over an object when it is constructed.
setObjectFactory(ObjectFactory<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
setParentInformation(Object, Object) - Method in class com.j256.ormlite.stmt.mapped.BaseMappedQuery
If we have a foreign collection object then this sets the value on the foreign object in the class.
setPersisted(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setPersisterClass(Class<? extends DataPersister>) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setQueryTimeout(long) - Method in interface com.j256.ormlite.support.CompiledStatement
Set the query timeout in milliseconds.
setReadOnly(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setSavePoint(String) - Method in interface com.j256.ormlite.support.DatabaseConnection
Start a save point with a certain name.
setSavePoint(String) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
setSchemaName(String) - Method in class com.j256.ormlite.table.DatabaseTableConfig
 
setTableConfig(DatabaseTableConfig<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
Used if you want to configure the class for the Dao by hand or with spring instead of using the DatabaseField annotation in the class.
setTableName(String) - Method in class com.j256.ormlite.table.DatabaseTableConfig
Set the table name.
setThrowIfNull(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUnique(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUniqueCombo(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUniqueIndex(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUniqueIndexName(String) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUnknownEnumValue(Enum<?>) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setUseGetSet(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setValue(Object) - Method in interface com.j256.ormlite.stmt.ArgumentHolder
Set the value associated with this argument.
setValue(Object) - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
 
setValue(Object) - Method in class com.j256.ormlite.stmt.NullArgHolder
 
setValue(Object) - Method in class com.j256.ormlite.stmt.SelectArg
 
setValue(Object) - Method in class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
setVersion(boolean) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
setWhere(Where<T, ID>) - Method in class com.j256.ormlite.stmt.StatementBuilder
Set the Where object on the query.
setWidth(int) - Method in class com.j256.ormlite.field.DatabaseFieldConfig
 
ShortObjectType - Class in com.j256.ormlite.field.types
Type that persists a Short object.
ShortObjectType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.ShortObjectType
 
ShortType - Class in com.j256.ormlite.field.types
Type that persists a short primitive.
ShortType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.ShortType
Here for others to subclass.
shouldPrependTableNameToColumns() - Method in class com.j256.ormlite.stmt.QueryBuilder
 
shouldPrependTableNameToColumns() - Method in class com.j256.ormlite.stmt.StatementBuilder
Return true if we need to prepend table-name to columns.
size() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
size() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
size(Class<T>) - Method in class com.j256.ormlite.dao.LruObjectCache
 
size(Class<T>) - Method in interface com.j256.ormlite.dao.ObjectCache
Return the number of elements in the cache.
size(Class<T>) - Method in class com.j256.ormlite.dao.ReferenceObjectCache
 
sizeAll() - Method in class com.j256.ormlite.dao.LruObjectCache
 
sizeAll() - Method in interface com.j256.ormlite.dao.ObjectCache
Return the number of elements in all of the caches.
sizeAll() - Method in class com.j256.ormlite.dao.ReferenceObjectCache
 
Slf4jLoggingLogBackend - Class in com.j256.ormlite.logger
Log backend that delegates to slf4j.
Slf4jLoggingLogBackend(Logger) - Constructor for class com.j256.ormlite.logger.Slf4jLoggingLogBackend
 
Slf4jLoggingLogBackend.Slf4jLoggingLogBackendFactory - Class in com.j256.ormlite.logger
Factory for generating Slf4jLoggingLogBackend instances.
Slf4jLoggingLogBackendFactory() - Constructor for class com.j256.ormlite.logger.Slf4jLoggingLogBackend.Slf4jLoggingLogBackendFactory
 
spliterator() - Method in class com.j256.ormlite.dao.StreamableLazyForeignCollection
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.BaseFieldConverter
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.converter.BooleanNumberFieldConverter
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.converter.CharacterCompatFieldConverter
 
sqlArgToJava(FieldType, Object, int) - Method in interface com.j256.ormlite.field.FieldConverter
Return the object converted from the SQL arg to java.
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.BigDecimalStringType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.BigIntegerType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.BooleanCharType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.BooleanIntegerType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.CurrencyType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.DateIntegerType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.DateLongType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.DateStringType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.DateTimeType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.DateType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.EnumIntegerType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.EnumStringType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.SerializableType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.SqlDateStringType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.SqlDateType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.StringBytesType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.TimeStampStringType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.TimeStampType
 
sqlArgToJava(FieldType, Object, int) - Method in class com.j256.ormlite.field.types.UuidType
 
SqlDateStringType - Class in com.j256.ormlite.field.types
Type that persists a Date object.
SqlDateStringType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.SqlDateStringType
Here for others to subclass.
SqlDateType - Class in com.j256.ormlite.field.types
Type that persists a Date object.
SqlDateType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.SqlDateType
Here for others to subclass.
SqlType - Enum in com.j256.ormlite.field
The SQL data types that are supported.
startThreadConnection() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
startThreadConnection() - Method in interface com.j256.ormlite.dao.Dao
WARNING: This method is for advanced users only.
startThreadConnection() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
statement - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
StatementBuilder<T,ID> - Class in com.j256.ormlite.stmt
Assists in building of SQL statements for a particular table in a particular database.
StatementBuilder(DatabaseType, TableInfo<T, ID>, Dao<T, ID>, StatementBuilder.StatementType) - Constructor for class com.j256.ormlite.stmt.StatementBuilder
 
StatementBuilder.StatementInfo - Class in com.j256.ormlite.stmt
Class which wraps information about a statement including the arguments and the generated SQL statement string.
StatementBuilder.StatementType - Enum in com.j256.ormlite.stmt
Types of statements that we are building.
StatementBuilder.WhereOperation - Enum in com.j256.ormlite.stmt
Enum which defines which type of where operation we are appending.
statementExecutor - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
StatementExecutor<T,ID> - Class in com.j256.ormlite.stmt
Executes SQL statements for a particular table in a particular database.
StatementExecutor(DatabaseType, TableInfo<T, ID>, Dao<T, ID>) - Constructor for class com.j256.ormlite.stmt.StatementExecutor
Provides statements for various SQL operations.
stream() - Method in class com.j256.ormlite.dao.StreamableLazyForeignCollection
 
StreamableLazyForeignCollection<T,ID> - Class in com.j256.ormlite.dao
Lazy foreign collection that provides better support for Streams if running with JDK8+.
StreamableLazyForeignCollection(Dao<T, ID>, Object, Object, FieldType, String, boolean) - Constructor for class com.j256.ormlite.dao.StreamableLazyForeignCollection
 
StringBytesType - Class in com.j256.ormlite.field.types
Type that persists a String as a byte array.
StringBytesType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.StringBytesType
Here for others to subclass.
StringType - Class in com.j256.ormlite.field.types
Type that persists a String object.
StringType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.StringType
 
StringType(SqlType) - Constructor for class com.j256.ormlite.field.types.StringType
 
subList(int, int) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 

T

tableConfig - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
tableInfo - Variable in class com.j256.ormlite.dao.BaseDaoImpl
 
tableInfo - Variable in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
tableInfo - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
TableInfo<T,ID> - Class in com.j256.ormlite.table
Information about a database table including the associated tableName, class, constructor, and the included fields.
TableInfo(DatabaseType, Class<T>) - Constructor for class com.j256.ormlite.table.TableInfo
Creates a holder of information about a table/class.
TableInfo(DatabaseType, DatabaseTableConfig<T>) - Constructor for class com.j256.ormlite.table.TableInfo
Creates a holder of information about a table/class.
tableName - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
TableUtils - Class in com.j256.ormlite.table
Couple utility methods for the creating, dropping, and maintenance of tables.
ThreadLocalSelectArg - Class in com.j256.ormlite.stmt
Like SelectArg but using a ThreadLocal internally to improve reentrance so that multiple threads can use the same compiled statement.
ThreadLocalSelectArg() - Constructor for class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
ThreadLocalSelectArg(String, Object) - Constructor for class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
ThreadLocalSelectArg(SqlType, Object) - Constructor for class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
ThreadLocalSelectArg(Object) - Constructor for class com.j256.ormlite.stmt.ThreadLocalSelectArg
 
throwableToString(Throwable) - Static method in class com.j256.ormlite.logger.LogBackendUtil
Return a string equivalent to the throwable for logging.
TimeStampStringType - Class in com.j256.ormlite.field.types
Type that persists a Timestamp object as a String.
TimeStampStringType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.TimeStampStringType
Here for others to subclass.
TimeStampType - Class in com.j256.ormlite.field.types
Type that persists a Timestamp object.
TimeStampType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.TimeStampType
Here for others to subclass.
toArray() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
toArray(E[]) - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
toArray() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
toArray(E[]) - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
toList() - Method in class com.j256.ormlite.dao.LazyForeignCollection
Return a list of items from the database.
toString() - Method in class com.j256.ormlite.field.FieldType
 
toString() - Method in class com.j256.ormlite.field.types.DateStringFormatConfig
 
toString() - Method in class com.j256.ormlite.stmt.BaseArgumentHolder
 
toString() - Method in class com.j256.ormlite.stmt.mapped.BaseMappedStatement
 
toString() - Method in class com.j256.ormlite.stmt.Where
 
trace(String) - Method in class com.j256.ormlite.logger.Logger
Log a trace message.
trace(String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a trace message.
trace(String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a trace message.
trace(String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a trace message.
trace(String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a trace message.
trace(String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a trace message.
trace(Throwable, String) - Method in class com.j256.ormlite.logger.Logger
Log a trace message with a throwable.
trace(Throwable, String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a trace message with a throwable.
trace(Throwable, String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a trace message with a throwable.
trace(Throwable, String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a trace message with a throwable.
trace(Throwable, String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a trace message with a throwable.
trace(Throwable, String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a trace message with a throwable.
TransactionManager - Class in com.j256.ormlite.misc
Provides basic transaction support for a ConnectionSource.
TransactionManager() - Constructor for class com.j256.ormlite.misc.TransactionManager
Constructor for Spring type wiring if you are using the set methods.
TransactionManager(ConnectionSource) - Constructor for class com.j256.ormlite.misc.TransactionManager
Constructor for direct java code wiring.
tryAdvance(Consumer<? super T>) - Method in class com.j256.ormlite.dao.CloseableSpliteratorImpl
 
trySplit() - Method in class com.j256.ormlite.dao.CloseableSpliteratorImpl
 
type - Variable in class com.j256.ormlite.stmt.StatementBuilder
 

U

unregisterDao(ConnectionSource, Dao<?, ?>) - Static method in class com.j256.ormlite.dao.DaoManager
Remove a DAO from the cache.
unregisterDaos(ConnectionSource) - Static method in class com.j256.ormlite.dao.DaoManager
Remove all DAOs from the cache for the connection source.
unregisterObserver(Dao.DaoObserver) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
unregisterObserver(Dao.DaoObserver) - Method in interface com.j256.ormlite.dao.Dao
Remove the observer from the registered list.
unregisterObserver(Dao.DaoObserver) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
upCaseEntityName(String) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
upCaseEntityName(String) - Method in interface com.j256.ormlite.db.DatabaseType
Returns the uppercase version of an entity name.
upCaseString(String, boolean) - Method in class com.j256.ormlite.db.BaseDatabaseType
 
upCaseString(String, boolean) - Method in interface com.j256.ormlite.db.DatabaseType
Returns the uppercase version of a string for generating and matching fields and methods.
update(T) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
update(PreparedUpdate<T>) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
update(T) - Method in class com.j256.ormlite.dao.BaseForeignCollection
 
update(T) - Method in interface com.j256.ormlite.dao.Dao
Store the fields from an object to the database row corresponding to the id from the data parameter.
update(PreparedUpdate<T>) - Method in interface com.j256.ormlite.dao.Dao
Update all rows in the table according to the prepared statement parameter.
update(T) - Method in interface com.j256.ormlite.dao.ForeignCollection
This is a call through to Dao.update(Object) using the internal collection DAO.
update(T) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
update(PreparedUpdate<T>) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
update() - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.update(Object).
update(DatabaseConnection, T, ObjectCache) - Method in class com.j256.ormlite.stmt.mapped.MappedUpdate
Update the object in the database.
update(DatabaseConnection, T, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Update an object in the database.
update(DatabaseConnection, PreparedUpdate<T>) - Method in class com.j256.ormlite.stmt.StatementExecutor
Update rows in the database.
update() - Method in class com.j256.ormlite.stmt.UpdateBuilder
update(String, Object[], FieldType[]) - Method in interface com.j256.ormlite.support.DatabaseConnection
Perform a SQL update with the associated SQL statement, arguments, and types.
update(String, Object[], FieldType[]) - Method in class com.j256.ormlite.support.DatabaseConnectionProxy
 
updateAll() - Method in class com.j256.ormlite.dao.EagerForeignCollection
 
updateAll() - Method in interface com.j256.ormlite.dao.ForeignCollection
Update all of the items currently in the collection with the database.
updateAll() - Method in class com.j256.ormlite.dao.LazyForeignCollection
 
updateBuilder() - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
updateBuilder() - Method in interface com.j256.ormlite.dao.Dao
Like Dao.queryBuilder() but allows you to build an UPDATE statement.
updateBuilder() - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
UpdateBuilder<T,ID> - Class in com.j256.ormlite.stmt
Assists in building sql UPDATE statements for a particular table in a particular database.
UpdateBuilder(DatabaseType, TableInfo<T, ID>, Dao<T, ID>) - Constructor for class com.j256.ormlite.stmt.UpdateBuilder
 
updateColumnExpression(String, String) - Method in class com.j256.ormlite.stmt.UpdateBuilder
Add a column to be set to a value for UPDATE statements.
updateColumnValue(String, Object) - Method in class com.j256.ormlite.stmt.UpdateBuilder
Add a column to be set to a value for UPDATE statements.
updateId(T, ID) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
updateId(T, ID) - Method in interface com.j256.ormlite.dao.Dao
Update the data parameter in the database to change its id to the newId parameter.
updateId(Class<T>, ID, ID) - Method in class com.j256.ormlite.dao.LruObjectCache
 
updateId(Class<T>, ID, ID) - Method in interface com.j256.ormlite.dao.ObjectCache
Change the id in the cache for an object of a certain class from an old-id to a new-id.
updateId(Class<T>, ID, ID) - Method in class com.j256.ormlite.dao.ReferenceObjectCache
 
updateId(T, ID) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
updateId(ID) - Method in class com.j256.ormlite.misc.BaseDaoEnabled
A call through to the Dao.updateId(Object, Object).
updateId(DatabaseConnection, T, ID, ObjectCache) - Method in class com.j256.ormlite.stmt.StatementExecutor
Update an object in the database to change its id to the newId parameter.
updateRaw(String, String...) - Method in class com.j256.ormlite.dao.BaseDaoImpl
 
updateRaw(String, String...) - Method in interface com.j256.ormlite.dao.Dao
Run a raw update SQL statement to the database.
updateRaw(String, String...) - Method in class com.j256.ormlite.dao.RuntimeExceptionDao
 
updateRaw(DatabaseConnection, String, String[]) - Method in class com.j256.ormlite.stmt.StatementExecutor
Return the number of rows affected.
UuidType - Class in com.j256.ormlite.field.types
Type that persists a UUID object using a database String.
UuidType(SqlType) - Constructor for class com.j256.ormlite.field.types.UuidType
 
UuidType(SqlType, Class<?>[]) - Constructor for class com.j256.ormlite.field.types.UuidType
Here for others to subclass.

V

valueOf(String) - Static method in enum com.j256.ormlite.field.DataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.field.SqlType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.logger.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.logger.LogBackendType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.stmt.QueryBuilder.JoinType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.stmt.QueryBuilder.JoinWhereOperation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.stmt.StatementBuilder.StatementType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.j256.ormlite.stmt.StatementBuilder.WhereOperation
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.j256.ormlite.field.DataType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.field.SqlType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.logger.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.logger.LogBackendType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.stmt.QueryBuilder.JoinType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.stmt.QueryBuilder.JoinWhereOperation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.stmt.StatementBuilder.StatementType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.j256.ormlite.stmt.StatementBuilder.WhereOperation
Returns an array containing the constants of this enum type, in the order they are declared.
verifyColumnName(String) - Method in class com.j256.ormlite.stmt.StatementBuilder
Verify the columnName is valid and return its FieldType.
VoidType - Class in com.j256.ormlite.field.types
Marker class used to see if we have a customer persister defined.

W

warn(String) - Method in class com.j256.ormlite.logger.Logger
Log a warning message.
warn(String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a warning message.
warn(String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a warning message.
warn(String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a warning message.
warn(String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a warning message.
warn(String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a warning message.
warn(Throwable, String) - Method in class com.j256.ormlite.logger.Logger
Log a warning message with a throwable.
warn(Throwable, String, Object) - Method in class com.j256.ormlite.logger.Logger
Log a warning message with a throwable.
warn(Throwable, String, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a warning message with a throwable.
warn(Throwable, String, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a warning message with a throwable.
warn(Throwable, String, Object, Object, Object, Object) - Method in class com.j256.ormlite.logger.Logger
Log a warning message with a throwable.
warn(Throwable, String, Object[]) - Method in class com.j256.ormlite.logger.Logger
Log a warning message with a throwable.
wasNull(int) - Method in interface com.j256.ormlite.support.DatabaseResults
Returns true if the last object returned with the column index is null.
where - Variable in class com.j256.ormlite.stmt.StatementBuilder
 
where() - Method in class com.j256.ormlite.stmt.StatementBuilder
Creates and returns a new Where object for this QueryBulder that can be used to add WHERE clauses to the SQL statement.
Where<T,ID> - Class in com.j256.ormlite.stmt
Manages the various clauses that make up the WHERE part of a SQL statement.
Where(TableInfo<T, ID>, StatementBuilder<T, ID>, DatabaseType) - Constructor for class com.j256.ormlite.stmt.Where
 
WrappedConnectionSource - Class in com.j256.ormlite.misc
Wrapped connection source that uses proxy objects to track database connections and compiled statements.
WrappedConnectionSource(ConnectionSource) - Constructor for class com.j256.ormlite.misc.WrappedConnectionSource
 
WrappedDatabaseConnection - Class in com.j256.ormlite.misc
A wrapped database connection returned by WrappedConnectionSource.
WrappedDatabaseConnection(DatabaseConnection) - Constructor for class com.j256.ormlite.misc.WrappedDatabaseConnection
 
WrappedStatement - Class in com.j256.ormlite.misc
Wrapped statement so we can ensure we properly close all statements.
WrappedStatement(CompiledStatement) - Constructor for class com.j256.ormlite.misc.WrappedStatement
 
wrappedStatements - Variable in class com.j256.ormlite.misc.WrappedDatabaseConnection
 
write(BufferedWriter, DatabaseFieldConfig, String) - Static method in class com.j256.ormlite.field.DatabaseFieldConfigLoader
Write the configuration to a buffered writer.
write(BufferedWriter, DatabaseTableConfig<T>) - Static method in class com.j256.ormlite.table.DatabaseTableConfigLoader
Write the table configuration to a buffered writer.
writeConfig(BufferedWriter, DatabaseFieldConfig, String) - Static method in class com.j256.ormlite.field.DatabaseFieldConfigLoader
Print the config to the writer.
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.