|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
FieldType and appends the SQL necessary to create the field to the string builder.
DatabaseType classes that provide the per-database type functionality to create
tables and build queries.Date class types.ForeignCollectionField annotation when an
object is refreshed or queried (i.e.BigInteger object.BigInteger object.SelectIterator for the class using a prepared statement.
Callable class inside of a transaction.
TransactionManager.callInTransaction(Callable) except as a static method with a connection source.
TransactionManager.callInTransaction(Callable) except as a static method on a connection.
TransactionManager.callInTransaction(Callable) except as a static method on a connection.
DataPersisterManager.registerDataPersisters(DataPersister...).
Iterable.iterator() method.
CloseableIterator.CloseableIterator but also can be closed itself.Dao.iterator() method.
Collection.iterator() method.
Number object to its primitive object suitable for assigning to an ID field.
Dao.create(Object).
DaoManager.createDao(ConnectionSource, Class)
DaoManager.createDao(ConnectionSource, DatabaseTableConfig)
DaoManager.createDao(ConnectionSource, Class) with the returned DAO wrapped in a
RuntimeExceptionDao.
DaoManager.createDao(ConnectionSource, DatabaseTableConfig) with the returned DAO wrapped
in a RuntimeExceptionDao.
FieldType or null if the field does not have a DatabaseField annotation.
Dao.create(Object) method.
Dao.createOrUpdate(Object) method.DatabaseField annotation or by direct Java or
Spring wiring.DatabaseFieldConfig from a text file/stream.DatabaseField annotation. This annotation was created when we found
performance problems in the Android annotations. We have a work around for these annotations now that
makes them adequately fast. These are causing confusion so we've decided to pull them. Sorry.DatabaseField annotation. This annotation was created when we found
performance problems in the Android annotations. We have a work around for these annotations now that
makes them adequately fast. These are causing confusion so we've decided to pull them. Sorry.DatabaseField annotation. This annotation was created when we found
performance problems in the Android annotations. We have a work around for these annotations now that
makes them adequately fast. These are causing confusion so we've decided to pull them. Sorry.DatabaseField annotation. This annotation was created when we found
performance problems in the Android annotations. We have a work around for these annotations now that
makes them adequately fast. These are causing confusion so we've decided to pull them. Sorry.DatabaseField annotation. This annotation was created when we found
performance problems in the Android annotations. We have a work around for these annotations now that
makes them adequately fast. These are causing confusion so we've decided to pull them. Sorry.DatabaseTable annotation.DatabaseTableConfig from a text file/stream.DataPersister.Date Java class as long milliseconds since epoch.Date object as a String.Date object.Dao.delete(Object).
Dao.queryBuilder() but allows you to build an DELETE statement.
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
ForeignCollectionField annotation when an
object is refreshed or queried (i.e.Object.equals(Object).
UpdateBuilder.updateColumnExpression(String, String), you may need to escape
column names since they may be reserved words to the database.
UpdateBuilder.escapeColumnName(StringBuilder, String) but it will return the escaped string.
UpdateBuilder.updateColumnExpression(String, String), you may need to escape
values since they may be reserved words to the database.
UpdateBuilder.escapeValue(StringBuilder, String) but it will return the escaped string.
Dao.extractId(Object).
DatabaseField annotation and the associated Field in the
class.FieldType.createFieldType(com.j256.ormlite.support.ConnectionSource, java.lang.String, java.lang.reflect.Field, java.lang.Class>) to instantiate one of these field if you have a Field.
ForeignCollectionField annotation when an
object is refreshed or queried (i.e.ForeignCollection field in a class that corresponds to objects in a foreign
table that match the foreign-id of the current class.Field that may have one of the following annotations:
DatabaseField, DatabaseFieldSimple, ForeignCollectionField, or javax.persistence...
BaseDatabaseType.addPrimaryKeySql(com.j256.ormlite.field.FieldType[], java.util.List, java.util.List, java.util.List, java.util.List) method at the end.
DataPersister.generateId()
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[].DatabaseFieldConfig.getColumnDefinition()
DatabaseFieldConfig.getDefaultValue().
FieldType associated with the columnName.
DatabaseField annotations, you need to inject the table
configuration.
FieldType.isGeneratedIdSequence() is false.
StatementBuilder.appendStatementStart(StringBuilder, List) was called.
DatabaseFieldConfig.getUnknownEnumValue().
Dao.getWrappedIterable() but with a prepared query parameter.
DatabaseField.columnName() or the field name if not set.
Object.hashCode().
DatabaseFieldConfig.isAllowGeneratedIdInsert()
DatabaseField.allowGeneratedIdInsert() setting which allows people to
insert values into generated-id columns.
DataPersister.isSelectArgRequired()
DatabaseConnection.close() or because of a fatal error.
DataPersister.isComparable()
DataPersister.isEscapedDefaultValue()
DataPersister.isEscapedValue()
DatabaseFieldConfig.isForeignAutoCreate()
DatabaseField.foreignAutoCreate() enabled.
DatabaseFieldConfig.isForeignCollection()
DataPersister.isSelfGeneratedId()
DatabaseField.version().
DatabaseFieldConfig.isVersion()
Iterable interface for the class and allows you to iterate through the objects in the
table using SQL.
Dao.iterator() but with a prepared query parameter.
QueryBuilder.iterator().
Collection.iterator() but returns a closeable iterator instead and can throw a SQLException.
LazyForeignCollection.iterator() except it throws.
ForeignCollectionField annotation when an
object is refreshed or queried (i.e.QueryBuilder.limit(Long)
Log interface so we can bypass external logging classes if they are not available.Log interface and provides {} argument features like slf4j.Logger instances.String Java class but with more storage in the database.SoftReference.
WeakReference.
StatementBuilder.prepareStatement() method.DatabaseConnection.queryForOne(java.lang.String, java.lang.Object[], com.j256.ormlite.field.FieldType[], com.j256.ormlite.stmt.GenericRowMapper, com.j256.ormlite.dao.ObjectCache) if more than one result was found by the query
Dao.setObjectCache(ObjectCache).Dao.objectsEqual(Object, Object).
Dao.objectToString(Object).
QueryBuilder.offset(Long)
Dao.delete(PreparedDelete) method.
Dao.query(PreparedQuery) or
Dao.iterator(PreparedQuery) methods.
Dao.update(PreparedUpdate) method.
QueryBuilder.prepare().
DeleteBuilder.prepare() which supports custom DELETE statements.QueryBuilder.prepare() which supports custom SELECT queries.PreparedQuery, PreparedUpdate, and PreparedDelete interfaces.UpdateBuilder.prepare() which supports custom UPDATE statements.PreparedStmt.
QueryBuilder.query().
Dao.queryForFieldValues(Map) but this uses SelectArg and SQL ? arguments.
PreparedStmt or null if none.
Dao.queryForMatching(Object) but this uses SelectArg and SQL ? arguments.
Dao.iterator(PreparedQuery) except it returns a GenericRawResults object associated with the
SQL select query argument.
Dao.queryRaw(String, String...) but this iterator returns rows that you can map yourself.
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.
GenericRawResults and returns a T.WeakReference or SoftReference to them.Dao.refresh(Object).
ConnectionSource.getReadOnlyConnection() or
ConnectionSource.getReadWriteConnection().
Dao that wraps each Exception and rethrows it as RuntimeException.BaseConnectionSource.getSavedConnection() method.
ConnectionSource.getReadOnlyConnection() and
ConnectionSource.getReadWriteConnection() 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.
QueryBuilder.selectColumns(String...) except the columns are specified as an iterable -- probably will be a
Collection.
BaseDaoImpl.iterator() except this doesn't set the last iterator which can be closed with the
BaseDaoImpl.closeLastIterator().
BaseDaoImpl.iterator(PreparedQuery) except this doesn't set the last iterator which can be closed with the
BaseDaoImpl.closeLastIterator().
LazyForeignCollection.iteratorThrow() except this doesn't set the last iterator which can be closed with the
LazyForeignCollection.closeLastIterator().
Serializable.Dao on the object.
Dao.setObjectCache(boolean) except you specify the actual cache instance to use for the DAO.
DatabaseField annotation in the class.
Where object on the query.
SelectArg but using a ThreadLocal internally to improve reentrance so that multiple threads can
use the same compiled statement.ConnectionSource.Dao.update(Object).
Dao.queryBuilder() but allows you to build an UPDATE statement.
Dao.updateId(Object, Object).
UUID object.Where object that should be used to add SQL where clauses to the statement.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||