- addClassName(String) - 类 中的方法org.litepal.LitePalDB
-
Add a class name into the current mapping model list.
- addClassName(String) - 类 中的方法org.litepal.parser.LitePalAttr
-
Add a class name into the current mapping model list.
- addClassName(String) - 类 中的方法org.litepal.parser.LitePalConfig
-
Add a class name into the current mapping model list.
- addColumnModel(ColumnModel) - 类 中的方法org.litepal.tablemanager.model.TableModel
-
Add a column model into the table model.
- addForeignKeyColumn(String, String, String, SQLiteDatabase) - 类 中的方法org.litepal.tablemanager.AssociationCreator
-
This method is used to add many to one association or one to one
association on tables.
- addOrUpdateAssociation(SQLiteDatabase, boolean) - 类 中的方法org.litepal.tablemanager.AssociationCreator
-
- addOrUpdateAssociation(SQLiteDatabase, boolean) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
- addOrUpdateAssociation(SQLiteDatabase, boolean) - 类 中的方法org.litepal.tablemanager.Generator
-
Analysis the
AssociationsModel by the purpose of subclasses, and
generate a SQL to do the intention job.
- APPLICATION_CONTEXT_IS_NULL - 异常错误 中的静态变量org.litepal.exceptions.GlobalException
-
Application context is null.
- assignBaseObjId(int) - 类 中的方法org.litepal.crud.DataSupport
-
Assigns value to baseObjId.
- AssociationCreator - org.litepal.tablemanager中的类
-
When models have associations such as one2one, many2one or many2many, tables
should add foreign key column or create intermediate table to make the object
association mapping right.
- AssociationCreator() - 类 的构造器org.litepal.tablemanager.AssociationCreator
-
- AssociationsInfo - org.litepal.crud.model中的类
-
This model holds necessary information when comes to analyze and handle
associated models of self model.
- AssociationsInfo() - 类 的构造器org.litepal.crud.model.AssociationsInfo
-
- AssociationsModel - org.litepal.tablemanager.model中的类
-
This is a model class for table associations.
- AssociationsModel() - 类 的构造器org.litepal.tablemanager.model.AssociationsModel
-
- AssociationUpdater - org.litepal.tablemanager中的类
-
Upgrade the associations between model classes into tables.
- AssociationUpdater() - 类 的构造器org.litepal.tablemanager.AssociationUpdater
-
- average(Class<?>, String) - 类 中的方法org.litepal.crud.ClusterQuery
-
Calculates the average value on a given column.
- average(String, String) - 类 中的方法org.litepal.crud.ClusterQuery
-
Calculates the average value on a given column.
- average(Class<?>, String) - 类 中的静态方法org.litepal.crud.DataSupport
-
Calculates the average value on a given column.
- average(String, String) - 类 中的静态方法org.litepal.crud.DataSupport
-
Calculates the average value on a given column.
- CAN_NOT_FIND_LITEPAL_FILE - 异常错误 中的静态变量org.litepal.exceptions.ParseConfigurationFileException
-
can not find the litepal.xml file by the given id.
- capitalize(String) - 类 中的静态方法org.litepal.util.BaseUtility
-
Capitalize make the first letter of the word be upper case.
- CASES_KEEP - 接口 中的静态变量org.litepal.util.Const.Config
-
Constant for keep case.
- CASES_LOWER - 接口 中的静态变量org.litepal.util.Const.Config
-
Constant for lower case.
- CASES_UPPER - 接口 中的静态变量org.litepal.util.Const.Config
-
Constant for upper case.
- CASES_VALUE_IS_INVALID - 异常错误 中的静态变量org.litepal.exceptions.InvalidAttributesException
-
There's an invalid value in cases mark.
- changeCase(String) - 类 中的静态方法org.litepal.util.BaseUtility
-
It will change the case of the passing parameter into the case defined in
litepal.xml file.
- characters(char[], int, int) - 类 中的方法org.litepal.parser.LitePalContentHandler
-
Characters in the characters tag.
- checkConditionsCorrect(String...) - 类 中的静态方法org.litepal.util.BaseUtility
-
Check the number of question mark existed in conditions[0] equals the
number of rest conditions elements or not.
- checkSelfValid() - 类 中的方法org.litepal.parser.LitePalAttr
-
Before application build the connection with database, check the fields
in LitePalAttr.
- CLASS_NOT_FOUND - 异常错误 中的静态变量org.litepal.exceptions.DatabaseGenerateException
-
Can not find a class with the passing class name.
- clearCopyInTableSchema(List<String>) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
The values in table_schame should be synchronized with the model tables
in the database.
- clearInstance() - 类 中的静态方法org.litepal.parser.LitePalAttr
-
Clear the instance of LitePalAttr.
- clearLitePalOpenHelperInstance() - 类 中的静态方法org.litepal.tablemanager.Connector
-
Never call this method.
- clearSavedState() - 类 中的方法org.litepal.crud.DataSupport
-
It model is saved, clear the saved state and model becomes unsaved.
- ClusterQuery - org.litepal.crud中的类
-
Allows developers to query tables with cluster style.
- Column - org.litepal.annotation中的注释类型
-
Used for adding constraints to a column.
- COLUMN_NAME - 接口 中的静态变量org.litepal.util.Const.TableSchema
-
The name column in table_schema.
- COLUMN_TYPE - 接口 中的静态变量org.litepal.util.Const.TableSchema
-
The type column in table_schema.
- ColumnModel - org.litepal.tablemanager.model中的类
-
This is a model class for columns.
- ColumnModel() - 类 的构造器org.litepal.tablemanager.model.ColumnModel
-
- CONFIGURATION_FILE_NAME - 接口 中的静态变量org.litepal.util.Const.Config
-
Constant configuration file name.
- Connector - org.litepal.tablemanager中的类
-
The connector to connect database provided by LitePal.
- Connector() - 类 的构造器org.litepal.tablemanager.Connector
-
- Const - org.litepal.util中的接口
-
- Const.Config - org.litepal.util中的接口
-
- Const.Model - org.litepal.util中的接口
-
- Const.TableSchema - org.litepal.util中的接口
-
- containsColumn(String) - 类 中的方法org.litepal.tablemanager.model.TableModel
-
Judge the table model has such a column or not.
- containsIgnoreCases(Collection<String>, String) - 类 中的静态方法org.litepal.util.BaseUtility
-
This helper method makes up the shortage of contains method in Collection
to support the function of case insensitive contains.
- convertOrderByClauseToValidName(String) - 类 中的静态方法org.litepal.util.DBUtility
-
Convert the order by clause if it contains invalid column names which conflict with SQLite keywords.
- convertSelectClauseToValidNames(String[]) - 类 中的静态方法org.litepal.util.DBUtility
-
Convert the select clause if it contains invalid column names which conflict with SQLite keywords.
- convertToValidColumnName(String) - 类 中的静态方法org.litepal.util.DBUtility
-
Convert the passed in name to valid column name if the name is conflicted with SQLite keywords.
- convertWhereClauseToColumnName(String) - 类 中的静态方法org.litepal.util.DBUtility
-
Convert the where clause if it contains invalid column names which conflict with SQLite keywords.
- count(Class<?>) - 类 中的方法org.litepal.crud.ClusterQuery
-
Count the records.
- count(String) - 类 中的方法org.litepal.crud.ClusterQuery
-
Count the records.
- count(Class<?>) - 类 中的静态方法org.litepal.crud.DataSupport
-
Count the records.
- count(String) - 类 中的静态方法org.litepal.crud.DataSupport
-
Count the records.
- count(String, String) - 类 中的静态方法org.litepal.util.BaseUtility
-
Count how many marks existed in string.
- createOrUpgradeTable(SQLiteDatabase, boolean) - 类 中的方法org.litepal.tablemanager.AssociationCreator
-
- createOrUpgradeTable(SQLiteDatabase, boolean) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
Analysis the
TableModel by the purpose of subclasses, and
generate a SQL to do the intention job.
- createOrUpgradeTable(SQLiteDatabase, boolean) - 类 中的方法org.litepal.tablemanager.Dropper
-
Analyzing the table model, to see which tables has no model classes
anymore and can be dropped.
- createOrUpgradeTable(SQLiteDatabase, boolean) - 类 中的方法org.litepal.tablemanager.Generator
-
Analysis the TableModel by the purpose of subclasses, and generate a SQL
to do the intention job.
- createOrUpgradeTable(SQLiteDatabase, boolean) - 类 中的方法org.litepal.tablemanager.Upgrader
-
Analyzing the table model, them remove the dump columns and add new
columns of a table.
- d(String, String) - 类 中的静态方法org.litepal.util.LogUtil
-
- DatabaseGenerateException - org.litepal.exceptions中的异常错误
-
When LitePal generate or update tables, it may throw DatabaseGenerateException.
- DatabaseGenerateException(String) - 异常错误 的构造器org.litepal.exceptions.DatabaseGenerateException
-
Constructor of DatabaseGenerateException.
- DataSupport - org.litepal.crud中的类
-
DataSupport connects classes to SQLite database tables to establish an almost
zero-configuration persistence layer for applications.
- DataSupport() - 类 的构造器org.litepal.crud.DataSupport
-
Disable developers to create instance of DataSupport directly.
- DataSupportException - org.litepal.exceptions中的异常错误
-
When LitePal deals with CRUD actions of DataSupport, it may throw
DataSupportException.
- DataSupportException(String) - 异常错误 的构造器org.litepal.exceptions.DataSupportException
-
Constructor of DataSupportException.
- DataSupportException(String, Throwable) - 异常错误 的构造器org.litepal.exceptions.DataSupportException
-
Constructor of DataSupportException.
- DateOrm - org.litepal.tablemanager.typechange中的类
-
This class deals with date type.
- DateOrm() - 类 的构造器org.litepal.tablemanager.typechange.DateOrm
-
- DB_NAME_SUFFIX - 接口 中的静态变量org.litepal.util.Const.Config
-
The suffix for each database file.
- DBNAME_IS_EMPTY_OR_NOT_DEFINED - 异常错误 中的静态变量org.litepal.exceptions.InvalidAttributesException
-
dbname is empty or not defined in litepal.xml file.
- DBUtility - org.litepal.util中的类
-
A utility class to help LitePal with some database actions.
- DEBUG - 类 中的静态变量org.litepal.util.LogUtil
-
- DecimalOrm - org.litepal.tablemanager.typechange中的类
-
This class deals with decimal type.
- DecimalOrm() - 类 的构造器org.litepal.tablemanager.typechange.DecimalOrm
-
- delete(Class<?>, long) - 类 中的静态方法org.litepal.crud.DataSupport
-
Deletes the record in the database by id.
- delete() - 类 中的方法org.litepal.crud.DataSupport
-
Deletes the record in the database.
- deleteAll(Class<?>, String...) - 类 中的静态方法org.litepal.crud.DataSupport
-
Deletes all records with details given if they match a set of conditions
supplied.
- deleteAll(String, String...) - 类 中的静态方法org.litepal.crud.DataSupport
-
Deletes all records with details given if they match a set of conditions
supplied.
- deleteDatabase(String) - 类 中的静态方法org.litepal.LitePal
-
Delete the specified database.
- Dropper - org.litepal.tablemanager中的类
-
When developers defined some model classes and define them in the mapping
list.
- Dropper() - 类 的构造器org.litepal.tablemanager.Dropper
-
- dropTables(List<String>, SQLiteDatabase) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
Drop the tables by the passing table name.
- generateAddColumnSQL(String, ColumnModel) - 类 中的方法org.litepal.tablemanager.AssociationCreator
-
Generate a SQL for add new column into the existing table.
- generateAlterToTempTableSQL(String) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
Generate a SQL for renaming the table into a temporary table.
- generateCreateTableSQL(String, List<ColumnModel>, boolean) - 类 中的方法org.litepal.tablemanager.AssociationCreator
-
Generate a create table SQL by the passed in parameters.
- generateDataMigrationSQL(TableModel) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
Generate a SQL to do the data migration job to avoid losing data.
- generateDropTableSQL(String) - 类 中的方法org.litepal.tablemanager.AssociationCreator
-
Generate a SQL for dropping table.
- generateDropTempTableSQL(String) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
Generate a SQL to drop the temporary table.
- Generator - org.litepal.tablemanager中的类
-
This class is the basic class for managing database dynamically.
- Generator() - 类 的构造器org.litepal.tablemanager.Generator
-
- GENERIC_TABLE - 接口 中的静态变量org.litepal.util.Const.TableSchema
-
Constant for generic table.
- GenericModel - org.litepal.tablemanager.model中的类
-
This is a model class for generic table.
- GenericModel() - 类 的构造器org.litepal.tablemanager.model.GenericModel
-
- getAllAssociations() - 类 中的方法org.litepal.tablemanager.Generator
-
This method is used to get all the association models which in the
mapping list of litepal.xml file.
- getAllTableModels() - 类 中的方法org.litepal.tablemanager.Generator
-
This is a shortcut way to get all the table models for each model class
defined in the mapping list.
- getAssociatedClassName() - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Get the class name of the class which associated with self class.
- getAssociatedTableName() - 类 中的方法org.litepal.tablemanager.model.AssociationsModel
-
Get associated table name.
- getAssociateOtherModelFromSelf() - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Get the field of self class which declares has association with other
class.
- getAssociateSelfFromOtherModel() - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Get the field of the associated class which declares has association with
self class.
- getAssociationInfo(String) - 类 中的方法org.litepal.LitePalBase
-
Get the association info model by the class name.
- getAssociations(List<String>) - 类 中的方法org.litepal.LitePalBase
-
This method is used to get association models depends on the given class
name list.
- getAssociationType() - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Get the association type.
- getAssociationType() - 类 中的方法org.litepal.tablemanager.model.AssociationsModel
-
Get the association type.
- getBaseObjId() - 类 中的方法org.litepal.crud.DataSupport
-
Get the baseObjId of this model if it's useful for developers.
- getCases() - 类 中的方法org.litepal.parser.LitePalAttr
-
- getCases() - 类 中的方法org.litepal.parser.LitePalConfig
-
- getClassHoldsForeignKey() - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Get the class which holds foreign key.
- getClassName() - 类 中的方法org.litepal.crud.DataSupport
-
Get the full class name of self.
- getClassName() - 类 中的方法org.litepal.tablemanager.model.TableModel
-
Get class name.
- getClassNames() - 类 中的方法org.litepal.LitePalDB
-
Get the class name list.
- getClassNames() - 类 中的方法org.litepal.parser.LitePalAttr
-
Get the class name list.
- getClassNames() - 类 中的方法org.litepal.parser.LitePalConfig
-
Get the class name list.
- getColumnModelByName(String) - 类 中的方法org.litepal.tablemanager.model.TableModel
-
Find the ColumnModel which can map the column name passed in.
- getColumnModels() - 类 中的方法org.litepal.tablemanager.model.TableModel
-
Find all the column models of the current table model.
- getColumnName() - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- getColumnType(String) - 类 中的方法org.litepal.LitePalBase
-
Get the column type for creating table by field type.
- getColumnType() - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- getContext() - 类 中的静态方法org.litepal.LitePalApplication
-
Get the global application context.
- getDatabase() - 类 中的静态方法org.litepal.LitePal
-
Get a writable SQLiteDatabase.
- getDatabase() - 类 中的静态方法org.litepal.tablemanager.Connector
-
Call getDatabase directly will invoke the getWritableDatabase method by
default.
- getDbName() - 类 中的方法org.litepal.LitePalDB
-
- getDbName() - 类 中的方法org.litepal.parser.LitePalAttr
-
- getDbName() - 类 中的方法org.litepal.parser.LitePalConfig
-
- getDefaultValue() - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- getExtraKeyName() - 类 中的方法org.litepal.parser.LitePalAttr
-
- getForeignKeyColumnName(String) - 类 中的方法org.litepal.LitePalBase
-
If two tables are associated, one table have a foreign key column.
- getForeignKeyColumns(TableModel) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
This method looks around all the columns in the table, and judge which of
them are foreign key columns.
- getGenericModels() - 类 中的方法org.litepal.LitePalBase
-
Get all generic models for create generic tables.
- getGenericTableName(String, String) - 类 中的静态方法org.litepal.util.DBUtility
-
Create generic table name by the concatenation of the class model's table name and simple
generic type name with underline in the middle.
- getGenericTypeClass(Field) - 类 中的方法org.litepal.LitePalBase
-
Get the generic type class of List or Set.
- getGenericTypeName(Field) - 类 中的方法org.litepal.LitePalBase
-
Get the generic type name of List or Set.
- getGenericValueIdColumnName(String) - 类 中的静态方法org.litepal.util.DBUtility
-
The column name for referenced id in generic table.
- getGetMethodName() - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- getInstance() - 类 中的静态方法org.litepal.parser.LitePalAttr
-
Provide a way to get the instance of LitePalAttr.
- getIntermediateTableName(String, String) - 类 中的静态方法org.litepal.util.DBUtility
-
Create intermediate join table name by the concatenation of the two
target table names in alphabetical order with underline in the middle.
- getLastVersion(String) - 类 中的静态方法org.litepal.util.SharedUtil
-
Get the last database version.
- getName() - 类 中的方法org.litepal.model.Table_Schema
-
Get the table name.
- getReadableDatabase() - 类 中的静态方法org.litepal.tablemanager.Connector
-
已过时。
- getSelfClassName() - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Get the class name of self class.
- getStorage() - 类 中的方法org.litepal.parser.LitePalAttr
-
- getStorage() - 类 中的方法org.litepal.parser.LitePalConfig
-
- getSupportedFields(String) - 类 中的方法org.litepal.LitePalBase
-
Find all the fields in the class.
- getSupportedGenericFields(String) - 类 中的方法org.litepal.LitePalBase
-
Find all supported generic fields in the class.
- getTableHoldsForeignKey() - 类 中的方法org.litepal.tablemanager.model.AssociationsModel
-
Get the table which holds foreign key.
- getTableModel(String) - 类 中的方法org.litepal.LitePalBase
-
This method is used to get the table model by the class name passed
in.
- getTableModelFromDB(String) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
Look from the database to find a table named same as the table name in
table model.
- getTableName() - 类 中的方法org.litepal.crud.DataSupport
-
Get the corresponding table name of current model.
- getTableName() - 类 中的方法org.litepal.tablemanager.model.AssociationsModel
-
Get table name.
- getTableName() - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- getTableName() - 类 中的方法org.litepal.tablemanager.model.TableModel
-
Get table name.
- getTableNameByClassName(String) - 类 中的静态方法org.litepal.util.DBUtility
-
Get the corresponding table name by the full class name with package.
- getTableNameByForeignColumn(String) - 类 中的静态方法org.litepal.util.DBUtility
-
Get table name by the given foreign column name.
- getTableNameListByClassNameList(List<String>) - 类 中的静态方法org.litepal.util.DBUtility
-
Get the corresponding table name list by the full class name list with
package.
- getTempTableName(String) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
Removing or resizing columns from tables must need a temporary table to
store data, and here's the table name.
- getType() - 类 中的方法org.litepal.model.Table_Schema
-
Get the table type.
- getValueColumnName() - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- getValueColumnType() - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- getValueIdColumnName() - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- getVersion() - 类 中的方法org.litepal.LitePalDB
-
- getVersion() - 类 中的方法org.litepal.parser.LitePalAttr
-
- getVersion() - 类 中的方法org.litepal.parser.LitePalConfig
-
- getWritableDatabase() - 类 中的静态方法org.litepal.tablemanager.Connector
-
Get a writable SQLiteDatabase.
- giveTableSchemaACopy(String, int, SQLiteDatabase) - 类 中的方法org.litepal.tablemanager.AssociationCreator
-
Once there's new table created.
- GlobalException - org.litepal.exceptions中的异常错误
-
This is where all the global exceptions declared of LitePal.
- GlobalException(String) - 异常错误 的构造器org.litepal.exceptions.GlobalException
-
Constructor of GlobalException.
- ID_TYPE_INVALID_EXCEPTION - 异常错误 中的静态变量org.litepal.exceptions.DataSupportException
-
Thrown when models have invalid type for id fields.
- initialize(Context) - 类 中的静态方法org.litepal.LitePal
-
Initialize to make LitePal ready to work.
- initialize(Context) - 类 中的静态方法org.litepal.LitePalApplication
-
已过时。
- INSTANTIATION_EXCEPTION - 异常错误 中的静态变量org.litepal.exceptions.DataSupportException
-
Thrown when there is no default constructor in model class to update.
- INTERMEDIATE_JOIN_TABLE - 接口 中的静态变量org.litepal.util.Const.TableSchema
-
Constant for intermediate join table.
- InvalidAttributesException - org.litepal.exceptions中的异常错误
-
Reading the attributes in the litepal.xml file.
- InvalidAttributesException(String) - 异常错误 的构造器org.litepal.exceptions.InvalidAttributesException
-
Constructor of InvalidAttributesException.
- IO_EXCEPTION - 异常错误 中的静态变量org.litepal.exceptions.ParseConfigurationFileException
-
IO exception happened.
- isCollection(Class<?>) - 类 中的方法org.litepal.LitePalBase
-
If the field type implements from List or Set, regard it as a collection.
- isColumnExists(String, String, SQLiteDatabase) - 类 中的静态方法org.litepal.util.DBUtility
-
Test if a column exists in a table.
- isExist(Class<T>, String...) - 类 中的静态方法org.litepal.crud.DataSupport
-
Check if the specified conditions data already exists in the table.
- isExternalStorage() - 类 中的方法org.litepal.LitePalDB
-
- isFieldNameConflictWithSQLiteKeywords(String) - 类 中的静态方法org.litepal.util.DBUtility
-
If the field name is conflicted with SQLite keywords.
- isFieldTypeSupported(String) - 类 中的静态方法org.litepal.util.BaseUtility
-
Judge a field type is supported or not.
- isForeignKeyColumn(TableModel, String) - 类 中的方法org.litepal.tablemanager.AssociationUpdater
-
Judge the passed in column is a foreign key column or not.
- isForeignKeyColumnFormat(String) - 类 中的方法org.litepal.tablemanager.AssociationCreator
-
Judge the passed in column is a foreign key column format or not.
- isGenericTable(String, SQLiteDatabase) - 类 中的静态方法org.litepal.util.DBUtility
-
Judge the table name is an generic table or not.
- isGenericTypeSupported(String) - 类 中的静态方法org.litepal.util.BaseUtility
-
Judge a generic type is supported or not.
- isIdColumn(String) - 类 中的方法org.litepal.LitePalBase
-
Judge the passed in column is an id column or not.
- isIdColumn() - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
Judge current ColumnModel is id column or not.
- isIntermediateTable(String, SQLiteDatabase) - 类 中的静态方法org.litepal.util.DBUtility
-
Judge the table name is an intermediate table or not.
- isList(Class<?>) - 类 中的方法org.litepal.LitePalBase
-
If the field type implements from List, regard it as a list.
- isLitePalXMLExists() - 类 中的静态方法org.litepal.util.BaseUtility
-
If the litepal.xml configuration file exists.
- isNullable() - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- isSaved() - 类 中的方法org.litepal.crud.DataSupport
-
Current model is saved or not.
- isSet(Class<?>) - 类 中的方法org.litepal.LitePalBase
-
If the field type implements from Set, regard it as a set.
- isTableExists(String, SQLiteDatabase) - 类 中的静态方法org.litepal.util.DBUtility
-
Test if the table name passed in exists in the database.
- isUnique() - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- object2Relation(String) - 类 中的方法org.litepal.tablemanager.typechange.BlobOrm
-
If the field type passed in is byte, it will change it into blob as
column type.
- object2Relation(String) - 类 中的方法org.litepal.tablemanager.typechange.BooleanOrm
-
If the field type passed in is boolean, it will change it into integer as
column type.
- object2Relation(String) - 类 中的方法org.litepal.tablemanager.typechange.DateOrm
-
If the field type passed in is Date, it will change it into integer as
column type.
- object2Relation(String) - 类 中的方法org.litepal.tablemanager.typechange.DecimalOrm
-
If the field type passed in is float or double, it will change it into
real as column type.
- object2Relation(String) - 类 中的方法org.litepal.tablemanager.typechange.NumericOrm
-
If the field type passed in is int, long or short, it will change it into
integer as column type.
- object2Relation(String) - 类 中的方法org.litepal.tablemanager.typechange.OrmChange
-
Subclasses implement this method to do their own logic to change types.
- object2Relation(String) - 类 中的方法org.litepal.tablemanager.typechange.TextOrm
-
If the field type passed in is char or String, it will change it into
text as column type.
- offset(int) - 类 中的方法org.litepal.crud.ClusterQuery
-
Declaring the offset of rows returned by the query.
- offset(int) - 类 中的静态方法org.litepal.crud.DataSupport
-
Declaring the offset of rows returned by the query.
- One2OneAnalyzer - org.litepal.crud中的类
-
Deals analysis work when comes to two models are associated with One2One
associations.
- One2OneAnalyzer() - 类 的构造器org.litepal.crud.One2OneAnalyzer
-
- ONE_TO_ONE - 接口 中的静态变量org.litepal.util.Const.Model
-
One2One constant value.
- order(String) - 类 中的方法org.litepal.crud.ClusterQuery
-
Declaring how to order the rows queried from table.
- order(String) - 类 中的静态方法org.litepal.crud.DataSupport
-
Declaring how to order the rows queried from table.
- org.litepal - 程序包 org.litepal
-
- org.litepal.annotation - 程序包 org.litepal.annotation
-
- org.litepal.crud - 程序包 org.litepal.crud
-
- org.litepal.crud.model - 程序包 org.litepal.crud.model
-
- org.litepal.exceptions - 程序包 org.litepal.exceptions
-
- org.litepal.model - 程序包 org.litepal.model
-
- org.litepal.parser - 程序包 org.litepal.parser
-
- org.litepal.tablemanager - 程序包 org.litepal.tablemanager
-
- org.litepal.tablemanager.model - 程序包 org.litepal.tablemanager.model
-
- org.litepal.tablemanager.typechange - 程序包 org.litepal.tablemanager.typechange
-
- org.litepal.util - 程序包 org.litepal.util
-
- OrmChange - org.litepal.tablemanager.typechange中的类
-
This is abstract super class to map the object field types to database column
types.
- OrmChange() - 类 的构造器org.litepal.tablemanager.typechange.OrmChange
-
- save() - 类 中的方法org.litepal.crud.DataSupport
-
Saves the model.
- SAVE_FAILED - 异常错误 中的静态变量org.litepal.exceptions.DataSupportException
-
Thrown when fail to save a model.
- saveAll(Collection<T>) - 类 中的静态方法org.litepal.crud.DataSupport
-
Saves the collection into database.
- saveFast() - 类 中的方法org.litepal.crud.DataSupport
-
Saves the model ignore associations, so that the saving process will be faster.
- saveIfNotExist(String...) - 类 中的方法org.litepal.crud.DataSupport
-
Saves the model only when the conditions data not exist.
- saveThrows() - 类 中的方法org.litepal.crud.DataSupport
-
Saves the model.
- select(String...) - 类 中的方法org.litepal.crud.ClusterQuery
-
Declaring to query which columns in table.
- select(String...) - 类 中的静态方法org.litepal.crud.DataSupport
-
Declaring to query which columns in table.
- setAssociatedClassName(String) - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Set the class name of the class which associated with self class.
- setAssociatedTableName(String) - 类 中的方法org.litepal.tablemanager.model.AssociationsModel
-
Set associated table name.
- setAssociateOtherModelFromSelf(Field) - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Set the field of self class which declares has association with other
class.
- setAssociateSelfFromOtherModel(Field) - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Set the field of the associated class which declares has association with
self class.
- setAssociationType(int) - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Set the association type.
- setAssociationType(int) - 类 中的方法org.litepal.tablemanager.model.AssociationsModel
-
Set the association type.
- setCases(String) - 类 中的方法org.litepal.parser.LitePalAttr
-
- setCases(String) - 类 中的方法org.litepal.parser.LitePalConfig
-
- setClassHoldsForeignKey(String) - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Set the class which holds foreign key.
- setClassName(String) - 类 中的方法org.litepal.tablemanager.model.TableModel
-
Set class name.
- setClassNames(List<String>) - 类 中的方法org.litepal.parser.LitePalAttr
-
- setClassNames(List<String>) - 类 中的方法org.litepal.parser.LitePalConfig
-
- setColumnName(String) - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- setColumnType(String) - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- setDbName(String) - 类 中的方法org.litepal.parser.LitePalAttr
-
- setDbName(String) - 类 中的方法org.litepal.parser.LitePalConfig
-
- setDefaultValue(String) - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- setExternalStorage(boolean) - 类 中的方法org.litepal.LitePalDB
-
- setExtraKeyName(String) - 类 中的方法org.litepal.parser.LitePalAttr
-
- setGetMethodName(String) - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- setIsNullable(boolean) - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- setIsUnique(boolean) - 类 中的方法org.litepal.tablemanager.model.ColumnModel
-
- setName(String) - 类 中的方法org.litepal.model.Table_Schema
-
Set the table name.
- setSelfClassName(String) - 类 中的方法org.litepal.crud.model.AssociationsInfo
-
Set the class name of self class.
- setStorage(String) - 类 中的方法org.litepal.parser.LitePalAttr
-
- setStorage(String) - 类 中的方法org.litepal.parser.LitePalConfig
-
- setTableHoldsForeignKey(String) - 类 中的方法org.litepal.tablemanager.model.AssociationsModel
-
Set the table which holds foreign key.
- setTableName(String) - 类 中的方法org.litepal.tablemanager.model.AssociationsModel
-
Set table name.
- setTableName(String) - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- setTableName(String) - 类 中的方法org.litepal.tablemanager.model.TableModel
-
Set table name.
- setToDefault(String) - 类 中的方法org.litepal.crud.DataSupport
-
- setType(int) - 类 中的方法org.litepal.model.Table_Schema
-
Set the table type.
- setValueColumnName(String) - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- setValueColumnType(String) - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- setValueIdColumnName(String) - 类 中的方法org.litepal.tablemanager.model.GenericModel
-
- setVersion(int) - 类 中的方法org.litepal.parser.LitePalAttr
-
- setVersion(int) - 类 中的方法org.litepal.parser.LitePalConfig
-
- SharedUtil - org.litepal.util中的类
-
LitePal used shared preferences a lot for storing versions and a lot of other
necessary values.
- SharedUtil() - 类 的构造器org.litepal.util.SharedUtil
-
- SQL_ERROR - 异常错误 中的静态变量org.litepal.exceptions.DatabaseGenerateException
-
An exception that indicates there was an error with SQL parsing or
execution.
- SQL_SYNTAX_ERROR - 异常错误 中的静态变量org.litepal.exceptions.DatabaseGenerateException
-
SQL syntax error when executing generation job.
- startDocument() - 类 中的方法org.litepal.parser.LitePalContentHandler
-
Start of the document.
- startElement(String, String, String, Attributes) - 类 中的方法org.litepal.parser.LitePalContentHandler
-
Start analysis the litepal.xml file.
- sum(Class<?>, String, Class<T>) - 类 中的方法org.litepal.crud.ClusterQuery
-
Calculates the sum of values on a given column.
- sum(String, String, Class<T>) - 类 中的方法org.litepal.crud.ClusterQuery
-
Calculates the sum of values on a given column.
- sum(Class<?>, String, Class<T>) - 类 中的静态方法org.litepal.crud.DataSupport
-
Calculates the sum of values on a given column.
- sum(String, String, Class<T>) - 类 中的静态方法org.litepal.crud.DataSupport
-
Calculates the sum of values on a given column.