A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractGenericRowMapper<T> - Class in com.github.ddth.dao.jdbc
-
Abstract generic implementation of
IRowMapper. - AbstractGenericRowMapper() - Constructor for class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
- AbstractGenericRowMapper.ColAttrMapping - Class in com.github.ddth.dao.jdbc
-
Db table column -> BO attribute mapping.
- AbstractGenericRowMapper.ColumnDataExtractor<R> - Interface in com.github.ddth.dao.jdbc
-
Action to extract table column data.
- AbstractJdbcHelper - Class in com.github.ddth.dao.jdbc
-
Abstract implementation of
IJdbcHelper. - AbstractJdbcHelper() - Constructor for class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- addColumn(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Add a column name to the list.
- addColumn(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Add a column name to the list.
- addDelegateDao(Class<T>, IGenericBoDao<T>) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Add a delegate dao to mapping list.
- addDelegateDao(String, IGenericBoDao<T>) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Add a delegate dao to mapping list.
- addFilter(IFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOptCombine
-
Append a filter to the list.
- addFilter(INamedParamsFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOptCombine
-
Append a filter to the list.
- addFilters(IFilter...) - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOptCombine
-
Append filters to the list.
- addFilters(INamedParamsFilter...) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOptCombine
-
Append filters to the list.
- addGroupByColumn(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Add a column name to the list.
- addGroupByColumn(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Add a column name to the list.
- addProfiling(long, String, long) - Static method in class com.github.ddth.dao.BaseDao
-
Adds a new profiling record.
- addSorting(String, boolean) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Add a sorting parameter (to build the ORDER BY clause).
- addSorting(String, boolean) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Add a sorting parameter (to build the ORDER BY clause).
- addTableName(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.MultipleTablesBuilder
- addTableName(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.MultipleTablesBuilder
- addValue(String, Object) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.InsertBuilder
- addValue(String, Object) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.UpdateBuilder
- addValue(String, Object) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.InsertBuilder
- addValue(String, Object) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.UpdateBuilder
- AnnotatedGenericRowMapper<T> - Class in com.github.ddth.dao.jdbc.annotations
-
Abstract generic implementation of
IRowMapper. - AnnotatedGenericRowMapper() - Constructor for class com.github.ddth.dao.jdbc.annotations.AnnotatedGenericRowMapper
- attr() - Method in annotation type com.github.ddth.dao.jdbc.annotations.ColumnAttribute
-
BO attribute name.
- ATTR_DATA - Static variable in class com.github.ddth.dao.BaseDataJsonFieldBo
- attrClass - Variable in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper.ColAttrMapping
- attrClass() - Method in annotation type com.github.ddth.dao.jdbc.annotations.ColumnAttribute
-
BO attribute type.
- attributeExists(String) - Method in class com.github.ddth.dao.BaseBo
-
Check an attribute exists.
- attributeMap() - Method in class com.github.ddth.dao.BaseBo
-
Return the underlying attribute map.
- attrName - Variable in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper.ColAttrMapping
B
- BaseBo - Class in com.github.ddth.dao
-
Base class for application Business Objects (BO).
- BaseBo() - Constructor for class com.github.ddth.dao.BaseBo
- BaseBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.BaseBuilder
- BaseBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.BaseBuilder
- BaseCassandraStorage - Class in com.github.ddth.dao.nosql.cassandra
-
Abstract Cassandra implementation of NoSQL storage.
- BaseCassandraStorage() - Constructor for class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
- BaseDao - Class in com.github.ddth.dao
-
Base class for application DAOs.
- BaseDao() - Constructor for class com.github.ddth.dao.BaseDao
- BaseDataJsonFieldBo - Class in com.github.ddth.dao
-
Similar to
BaseBo, but there is one special "data" field which is JSON-encoded. - BaseDataJsonFieldBo() - Constructor for class com.github.ddth.dao.BaseDataJsonFieldBo
- BaseFilter() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultFilters.BaseFilter
- BaseFilter() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.BaseFilter
- BaseJdbcDao - Class in com.github.ddth.dao.jdbc
-
Base class for JDBC-based DAOs.
- BaseJdbcDao() - Constructor for class com.github.ddth.dao.jdbc.BaseJdbcDao
- BaseJsonBo - Class in com.github.ddth.dao
-
Similar to
BaseBobut each attribute is JSON-encoded string (or aJsonNode. - BaseJsonBo() - Constructor for class com.github.ddth.dao.BaseJsonBo
- BaseKdDao - Class in com.github.ddth.dao.nosql
-
Base class for {key:document} NoSQL-based DAOs.
- BaseKdDao() - Constructor for class com.github.ddth.dao.nosql.BaseKdDao
- BaseKvDao - Class in com.github.ddth.dao.nosql
-
Base class for {key:value} NoSQL-based DAOs.
- BaseKvDao() - Constructor for class com.github.ddth.dao.nosql.BaseKvDao
- BaseLuceneStorage - Class in com.github.ddth.dao.nosql.lucene
-
Abstract Lucene implementation of NoSQL storage.
- BaseLuceneStorage() - Constructor for class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
- BaseNoSqlDao - Class in com.github.ddth.dao.nosql
-
Base class for NoSQL-based DAOs.
- BaseNoSqlDao() - Constructor for class com.github.ddth.dao.nosql.BaseNoSqlDao
- bindParams(CallableStatement, Object...) - Static method in class com.github.ddth.dao.utils.JdbcHelper
-
Bind parameter values to a
CallableStatement. - bindParams(PreparedStatement, Object...) - Static method in class com.github.ddth.dao.utils.JdbcHelper
-
Bind parameter values to a
PreparedStatement. - bindValues - Variable in class com.github.ddth.dao.jdbc.utils.BuildNamedParamsSqlResult
-
Bind value map (if any).
- bindValues - Variable in class com.github.ddth.dao.jdbc.utils.BuildSqlResult
-
Bind value array (if any).
- BoId - Class in com.github.ddth.dao
-
Represent a BO's id.
- BoId(Object) - Constructor for class com.github.ddth.dao.BoId
- BoId(Object[]) - Constructor for class com.github.ddth.dao.BoId
- BoUtils - Class in com.github.ddth.dao.utils
-
BO utility class.
- BoUtils() - Constructor for class com.github.ddth.dao.utils.BoUtils
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterExpression
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterFieldValue
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOptCombine
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterExpression
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterFieldValue
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOptCombine
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.DeleteBuilder
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.InsertBuilder
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.UpdateBuilder
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.DeleteBuilder
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.InsertBuilder
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
- build() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.UpdateBuilder
- build() - Method in interface com.github.ddth.dao.jdbc.utils.IFilter
-
Build the "filter" part (without the WHERE/HAVING/etc keyword), with placeholders and list of corresponding binding values.
- build() - Method in interface com.github.ddth.dao.jdbc.utils.INamedParamsFilter
-
Build the "filter" part (without the WHERE/HAVING/etc keyword), with mapping of named-placeholders and binding values.
- build() - Method in interface com.github.ddth.dao.jdbc.utils.INamedParamsSqlBuilder
-
Build the SQL statement with named placeholders, along with bind values.
- build() - Method in interface com.github.ddth.dao.jdbc.utils.ISqlBuilder
-
Build the SQL statement with placeholders, along with bind values, ready for
PreparedStatement. - buildIdTerm(String, String) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Build the "id" term (
id="spaceId:key" - BuildNamedParamsSqlResult - Class in com.github.ddth.dao.jdbc.utils
-
Capture the result returned from
INamedParamsSqlBuilder.build()orINamedParamsFilter.build(). - BuildNamedParamsSqlResult(String, Map<String, Object>) - Constructor for class com.github.ddth.dao.jdbc.utils.BuildNamedParamsSqlResult
- buildQuery(String, String) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Build query to match entry's space-id and key.
- BuildSqlResult - Class in com.github.ddth.dao.jdbc.utils
-
Capture the result returned from
ISqlBuilder.build()orIFilter.build(). - BuildSqlResult(String, Object...) - Constructor for class com.github.ddth.dao.jdbc.utils.BuildSqlResult
- bytesMapToDocument(Map<String, byte[]>) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
De-serialize byte-array map to "document".
- bytesToDocument(byte[]) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
De-serialize byte array to "document".
- bytesToDocument(byte[]) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
-
De-serialize byte array to "document".
- bytesToDocument(byte[]) - Static method in class com.github.ddth.dao.utils.BoUtils
-
De-serialize byte array to "document".
C
- CacheInvalidationReason - Enum in com.github.ddth.dao.utils
-
Reason to invalidate cache entry.
- cacheJsonObjs - Variable in class com.github.ddth.dao.BaseJsonBo
- cacheKey(BoId) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Calculate cache key for a BO.
- cacheKey(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Calculate cache key for a BO.
- calcCacheKey(String, String) - Method in class com.github.ddth.dao.nosql.BaseNoSqlDao
-
Calculate cache key for an entry.
- calcChecksum() - Method in class com.github.ddth.dao.BaseBo
-
Calculate the checksum of BO's attributes (ignore "dirty" flag).
- calcFetchSizeForStream(int, Connection) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Calculate fetch size used for streaming.
- calcSqlDeleteOne(BoId) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate the SQL query to delete the BO by supplied id.
- calcSqlDeleteOne(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate the SQL query to delete the BO by supplied bo.
- calcSqlInsert(BoId) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate the SQL query to insert the BO by supplied id to DB table.
- calcSqlInsert(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate the SQL query to insert the BO by supplied bo to DB table.
- calcSqlSelectAll() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Calculate the SQL query to select all rows.
- calcSqlSelectAllSorted() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Calculate the SQL query to select all rows.
- calcSqlSelectOne(BoId) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate the SQL query to select the BO by supplied id.
- calcSqlSelectOne(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate the SQL query to select the BO by supplied bo.
- calcSqlUpdateOne(BoId) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate the SQL query to update the BO by supplied id.
- calcSqlUpdateOne(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate the SQL query to update the BO by supplied bo.
- calcTableName(BoId) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate name of DB table to access the BO specified by supplied id.
- calcTableName(String) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
This method prefix
BaseCassandraStorage.defaultKeyspaceto the targettableif it does not contain keyspace part. - calcTableName(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
For data partitioning: Sub-class can override this method to calculate name of DB table to access the BO specified by supplied bo.
- CassandraKdBytesStorage - Class in com.github.ddth.dao.nosql.cassandra
-
Cassandra implementation of {key:document} NoSQL storage.
- CassandraKdBytesStorage() - Constructor for class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
- CassandraKdWideColumnStorage - Class in com.github.ddth.dao.nosql.cassandra
-
Cassandra implementation of {key:document} NoSQL storage.
- CassandraKdWideColumnStorage() - Constructor for class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
- CassandraKvStorage - Class in com.github.ddth.dao.nosql.cassandra
-
Cassandra implementation of {key:value} NoSQL storage.
- CassandraKvStorage() - Constructor for class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
- checksum() - Method in class com.github.ddth.dao.BaseBo
-
Sub-class may override this method to implement its own business logic.
- checksum() - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Sub-class may override this method to implement its own business logic.
- checksum() - Method in class com.github.ddth.dao.BaseJsonBo
-
Sub-class may override this method to implement its own business logic.
- ChecksumColumn - Annotation Type in com.github.ddth.dao.jdbc.annotations
-
Annotation to mark DB table's checksum column.
- clause - Variable in class com.github.ddth.dao.jdbc.utils.BuildNamedParamsSqlResult
-
The SQL clause.
- clause - Variable in class com.github.ddth.dao.jdbc.utils.BuildSqlResult
-
The SQL clause.
- clearProfiling() - Static method in class com.github.ddth.dao.BaseDao
-
Clears profiling data.
- clone() - Method in class com.github.ddth.dao.BaseBo
- cloneData(Map<String, T>) - Static method in class com.github.ddth.dao.BaseBo
-
Deep-clone data.
- close() - Method in class com.github.ddth.dao.BaseDao
- close() - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- close() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- close() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
- close() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
- closed - Variable in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- ColAttrMapping(String, String, Class<?>) - Constructor for class com.github.ddth.dao.jdbc.AbstractGenericRowMapper.ColAttrMapping
- colName - Variable in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper.ColAttrMapping
- column() - Method in annotation type com.github.ddth.dao.jdbc.annotations.ColumnAttribute
-
DB table column name.
- ColumnAttribute - Annotation Type in com.github.ddth.dao.jdbc.annotations
-
Annotation to mark
db-table-column -> bo-attribute & type. - ColumnAttributeMappings - Annotation Type in com.github.ddth.dao.jdbc.annotations
-
Collection of
ColumnAttributes. - com.github.ddth.dao - package com.github.ddth.dao
- com.github.ddth.dao.jdbc - package com.github.ddth.dao.jdbc
- com.github.ddth.dao.jdbc.annotations - package com.github.ddth.dao.jdbc.annotations
- com.github.ddth.dao.jdbc.impl - package com.github.ddth.dao.jdbc.impl
- com.github.ddth.dao.jdbc.utils - package com.github.ddth.dao.jdbc.utils
- com.github.ddth.dao.nosql - package com.github.ddth.dao.nosql
- com.github.ddth.dao.nosql.cassandra - package com.github.ddth.dao.nosql.cassandra
- com.github.ddth.dao.nosql.lucene - package com.github.ddth.dao.nosql.lucene
- com.github.ddth.dao.utils - package com.github.ddth.dao.utils
- command - Variable in class com.github.ddth.dao.utils.ProfilingRecord
- commitTransaction(Connection) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Commit a transaction.
- commitTransaction(Connection) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Commit a transaction.
- commitTransaction(Connection) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Commit a transaction.
- commitTransaction(Connection) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Commits a transaction.
- connection - Variable in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- create(Class<T>, T) - Method in interface com.github.ddth.dao.IGenericMultiBoDao
-
Create/Persist a new BO to storage.
- create(Class<T>, T) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Create/Persist a new BO to storage.
- create(Connection, T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Create/Persist a new BO to storage.
- create(T) - Method in interface com.github.ddth.dao.IGenericBoDao
-
Create/Persist a new BO to storage.
- create(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Create/Persist a new BO to storage.
- CREATE - com.github.ddth.dao.utils.CacheInvalidationReason
-
Cache item is invalidated because a new item has been created.
- createDocument(String, String) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Create a
Document, pre-filled with space-id and key fields. - createIndexField(String, Object) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
-
Create index field for a document's field value.
- createObject(String, ClassLoader, Class<T>) - Static method in class com.github.ddth.dao.utils.BoUtils
-
Create a new object.
- createOrUpdate(Class<T>, T) - Method in interface com.github.ddth.dao.IGenericMultiBoDao
-
Create a new BO or update an existing one.
- createOrUpdate(Class<T>, T) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Create a new BO or update an existing one.
- createOrUpdate(Connection, T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Create a new BO or update an existing one.
- createOrUpdate(T) - Method in interface com.github.ddth.dao.IGenericBoDao
-
Create a new BO or update an existing one.
- createOrUpdate(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Create a new BO or update an existing one.
D
- DaoException - Exception in com.github.ddth.dao.utils
-
Root class for ddth-dao exceptions.
- DaoException() - Constructor for exception com.github.ddth.dao.utils.DaoException
- DaoException(String) - Constructor for exception com.github.ddth.dao.utils.DaoException
- DaoException(String, Throwable) - Constructor for exception com.github.ddth.dao.utils.DaoException
- DaoException(String, Throwable, boolean, boolean) - Constructor for exception com.github.ddth.dao.utils.DaoException
- DaoException(Throwable) - Constructor for exception com.github.ddth.dao.utils.DaoException
- DaoResult - Class in com.github.ddth.dao.utils
-
Result from a DAO operation.
- DaoResult(DaoResult.DaoOperationStatus) - Constructor for class com.github.ddth.dao.utils.DaoResult
- DaoResult(DaoResult.DaoOperationStatus, Object) - Constructor for class com.github.ddth.dao.utils.DaoResult
- DaoResult.DaoOperationStatus - Enum in com.github.ddth.dao.utils
-
Status code returned from a DAO operation.
- DatabaseVendor - Enum in com.github.ddth.dao.utils
-
JDBC driver vendor info.
- dataJson - Variable in class com.github.ddth.dao.BaseDataJsonFieldBo
- DATETIME_FORMAT - Static variable in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
- DbcHelper - Class in com.github.ddth.dao.utils
-
Database Connectivity Helper class.
- DbcHelper() - Constructor for class com.github.ddth.dao.utils.DbcHelper
- DdthJdbcHelper - Class in com.github.ddth.dao.jdbc.impl
-
Pure-JDBC implementation of
IJdbcHelper. - DdthJdbcHelper() - Constructor for class com.github.ddth.dao.jdbc.impl.DdthJdbcHelper
- DEFAULT_DATASOURCE - Static variable in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Name of the "default" data source.
- DefaultFilters - Class in com.github.ddth.dao.jdbc.utils
-
Default implementations of
IFilter. - DefaultFilters() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultFilters
- DefaultFilters.BaseFilter - Class in com.github.ddth.dao.jdbc.utils
-
Base class for
IFilterimplementations. - DefaultFilters.FilterAnd - Class in com.github.ddth.dao.jdbc.utils
-
This filter combines two or more filters using AND clause.
- DefaultFilters.FilterExpression - Class in com.github.ddth.dao.jdbc.utils
-
This filter constructs a filter clause
<left_value> <operation> <right_value> - DefaultFilters.FilterFieldValue - Class in com.github.ddth.dao.jdbc.utils
-
This filter constructs a filter clause
<field> <operation> <value> - DefaultFilters.FilterOptCombine - Class in com.github.ddth.dao.jdbc.utils
-
This filter combines two or more filters using an operator.
- DefaultFilters.FilterOr - Class in com.github.ddth.dao.jdbc.utils
-
This filter combines two or more filters using OR clause.
- DefaultNamedParamsFilters - Class in com.github.ddth.dao.jdbc.utils
-
Default implementations of
INamedParamsFilter. - DefaultNamedParamsFilters() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters
- DefaultNamedParamsFilters.BaseFilter - Class in com.github.ddth.dao.jdbc.utils
-
Base class for
INamedParamsFilterimplementations. - DefaultNamedParamsFilters.FilterAnd - Class in com.github.ddth.dao.jdbc.utils
-
This filter combines two or more filters using AND clause.
- DefaultNamedParamsFilters.FilterExpression - Class in com.github.ddth.dao.jdbc.utils
-
This filter constructs a filter clause
<left_value> <operation> <right_value> - DefaultNamedParamsFilters.FilterFieldValue - Class in com.github.ddth.dao.jdbc.utils
-
This filter constructs a filter clause
<field> <operation> <value> - DefaultNamedParamsFilters.FilterOptCombine - Class in com.github.ddth.dao.jdbc.utils
-
This filter combines two or more filters using an operator.
- DefaultNamedParamsFilters.FilterOr - Class in com.github.ddth.dao.jdbc.utils
-
This filter combines two or more filters using OR clause.
- DefaultNamedParramsSqlBuilders - Class in com.github.ddth.dao.jdbc.utils
-
Default implementations of
INamedParamsSqlBuilder. - DefaultNamedParramsSqlBuilders() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders
- DefaultNamedParramsSqlBuilders.BaseBuilder - Class in com.github.ddth.dao.jdbc.utils
-
Base class for
INamedParamsSqlBuilderimplementations. - DefaultNamedParramsSqlBuilders.DeleteBuilder - Class in com.github.ddth.dao.jdbc.utils
-
INamedParamsSqlBuilderthat builds DELETE statement. - DefaultNamedParramsSqlBuilders.InsertBuilder - Class in com.github.ddth.dao.jdbc.utils
-
INamedParamsSqlBuilderthat builds INSERT statement. - DefaultNamedParramsSqlBuilders.MultipleTablesBuilder - Class in com.github.ddth.dao.jdbc.utils
-
Build SQL statement that queries on multiple database tables.
- DefaultNamedParramsSqlBuilders.SelectBuilder - Class in com.github.ddth.dao.jdbc.utils
-
INamedParamsSqlBuilderthat builds SELECT statement. - DefaultNamedParramsSqlBuilders.SingleTableBuilder - Class in com.github.ddth.dao.jdbc.utils
-
Build SQL statement that queries on one single database table.
- DefaultNamedParramsSqlBuilders.UpdateBuilder - Class in com.github.ddth.dao.jdbc.utils
-
INamedParamsSqlBuilderthat builds UPDATE statement. - DefaultSqlBuilders - Class in com.github.ddth.dao.jdbc.utils
-
Default implementations of
ISqlBuilder. - DefaultSqlBuilders() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders
- DefaultSqlBuilders.BaseBuilder - Class in com.github.ddth.dao.jdbc.utils
-
Base class for
ISqlBuilderimplementations. - DefaultSqlBuilders.DeleteBuilder - Class in com.github.ddth.dao.jdbc.utils
-
ISqlBuilderthat builds DELETE statement. - DefaultSqlBuilders.InsertBuilder - Class in com.github.ddth.dao.jdbc.utils
-
ISqlBuilderthat builds INSERT statement. - DefaultSqlBuilders.MultipleTablesBuilder - Class in com.github.ddth.dao.jdbc.utils
-
Build SQL statement that queries on multiple database tables.
- DefaultSqlBuilders.SelectBuilder - Class in com.github.ddth.dao.jdbc.utils
-
ISqlBuilderthat builds SELECT statement. - DefaultSqlBuilders.SingleTableBuilder - Class in com.github.ddth.dao.jdbc.utils
-
Build SQL statement that queries on one single database table.
- DefaultSqlBuilders.UpdateBuilder - Class in com.github.ddth.dao.jdbc.utils
-
ISqlBuilderthat builds UPDATE statement. - DelegateDaoNotFound() - Constructor for exception com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao.DelegateDaoNotFound
- DelegateDaoNotFound(String) - Constructor for exception com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao.DelegateDaoNotFound
- DelegateDaoNotFound(String, Throwable) - Constructor for exception com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao.DelegateDaoNotFound
- DelegateDaoNotFound(String, Throwable, boolean, boolean) - Constructor for exception com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao.DelegateDaoNotFound
- DelegateDaoNotFound(Throwable) - Constructor for exception com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao.DelegateDaoNotFound
- delete(Class<T>, T) - Method in interface com.github.ddth.dao.IGenericMultiBoDao
-
Delete an existing BO from storage.
- delete(Class<T>, T) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Delete an existing BO from storage.
- delete(String, String) - Method in interface com.github.ddth.dao.nosql.IKdStorage
-
Delete an existing entry from storage.
- delete(String, String) - Method in interface com.github.ddth.dao.nosql.IKvStorage
-
Delete an existing entry from storage.
- delete(String, String, IDeleteCallback) - Method in class com.github.ddth.dao.nosql.BaseKdDao
-
Delete an existing entry from storage.
- delete(String, String, IDeleteCallback) - Method in class com.github.ddth.dao.nosql.BaseKvDao
-
Delete an existing entry from storage.
- delete(String, String, IDeleteCallback) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Delete an existing entry from storage.
- delete(String, String, IDeleteCallback) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Delete an existing entry from storage.
- delete(String, String, IDeleteCallback) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Delete an existing entry from storage.
- delete(String, String, IDeleteCallback) - Method in interface com.github.ddth.dao.nosql.IKdStorage
-
Delete an existing entry from storage.
- delete(String, String, IDeleteCallback) - Method in interface com.github.ddth.dao.nosql.IKvStorage
-
Delete an existing entry from storage.
- delete(String, String, IDeleteCallback) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
-
Delete an existing entry from storage.
- delete(String, String, IDeleteCallback) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKvStorage
-
Delete an existing entry from storage.
- delete(Connection, T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Delete an existing BO from storage.
- delete(T) - Method in interface com.github.ddth.dao.IGenericBoDao
-
Delete an existing BO from storage.
- delete(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Delete an existing BO from storage.
- DELETE - com.github.ddth.dao.utils.CacheInvalidationReason
-
Cache item is invalidated because an item has been deleted/removed.
- DeleteBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.DeleteBuilder
- DeleteBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.DeleteBuilder
- DeleteBuilder(String, IFilter) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.DeleteBuilder
- DeleteBuilder(String, INamedParamsFilter) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.DeleteBuilder
- destroy() - Method in class com.github.ddth.dao.BaseDao
-
Destroy method.
- destroy() - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Destroying method.
- destroy() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
- destroy() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
- destroy() - Static method in class com.github.ddth.dao.utils.DbcHelper
- detectDbVendor(Connection) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Detect database vender info.
- doCount(String) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Execute "count" query.
- doCount(String) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Count number of documents within a space.
- documentToBytes(Map<String, Object>) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Serialize "document" to byte array.
- documentToBytes(Map<String, Object>) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
-
Serialize "document" to byte array.
- documentToBytes(Map<String, Object>) - Static method in class com.github.ddth.dao.utils.BoUtils
-
Serialize "document" to byte array.
- documentToBytesMap(Map<String, Object>) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Sereialize "document" to byte-array map.
- doDelete(SessionManager, String, ConsistencyLevel, String, String, IDeleteCallback) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Execute "delete" operation.
- doDelete(String, String, IDeleteCallback) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Delete a document, identified by
spaceId:key, from index. - doGet(String, String) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Fetch a document, identified by
spaceId:key, from index. - doGetBytes(SessionManager, String, ConsistencyLevel, String, String) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Execute "get" operation.
- doPutAsync(SessionManager, String, ConsistencyLevel, String, String, byte[], T, IPutCallback<T>) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Execute "put"-async action.
- doPutErrorCallback(IPutCallback<T>, String, String, T, Throwable) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
- doPutSync(SessionManager, String, ConsistencyLevel, String, String, byte[], T, IPutCallback<T>) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Execute "put"-sync action.
- DUPLICATED_UNIQUE - com.github.ddth.dao.utils.DaoResult.DaoOperationStatus
-
Deprecated.
- DUPLICATED_VALUE - com.github.ddth.dao.utils.DaoResult.DaoOperationStatus
- DuplicatedValueException - Exception in com.github.ddth.dao.utils
-
Thrown to indicate that a storage write results in violation of primary key or unique index constraint.
- DuplicatedValueException() - Constructor for exception com.github.ddth.dao.utils.DuplicatedValueException
- DuplicatedValueException(String) - Constructor for exception com.github.ddth.dao.utils.DuplicatedValueException
- DuplicatedValueException(String, Throwable) - Constructor for exception com.github.ddth.dao.utils.DuplicatedValueException
- DuplicatedValueException(String, Throwable, boolean, boolean) - Constructor for exception com.github.ddth.dao.utils.DuplicatedValueException
- DuplicatedValueException(Throwable) - Constructor for exception com.github.ddth.dao.utils.DuplicatedValueException
- duration - Variable in class com.github.ddth.dao.utils.ProfilingRecord
E
- EMPTY_ARRAY - Static variable in class com.github.ddth.dao.utils.ProfilingRecord
- equals(Object) - Method in class com.github.ddth.dao.BaseBo
- ERROR - com.github.ddth.dao.utils.DaoResult.DaoOperationStatus
- execute(String, Object...) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Execute a non-SELECT statement.
- execute(String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a non-SELECT statement.
- execute(String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a non-SELECT statement.
- execute(String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Execute a non-SELECT statement.
- execute(String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a non-SELECT statement.
- execute(String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a non-SELECT statement.
- execute(Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a non-SELECT statement.
- execute(Connection, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a non-SELECT statement.
- execute(Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.impl.DdthJdbcHelper
-
Execute a non-SELECT statement.
- execute(Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.impl.JdbcTemplateJdbcHelper
-
Execute a non-SELECT statement.
- execute(Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a non-SELECT statement.
- execute(Connection, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a non-SELECT statement.
- execute(Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.impl.DdthJdbcHelper
-
Execute a non-SELECT statement.
- execute(Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.impl.JdbcTemplateJdbcHelper
-
Execute a non-SELECT statement.
- executeSelect(IRowMapper<T>, String, Object...) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, Connection, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.impl.DdthJdbcHelper
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.impl.JdbcTemplateJdbcHelper
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, Connection, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.impl.DdthJdbcHelper
-
Execute a SELECT statement.
- executeSelect(IRowMapper<T>, Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.impl.JdbcTemplateJdbcHelper
-
Execute a SELECT statement.
- executeSelect(String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement.
- executeSelect(String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement.
- executeSelect(String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement.
- executeSelect(String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement.
- executeSelect(Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement.
- executeSelect(Connection, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement.
- executeSelect(Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement.
- executeSelect(Connection, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement.
- executeSelectAsStream(int, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(int, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(int, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(int, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(IRowMapper<T>, int, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, int, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, int, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, int, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, int, String, Object...) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, int, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, int, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, int, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, int, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, int, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, boolean, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, int, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, int, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, int, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, int, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(IRowMapper<T>, Connection, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return result as a
Stream. - executeSelectAsStream(String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, boolean, int, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, boolean, int, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, boolean, int, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, boolean, int, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, boolean, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, boolean, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, boolean, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, boolean, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, int, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, int, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, int, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, int, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectAsStream(Connection, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and return the result as a
Stream. - executeSelectOne(IRowMapper<T>, String, Object...) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(IRowMapper<T>, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(IRowMapper<T>, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(IRowMapper<T>, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(IRowMapper<T>, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(IRowMapper<T>, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(IRowMapper<T>, Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(IRowMapper<T>, Connection, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(IRowMapper<T>, Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(IRowMapper<T>, Connection, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(Connection, String, Object...) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(Connection, String, Object...) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(Connection, String, Map<String, ?>) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Execute a SELECT statement and fetch one row.
- executeSelectOne(Connection, String, Map<String, ?>) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Execute a SELECT statement and fetch one row.
- expr - Variable in class com.github.ddth.dao.jdbc.utils.ParamRawExpression
- extractAttrValue(Object) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper.ColAttrMapping
-
Extract attribute value from a BO.
- extractColumData(Object, AbstractGenericRowMapper.ColumnDataExtractor<?>) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper.ColAttrMapping
-
Extract data from DB table column and populate to BO attribute.
- extractColumnLabels(ResultSet) - Static method in class com.github.ddth.dao.utils.JdbcHelper
-
Extract column label/name from a
ResultSet.
F
- FIELD_DATA - Static variable in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
- FIELD_ID - Static variable in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
- FIELD_KEY - Static variable in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
- FIELD_SPACE_ID - Static variable in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
- FIELD_VALUE - Static variable in class com.github.ddth.dao.nosql.lucene.LuceneKvStorage
- FilterAnd() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterAnd
- FilterAnd() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterAnd
- FilterExpression(Object, String, Object) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterExpression
- FilterExpression(String, Object, String, String, Object) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterExpression
- FilterFieldValue(String, String, Object) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterFieldValue
- FilterFieldValue(String, String, Object) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterFieldValue
-
fieldAndParamNamewill be split intofield-nameandparam-nameviaNamedParamUtils.splitFieldAndParamNames(String). - FilterOptCombine() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOptCombine
- FilterOptCombine() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOptCombine
- FilterOptCombine(String) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOptCombine
- FilterOptCombine(String) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOptCombine
- FilterOr() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOr
- FilterOr() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOr
- fromByteArray(byte[]) - Method in class com.github.ddth.dao.BaseBo
-
De-serialize the BO from a byte array (previously generated by
BaseBo.toByteArray(). - fromBytes(byte[]) - Method in class com.github.ddth.dao.BaseBo
- fromBytes(byte[]) - Static method in class com.github.ddth.dao.utils.BoUtils
-
De-serialize a BO from byte array.
- fromBytes(byte[], Class<T>) - Static method in class com.github.ddth.dao.utils.BoUtils
-
De-serialize a BO from byte array.
- fromBytes(byte[], Class<T>, ClassLoader) - Static method in class com.github.ddth.dao.utils.BoUtils
-
De-serialize a BO from byte array.
- fromBytes(byte[], ClassLoader) - Static method in class com.github.ddth.dao.utils.BoUtils
-
De-serialize a BO from byte array.
- fromJson(String) - Method in class com.github.ddth.dao.BaseBo
-
De-serialize the BO from a JSON string (previously generated by
BaseBo.toJson(). - fromJson(String) - Static method in class com.github.ddth.dao.utils.BoUtils
-
De-serialize a BO from JSON string.
- fromJson(String, Class<T>) - Static method in class com.github.ddth.dao.utils.BoUtils
-
De-serialize a BO from JSON string.
- fromJson(String, Class<T>, ClassLoader) - Static method in class com.github.ddth.dao.utils.BoUtils
-
De-serialize a BO from JSON string.
- fromJson(String, ClassLoader) - Static method in class com.github.ddth.dao.utils.BoUtils
-
De-serialize a BO from JSON string.
- fromMap(Map<String, Object>) - Method in class com.github.ddth.dao.BaseBo
-
De-serialize the BO from a Java map (previously generated by
BaseBo.toMap().
G
- generateSqlDelete(String) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Generate DELETE statement to delete an existing BO.
- generateSqlInsert(String) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Generate INSERT statement to insert a BO.
- generateSqlSelect(String) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Generate SELECT statement to select a BO.
- generateSqlSelectAll(String) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Generate SELECT statement to SELECT all BOs, ordered by primary keys.
- generateSqlUpdate(String) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Generate UPDATE statement to update an existing BO.
- GenericBoJdbcDao<T> - Class in com.github.ddth.dao.jdbc
-
Generic implementation of
IGenericBoDao - GenericBoJdbcDao() - Constructor for class com.github.ddth.dao.jdbc.GenericBoJdbcDao
- GenericMultiBoJdbcDao - Class in com.github.ddth.dao.jdbc
-
Generic implementation of
IGenericMultiBoDao - GenericMultiBoJdbcDao() - Constructor for class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
- GenericMultiBoJdbcDao.DelegateDaoNotFound - Exception in com.github.ddth.dao.jdbc
-
Thrown when the delegate DAO is not found.
- get(BoId) - Method in interface com.github.ddth.dao.IGenericBoDao
-
Fetch an existing BO from storage by id.
- get(BoId) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Fetch an existing BO from storage by id.
- get(BoId...) - Method in interface com.github.ddth.dao.IGenericBoDao
-
Fetch list of existing BOs from storage by id.
- get(BoId...) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Fetch list of existing BOs from storage by id.
- get(IKdEntryMapper<T>, String, String) - Method in class com.github.ddth.dao.nosql.BaseKdDao
-
Get/Load an entry by key.
- get(IKdEntryMapper<T>, String, String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Get/Load an entry by key.
- get(IKdEntryMapper<T>, String, String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Get/Load an entry by key.
- get(IKdEntryMapper<T>, String, String) - Method in interface com.github.ddth.dao.nosql.IKdStorage
-
Get/Load an entry by key.
- get(IKdEntryMapper<T>, String, String) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
-
Get/Load an entry by key.
- get(IKvEntryMapper<T>, String, String) - Method in class com.github.ddth.dao.nosql.BaseKvDao
-
Get/Load an entry by key.
- get(IKvEntryMapper<T>, String, String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Get/Load an entry by key.
- get(IKvEntryMapper<T>, String, String) - Method in interface com.github.ddth.dao.nosql.IKvStorage
-
Get/Load an entry by key.
- get(IKvEntryMapper<T>, String, String) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKvStorage
-
Get/Load an entry by key.
- get(Class<T>, BoId) - Method in interface com.github.ddth.dao.IGenericMultiBoDao
-
Fetch an existing BO from storage by id.
- get(Class<T>, BoId) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Fetch an existing BO from storage by id.
- get(Class<T>, BoId...) - Method in interface com.github.ddth.dao.IGenericMultiBoDao
-
Fetch list of existing BOs from storage by id.
- get(Class<T>, BoId...) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Fetch list of existing BOs from storage by id.
- get(String, String) - Method in class com.github.ddth.dao.nosql.BaseKdDao
-
Get/Load an entry by key.
- get(String, String) - Method in class com.github.ddth.dao.nosql.BaseKvDao
-
Get/Load an entry by key.
- get(String, String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Get/Load an entry by key.
- get(String, String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Get/Load an entry by key.
- get(String, String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Get/Load an entry by key.
- get(String, String) - Method in interface com.github.ddth.dao.nosql.IKdStorage
-
Get/Load an entry by key.
- get(String, String) - Method in interface com.github.ddth.dao.nosql.IKvStorage
-
Get/Load an entry by key.
- get(String, String) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
-
Get/Load an entry by key.
- get(String, String) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKvStorage
-
Get/Load an entry by key.
- get(Connection, BoId) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Fetch an existing BO from storage by id.
- get(Connection, BoId...) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Fetch list of existing BOs from storage by id.
- getAll() - Method in interface com.github.ddth.dao.IGenericBoDao
-
Fetch all existing BOs from storage and return the result as a stream.
- getAll() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Fetch all existing BOs from storage and return the result as a stream.
- getAll(Class<T>) - Method in interface com.github.ddth.dao.IGenericMultiBoDao
-
Fetch all existing BOs from storage and return the result as a stream.
- getAll(Class<T>) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Fetch all existing BOs from storage and return the result as a stream.
- getAll(Connection) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Fetch all existing BOs from storage and return the result as a stream.
- getAllColumns() - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Get all DB table column names.
- getAllColumns() - Method in class com.github.ddth.dao.jdbc.annotations.AnnotatedGenericRowMapper
-
Get all DB table column names.
- getAllSorted() - Method in interface com.github.ddth.dao.IGenericBoDao
-
Fetch all existing BOs from storage, sorted by primary key(s) and return the result as a stream.
- getAllSorted() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Fetch all existing BOs from storage, sorted by primary key(s) and return the result as a stream.
- getAllSorted(Class<T>) - Method in interface com.github.ddth.dao.IGenericMultiBoDao
-
Fetch all existing BOs from storage, sorted by primary key(s) and return the result as a stream.
- getAllSorted(Class<T>) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Fetch all existing BOs from storage, sorted by primary key(s) and return the result as a stream.
- getAllSorted(Connection) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Fetch all existing BOs from storage, sorted by primary key(s) and return the result as a stream.
- getAttribute(String) - Method in class com.github.ddth.dao.BaseBo
-
Get a BO's attribute.
- getAttribute(String) - Method in class com.github.ddth.dao.BaseJsonBo
-
Get a BO's attribute.
- getAttribute(String, Class<T>) - Method in class com.github.ddth.dao.BaseBo
-
Get a BO's attribute.
- getAttribute(String, Class<T>) - Method in class com.github.ddth.dao.BaseJsonBo
-
Get a BO's attribute.
- getAttributeAsDate(String, String) - Method in class com.github.ddth.dao.BaseBo
-
Get a BO's attribute as a date.
- getAttributeAsDate(String, String) - Method in class com.github.ddth.dao.BaseJsonBo
-
Get a BO's attribute as a date.
- getAttributeOptional(String, Class<T>) - Method in class com.github.ddth.dao.BaseBo
-
Get a BO's attribute.
- getAttributeOptional(String, Class<T>) - Method in class com.github.ddth.dao.BaseJsonBo
-
Get a BO's attribute.
- getAttributes() - Method in class com.github.ddth.dao.BaseBo
-
Get all BO's attributes as a map.
- getAttributesAsJson() - Method in class com.github.ddth.dao.BaseBo
-
Get all BO's attributes as a
JsonNode. - getAttributesAsJsonString() - Method in class com.github.ddth.dao.BaseBo
-
Get all BO's attributes as a JSON-string.
- getAutoCommitPeriodMs() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
When set to a positive value, data is automatically committed periodically in a background thread.
- getCache(String) - Method in class com.github.ddth.dao.BaseDao
- getCacheFactory() - Method in class com.github.ddth.dao.BaseDao
-
Cache factory used to cache DAO data.
- getCacheKeyPrefix() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Get string prefixed to cache key.
- getCacheName() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
- getCacheName() - Method in class com.github.ddth.dao.nosql.BaseNoSqlDao
-
Name of the cache this DAO uses to cache data.
- getChecksumColumn() - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Get name of checksum column.
- getChecksumColumn() - Method in class com.github.ddth.dao.jdbc.annotations.AnnotatedGenericRowMapper
-
Get name of checksum column.
- getClassLoader() - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Class loader used by
AbstractGenericRowMapper.mapRow(ResultSet, int). - getColumnAttributeMappings() - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Get DB table column -> BO attribute mappings.
- getColumnAttributeMappings() - Method in class com.github.ddth.dao.jdbc.annotations.AnnotatedGenericRowMapper
-
Get DB table column -> BO attribute mappings.
- getColumnDocument() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Name of the table column to store "document".
- getColumnField() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Name of the table column to store "field" name.
- getColumnKey() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Name of the table column to store "key".
- getColumnKey() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Name of the table column to store "key".
- getColumnKey() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Name of the table column to store "key".
- getColumns() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
- getColumns() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
- getColumnValue() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Name of the table column to store field "value".
- getColumnValue() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Name of the table column to store "value".
- getConnection() - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Obtain a
Connectioninstance from the "default" data source, without transaction (autoCommit=false). - getConnection() - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Obtain a
Connectioninstance from the "default" data source, without transaction (autoCommit=false). - getConnection() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- getConnection(boolean) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Obtain a
Connectioninstance from the "default" data source, starts a transaction if specified. - getConnection(boolean) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Obtain a
Connectioninstance from the "default" data source, starts a transaction if specified. - getConnection(String) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Obtain a
Connectioninstance from the specified data source, without transaction (autoCommit=false). - getConnection(String) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Obtain a
Connectioninstance from the specified data source, without transaction (autoCommit=false). - getConnection(String) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Obtains a JDBC connection from a named data-source (with no transaction enabled).
- getConnection(String, boolean) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Obtain a
Connectioninstance from the specified data source, starts a transaction if specified. - getConnection(String, boolean) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Obtain a
Connectioninstance from the specified data source, starts a transaction if specified. - getConnection(String, boolean) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Obtain a
Connectioninstance from the specified data source, starts a transaction if specified. - getConnection(String, boolean) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Obtains a JDBC connection from a named data-source (start a new transaction if specified).
- getConsistencyLevelCount() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Consistency level for "count" operation.
- getConsistencyLevelDelete() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Consistency level for "delete" operation.
- getConsistencyLevelGet() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Consistency level for "get" operation.
- getConsistencyLevelPut() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Consistency level for "put" operation.
- getData() - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Get raw value of "data" field.
- getDataAttr(String) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Get a "data"'s sub-attribute using d-path.
- getDataAttr(String, Class<T>) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Get a "data"'s sub-attribute using d-path.
- getDataAttrAsDate(String, String) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Get a "data"'s sub-attribute as date.
- getDataAttrOptional(String, Class<T>) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Get a "data"'s sub-attribute using d-path.
- getDataAttrs() - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Get the "data" field as a
JsonNode. - getDataSource() - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- getDataSource(String) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- getDataSource(Connection) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Get the
DataSourcethat hosts the specifiedConnection. - getDataSources() - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- getDefaultFetchSize() - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Get default fetch size for SELECT statements.
- getDefaultKeyspace() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Default keyspace, used when no keyspace is supplied.
- getDirectory() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Getter for
BaseLuceneStorage.directory. - getFieldName() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterFieldValue
- getFieldName() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterFieldValue
- getFieldNamesAndValues() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.InsertBuilder
- getFieldNamesAndValues() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.UpdateBuilder
- getFieldNamesAndValues() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.InsertBuilder
- getFieldNamesAndValues() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.UpdateBuilder
- getFilter() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.DeleteBuilder
- getFilter() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.UpdateBuilder
- getFilter() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.DeleteBuilder
- getFilter() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.UpdateBuilder
- getFilterHaving() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
- getFilterHaving() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
- getFilters() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOptCombine
- getFilters() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOptCombine
- getFilterWhere() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
- getFilterWhere() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
- getFromCache(String, String) - Method in class com.github.ddth.dao.BaseDao
-
Get an entry from cache.
- getFromCache(String, String, Class<T>) - Method in class com.github.ddth.dao.BaseDao
-
Get an entry from cache.
- getGroupByColumns() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
- getGroupByColumns() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
- getIndexManager() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Getter for
BaseLuceneStorage.indexManager. - getIndexSearcher() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
- getIndexWriter() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
- getIndexWriterConfig() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Getter for
BaseLuceneStorage.indexWriterConfig. - getInsertColumns() - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Get DB table column names used for inserting.
- getJdbcDataSource(String) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Retrieves a registered JDBC data source by name.
- getJdbcHelper() - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
- getKdStorage() - Method in class com.github.ddth.dao.nosql.BaseKdDao
-
Getter for
BaseKdDao.kdStorage. - getKvStorage() - Method in class com.github.ddth.dao.nosql.BaseKvDao
-
Getter for
BaseKvDao.kvStorage. - getLeftParamName() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterExpression
- getLeftValue() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterExpression
- getLeftValue() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterExpression
- getLimitNumRows() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
- getLimitNumRows() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
- getOperator() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterExpression
- getOperator() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterFieldValue
- getOperator() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOptCombine
- getOperator() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterExpression
- getOperator() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterFieldValue
- getOperator() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOptCombine
- getOutput() - Method in class com.github.ddth.dao.utils.DaoResult
- getParamName() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterFieldValue
- getPrimaryKeyColumns() - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Get primary-key column names.
- getPrimaryKeyColumns() - Method in class com.github.ddth.dao.jdbc.annotations.AnnotatedGenericRowMapper
-
Get primary-key column names.
- getProfiling() - Static method in class com.github.ddth.dao.BaseDao
-
Gets current profiling data.
- getResultSet() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- getResultSetMetaData() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- getRightParamName() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterExpression
- getRightValue() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterExpression
- getRightValue() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterExpression
- getRowMapper() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
- getRowNum() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
-
Get current row number.
- getSelectStatement() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- getSessionManager() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Getter for
BaseCassandraStorage.sessionManager. - getSetterMethod(Object) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper.ColAttrMapping
- getSorting() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
- getSorting() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
- getSQLErrorCodesFactory() - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- getSQLExceptionTranslator(Connection) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- getStartOffset() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
- getStartOffset() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
- getStatus() - Method in class com.github.ddth.dao.utils.DaoResult
- getSubAttr(String, String) - Method in class com.github.ddth.dao.BaseJsonBo
-
Get a sub-attribute using d-path.
- getSubAttr(String, String, Class<T>) - Method in class com.github.ddth.dao.BaseJsonBo
-
Get a sub-attribute using d-path.
- getSubAttrAsDate(String, String, String) - Method in class com.github.ddth.dao.BaseJsonBo
-
Get a sub-attribute as a date using d-path.
- getSubAttrOptional(String, String, Class<T>) - Method in class com.github.ddth.dao.BaseJsonBo
-
Get a sub-attribute using d-path.
- getTableName() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
- getTableName() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SingleTableBuilder
- getTableName() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SingleTableBuilder
- getTableNames() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.MultipleTablesBuilder
- getTableNames() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.MultipleTablesBuilder
- getTypeClass() - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
- getTypeClass() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
- getUpdateColumns() - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Get DB table column names used for updating.
- getUpdateColumns() - Method in class com.github.ddth.dao.jdbc.annotations.AnnotatedGenericRowMapper
-
Get DB table column names used for updating.
- getValue() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterFieldValue
- getValue() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterFieldValue
- getValue() - Method in enum com.github.ddth.dao.utils.CacheInvalidationReason
- getValue() - Method in enum com.github.ddth.dao.utils.DaoResult.DaoOperationStatus
- getValue() - Method in enum com.github.ddth.dao.utils.DatabaseVendor
- getValues() - Method in class com.github.ddth.dao.BoId
- getVendor() - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.BaseFilter
- getVendor() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.BaseFilter
- getVendor() - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.BaseBuilder
- getVendor() - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.BaseBuilder
H
- hashCode() - Method in class com.github.ddth.dao.BaseBo
- hasNext() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
I
- IDeleteCallback - Interface in com.github.ddth.dao.nosql
-
Callback for DELETE operation.
- IFilter - Interface in com.github.ddth.dao.jdbc.utils
-
Abstract interface to build SQL's "filter" statement (WHERE/HAVING/etc)
- IGenericBoDao<T> - Interface in com.github.ddth.dao
-
API interface for DAO that manages one single BO class.
- IGenericMultiBoDao - Interface in com.github.ddth.dao
-
API interface for DAO that manages multi-BO classes.
- IJdbcHelper - Interface in com.github.ddth.dao.jdbc
-
An interface that provides APIs to interact with the underlying JDBC.
- IKdEntryMapper<T> - Interface in com.github.ddth.dao.nosql
-
APIs to map
key-documententry to object. - IKdStorage - Interface in com.github.ddth.dao.nosql
-
APIs to access the {key:document} NoSQL storage.
- IKvEntryMapper<T> - Interface in com.github.ddth.dao.nosql
-
APIs to map
key-valueentry to object. - IKvStorage - Interface in com.github.ddth.dao.nosql
-
APIs to access the {key:value} NoSQL storage.
- INamedParamsFilter - Interface in com.github.ddth.dao.jdbc.utils
-
Abstract interface to build SQL's "filter" statement (WHERE/HAVING/etc) with named-parameters.
- INamedParamsSqlBuilder - Interface in com.github.ddth.dao.jdbc.utils
-
Abstract interface to build SQL statements with named-parameters.
- init() - Method in class com.github.ddth.dao.BaseDao
-
Initializing method.
- init() - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Initializing method.
- init() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
- init() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- init() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
- init() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
- init() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
- init() - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
- init() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
- init() - Static method in class com.github.ddth.dao.utils.DbcHelper
- initAttributes(Map<String, T>) - Method in class com.github.ddth.dao.BaseBo
- InsertBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.InsertBuilder
- InsertBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.InsertBuilder
- InsertBuilder(String) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.InsertBuilder
- InsertBuilder(String) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.InsertBuilder
- InsertBuilder(String, Map<String, Object>) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.InsertBuilder
- InsertBuilder(String, Map<String, Object>) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.InsertBuilder
- INSTANCE - Static variable in class com.github.ddth.dao.jdbc.impl.UniversalRowMapper
- invalidateCache(T, CacheInvalidationReason) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Invalidate a BO from cache.
- invalidateCacheEntry(String, String) - Method in class com.github.ddth.dao.nosql.BaseNoSqlDao
-
Invalidate a cache entry.
- invalidateCacheEntry(String, String, Object) - Method in class com.github.ddth.dao.nosql.BaseNoSqlDao
-
Invalidate a cache entry due to updated content.
- IPutCallback<T> - Interface in com.github.ddth.dao.nosql
-
Callback for PUT operation.
- IRowMapper<T> - Interface in com.github.ddth.dao.jdbc
-
An interface to map
ResultSetto object. - isAsyncDelete() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
"delete" operation should be async or not (default value
false)? - isAsyncPut() - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
"put" operation should be async or not (default value
false)? - isAsyncWrite() - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
In async-write mode, update operations (delete/put) are performed but not committed, which yields higher update performance but data may be lost in case of JVM crash (default value
false)? - isCacheEnabled() - Method in class com.github.ddth.dao.BaseDao
- isCacheItemsExpireAfterWrite() - Method in class com.github.ddth.dao.BaseDao
-
Check if cache items, by default, expire after write or read/access.
- isClosed() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
-
Is this iterator closed?
- isDirty() - Method in class com.github.ddth.dao.BaseBo
-
Has the BO been changed?
- ISqlBuilder - Interface in com.github.ddth.dao.jdbc.utils
-
Abstract interface to build SQL statements.
- isUpsertInTransaction() - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Should "upsert" (
GenericBoJdbcDao.createOrUpdate(Object)andGenericBoJdbcDao.updateOrCreate(Object)be done in a transaction context?
J
- JdbcHelper - Class in com.github.ddth.dao.utils
-
Jdbc Helper class.
- JdbcHelper() - Constructor for class com.github.ddth.dao.utils.JdbcHelper
- jdbcTemplate() - Method in class com.github.ddth.dao.jdbc.impl.JdbcTemplateJdbcHelper
-
Get a
JdbcTemplateinstance. - jdbcTemplate(Connection) - Method in class com.github.ddth.dao.jdbc.impl.JdbcTemplateJdbcHelper
-
Get
JdbcTemplateinstance for a givenConnection. - JdbcTemplateJdbcHelper - Class in com.github.ddth.dao.jdbc.impl
-
This implementation of
IJdbcHelperutilizes Spring'sJdbcTemplateto interact with database. - JdbcTemplateJdbcHelper() - Constructor for class com.github.ddth.dao.jdbc.impl.JdbcTemplateJdbcHelper
K
- keyExists(String, String) - Method in class com.github.ddth.dao.nosql.BaseKdDao
-
Check if a key exists.
- keyExists(String, String) - Method in class com.github.ddth.dao.nosql.BaseKvDao
-
Check if a key exists.
- keyExists(String, String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Check if a key exists.
- keyExists(String, String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Check if a key exists.
- keyExists(String, String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Check if a key exists.
- keyExists(String, String) - Method in interface com.github.ddth.dao.nosql.IKdStorage
-
Check if a key exists.
- keyExists(String, String) - Method in interface com.github.ddth.dao.nosql.IKvStorage
-
Check if a key exists.
- keyExists(String, String) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
-
Check if a key exists.
- keyExists(String, String) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKvStorage
-
Check if a key exists.
L
- lockForRead() - Method in class com.github.ddth.dao.BaseBo
-
Lock the BO for read.
- lockForWrite() - Method in class com.github.ddth.dao.BaseBo
-
Lock the BO for write.
- lookupDelegateDao(Class<T>) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Lookup the delegate dao.
- LuceneKdStorage - Class in com.github.ddth.dao.nosql.lucene
-
Lucene implementation of {key:document} NoSQL storage.
- LuceneKdStorage() - Constructor for class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
- LuceneKvStorage - Class in com.github.ddth.dao.nosql.lucene
-
Lucene implementation of {key:value} NoSQL storage.
- LuceneKvStorage() - Constructor for class com.github.ddth.dao.nosql.lucene.LuceneKvStorage
M
- mapEntry(String, String, byte[]) - Method in interface com.github.ddth.dao.nosql.IKvEntryMapper
-
Map a
key-valueentry to object. - mapEntry(String, String, Map<String, Object>) - Method in interface com.github.ddth.dao.nosql.IKdEntryMapper
-
Map a
key-documententry to object. - mapRow(ResultSet, int) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Transform a DB row from
ResultSetto a business object. - mapRow(ResultSet, int) - Method in class com.github.ddth.dao.jdbc.impl.UniversalRowMapper
-
Transform a DB row from
ResultSetto a business object. - mapRow(ResultSet, int) - Method in interface com.github.ddth.dao.jdbc.IRowMapper
-
Transform a DB row from
ResultSetto a business object. - markClean() - Method in class com.github.ddth.dao.BaseBo
-
Mark that the BO is no longer dirty.
- markDirty() - Method in class com.github.ddth.dao.BaseBo
-
Mark that the BO is dirty.
- MSSQL - com.github.ddth.dao.utils.DatabaseVendor
- MultipleTablesBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.MultipleTablesBuilder
- MultipleTablesBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.MultipleTablesBuilder
- MultipleTablesBuilder(Collection<String>) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.MultipleTablesBuilder
- MultipleTablesBuilder(Collection<String>) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.MultipleTablesBuilder
- MYSQL - com.github.ddth.dao.utils.DatabaseVendor
N
- namedParameterJdbcTemplate() - Method in class com.github.ddth.dao.jdbc.impl.JdbcTemplateJdbcHelper
-
Get a
NamedParameterJdbcTemplateinstance. - namedParameterJdbcTemplate(Connection) - Method in class com.github.ddth.dao.jdbc.impl.JdbcTemplateJdbcHelper
-
Get
NamedParameterJdbcTemplateinstance for a givenConnection. - NamedParamUtils - Class in com.github.ddth.dao.jdbc.utils
- NamedParamUtils() - Constructor for class com.github.ddth.dao.jdbc.utils.NamedParamUtils
- next() - Method in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- NOT_FOUND - com.github.ddth.dao.utils.DaoResult.DaoOperationStatus
O
- onError(String, String, Throwable) - Method in interface com.github.ddth.dao.nosql.IDeleteCallback
-
Called when DELETE operation failed.
- onError(String, String, T, Throwable) - Method in interface com.github.ddth.dao.nosql.IPutCallback
-
Called when PUT operation failed.
- onSuccess(String, String) - Method in interface com.github.ddth.dao.nosql.IDeleteCallback
-
Called when DELETE operation successful.
- onSuccess(String, String, T) - Method in interface com.github.ddth.dao.nosql.IPutCallback
-
Called when PUT operation was successful.
- ORACLE - com.github.ddth.dao.utils.DatabaseVendor
P
- ParamRawExpression - Class in com.github.ddth.dao.jdbc.utils
-
Used to pass a raw expression to a SQL statement.
- ParamRawExpression(String) - Constructor for class com.github.ddth.dao.jdbc.utils.ParamRawExpression
- parseData() - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
- perform(String) - Method in interface com.github.ddth.dao.jdbc.AbstractGenericRowMapper.ColumnDataExtractor
- POSTGRESQL - com.github.ddth.dao.utils.DatabaseVendor
- prepareAndBindNamedParamsStatement(Connection, String, int, int, int, Map<String, ?>) - Static method in class com.github.ddth.dao.utils.JdbcHelper
-
Prepare and bind parameter values a named-parameter statement.
- prepareAndBindNamedParamsStatement(Connection, String, int, int, Map<String, ?>) - Static method in class com.github.ddth.dao.utils.JdbcHelper
-
Prepare and bind parameter values a named-parameter statement.
- prepareAndBindNamedParamsStatement(Connection, String, Map<String, ?>) - Static method in class com.github.ddth.dao.utils.JdbcHelper
-
Prepare and bind parameter values a named-parameter statement.
- PrimaryKeyColumns - Annotation Type in com.github.ddth.dao.jdbc.annotations
-
Annotation to mark DB table column list for primary key.
- ProfilingRecord - Class in com.github.ddth.dao.utils
-
Captures profiling record of a storage action.
- ProfilingRecord() - Constructor for class com.github.ddth.dao.utils.ProfilingRecord
- ProfilingRecord(long, String, long) - Constructor for class com.github.ddth.dao.utils.ProfilingRecord
- put(String, String, byte[]) - Method in interface com.github.ddth.dao.nosql.IKvStorage
-
Put/Store an entry.
- put(String, String, byte[], IPutCallback<byte[]>) - Method in class com.github.ddth.dao.nosql.BaseKvDao
-
Put/Store an entry.
- put(String, String, byte[], IPutCallback<byte[]>) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Put/Store an entry.
- put(String, String, byte[], IPutCallback<byte[]>) - Method in interface com.github.ddth.dao.nosql.IKvStorage
-
Put/Store an entry.
- put(String, String, byte[], IPutCallback<byte[]>) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKvStorage
-
Put/Store an entry.
- put(String, String, Map<String, Object>) - Method in interface com.github.ddth.dao.nosql.IKdStorage
-
Put/Store an entry.
- put(String, String, Map<String, Object>, IPutCallback<Map<String, Object>>) - Method in class com.github.ddth.dao.nosql.BaseKdDao
-
Put/Store an entry.
- put(String, String, Map<String, Object>, IPutCallback<Map<String, Object>>) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Put/Store an entry.
- put(String, String, Map<String, Object>, IPutCallback<Map<String, Object>>) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Put/Store an entry.
- put(String, String, Map<String, Object>, IPutCallback<Map<String, Object>>) - Method in interface com.github.ddth.dao.nosql.IKdStorage
-
Put/Store an entry.
- put(String, String, Map<String, Object>, IPutCallback<Map<String, Object>>) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
-
Put/Store an entry.
- putToCache(String, String, Object) - Method in class com.github.ddth.dao.BaseDao
-
Put an entry to cache, with default TTL.
- putToCache(String, String, Object, long) - Method in class com.github.ddth.dao.BaseDao
-
Put an entry to cache, with specific TTL.
- putToCache(String, String, Object, long, long) - Method in class com.github.ddth.dao.BaseDao
-
Put an entry to cache, with specific
expireAfterWriteSeconds/expireAfterAccessSeconds.
R
- readLock() - Method in class com.github.ddth.dao.BaseBo
-
Obtain the BO's "read" lock.
- registerJdbcDataSource(String, DataSource) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Registers a named JDBC datasource.
- removeAttribute(String) - Method in class com.github.ddth.dao.BaseBo
-
Remove a BO's attribute.
- removeAttribute(String, boolean) - Method in class com.github.ddth.dao.BaseBo
-
Remove a BO's attribute.
- removeDataAttr(String) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Remove a "data"'s sub-attribute using d-path.
- removeFromCache(String, String) - Method in class com.github.ddth.dao.BaseDao
-
Remove an entry from cache.
- removeSubAttr(String, String) - Method in class com.github.ddth.dao.BaseJsonBo
-
Remove a sub-attribute.
- resultSet - Variable in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- ResultSetIterator<T> - Class in com.github.ddth.dao.jdbc.impl
-
Iteratorimplementation that support iterating through aResultSet. - ResultSetIterator(IRowMapper<T>, PreparedStatement) - Constructor for class com.github.ddth.dao.jdbc.impl.ResultSetIterator
-
Construct a new
ResultSetIteratorobject, supplied with a ready-to-execute SELECT-Statement. - ResultSetIterator(IRowMapper<T>, ResultSet) - Constructor for class com.github.ddth.dao.jdbc.impl.ResultSetIterator
-
Construct a new
ResultSetIteratorobject, supplied with an openResultSet. - ResultSetIterator(Connection, IRowMapper<T>, PreparedStatement) - Constructor for class com.github.ddth.dao.jdbc.impl.ResultSetIterator
-
Construct a new
ResultSetIteratorobject, supplied with a ready-to-execute SELECT-Statement. - ResultSetIterator(Connection, IRowMapper<T>, ResultSet) - Constructor for class com.github.ddth.dao.jdbc.impl.ResultSetIterator
-
Construct a new
ResultSetIteratorobject, supplied with an openResultSet. - resultSetMetaData - Variable in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- returnConnection(Connection) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Return a previously obtained
ConnectionviaIJdbcHelper.getConnection()orIJdbcHelper.getConnection(boolean). - returnConnection(Connection) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Return a previously obtained
ConnectionviaIJdbcHelper.getConnection()orIJdbcHelper.getConnection(boolean). - returnConnection(Connection) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Return a previously obtained
ConnectionviaIJdbcHelper.getConnection()orIJdbcHelper.getConnection(boolean). - returnConnection(Connection) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Returns a JDBC connection obtained from
DbcHelper.getConnection(String). - rollbackTransaction(Connection) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Rollback a transaction.
- rollbackTransaction(Connection) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Rollback a transaction.
- rollbackTransaction(Connection) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Rollback a transaction.
- rollbackTransaction(Connection) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Rollbacks a transaction.
- rowMapper - Variable in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- rowNum - Variable in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
S
- SelectBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
- SelectBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
- selectStatement - Variable in class com.github.ddth.dao.jdbc.impl.ResultSetIterator
- SER_FIELD_ATTRS - Static variable in class com.github.ddth.dao.BaseBo
- SER_FIELD_DIRTY - Static variable in class com.github.ddth.dao.BaseBo
- setAsyncDelete(boolean) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
"delete" operation should be async or not (default value
false)? - setAsyncPut(boolean) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
"put" operation should be async or not (default value
false)? - setAsyncWrite(boolean) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
In async-write mode, update operations (delete/put) are performed but not committed, which yields higher update performance but data may be lost in case of JVM crash (default value
false)? - setAttribute(String, Object) - Method in class com.github.ddth.dao.BaseBo
-
Set a BO's attribute.
- setAttribute(String, Object) - Method in class com.github.ddth.dao.BaseJsonBo
-
Set a BO's attribute.
- setAttribute(String, Object, boolean) - Method in class com.github.ddth.dao.BaseBo
-
Set a BO's attribute.
- setAttribute(String, Object, boolean) - Method in class com.github.ddth.dao.BaseJsonBo
-
Set a BO's attribute.
- setAttributes(JsonNode) - Method in class com.github.ddth.dao.BaseBo
-
Set all BO's attributes.
- setAttributes(String) - Method in class com.github.ddth.dao.BaseBo
-
Set all BO's attributes.
- setAttributes(Map<String, Object>) - Method in class com.github.ddth.dao.BaseBo
-
Set all BO's attributes.
- setAutoCommitPeriodMs(long) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
When set to a positive value, data is automatically committed periodically in a background thread.
- setCacheFactory(ICacheFactory) - Method in class com.github.ddth.dao.BaseDao
-
Cache factory used to cache DAO data.
- setCacheItemsExpireAfterWrite(boolean) - Method in class com.github.ddth.dao.BaseDao
-
Set if cache items, by default, expire after write or read/access.
- setCacheKeyPrefix(String) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Set string prefixed to cache key.
- setCacheName(String) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
- setCacheName(String) - Method in class com.github.ddth.dao.nosql.BaseNoSqlDao
-
Name of the cache this DAO uses to cache data.
- setColumnDocument(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Name of the table column to store "document".
- setColumnField(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Name of the table column to store "field" name.
- setColumnKey(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Name of the table column to store "key".
- setColumnKey(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Name of the table column to store "key".
- setColumnKey(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Name of the table column to store "key".
- setColumnValue(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Name of the table column to store field "value".
- setColumnValue(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Name of the table column to store "value".
- setConsistencyLevelCount(ConsistencyLevel) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Consistency level for "count" operation.
- setConsistencyLevelDelete(ConsistencyLevel) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Consistency level for "delete" operation.
- setConsistencyLevelGet(ConsistencyLevel) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Consistency level for "get" operation.
- setConsistencyLevelPut(ConsistencyLevel) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Consistency level for "put" operation.
- setData(JsonNode) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Set the whole "data" field.
- setData(Object) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Set the whole "data" field.
- setData(String) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Set the whole "data" field.
- setDataAttr(String, Object) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Set a "data"'s sub-attribute using d-path.
- setDataSource(String, DataSource) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- setDataSource(DataSource) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- setDataSources(Map<String, DataSource>) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- setDefaultFetchSize(int) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Set default fetch size for SELECT statements.
- setDefaultKeyspace(String) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Default keyspace, used when no keyspace is supplied.
- setDelegateDaos(Map<?, IGenericBoDao<?>>) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Set delegate dao mappings.
- setDirectory(Directory) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Setter for
BaseLuceneStorage.directory. - setIndexManager(IndexManager) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Setter for
BaseLuceneStorage.indexManager. - setIndexWriterConfig(IndexWriterConfig) - Method in class com.github.ddth.dao.nosql.lucene.BaseLuceneStorage
-
Setter for
BaseLuceneStorage.indexWriterConfig. - setJdbcHelper(IJdbcHelper) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
- setKdStorage(IKdStorage) - Method in class com.github.ddth.dao.nosql.BaseKdDao
-
Setter for
BaseKdDao.kdStorage. - setKvStorage(IKvStorage) - Method in class com.github.ddth.dao.nosql.BaseKvDao
-
Setter for
BaseKvDao.kvStorage. - setRowMapper(AbstractGenericRowMapper<T>) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
- setSessionManager(SessionManager) - Method in class com.github.ddth.dao.nosql.cassandra.BaseCassandraStorage
-
Setter for
BaseCassandraStorage.sessionManager. - setSubAttr(String, String, Object) - Method in class com.github.ddth.dao.BaseJsonBo
-
Set a sub-attribute.
- setTableName(String) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
- setUpsertInTransaction(boolean) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Should "upsert" (
GenericBoJdbcDao.createOrUpdate(Object)andGenericBoJdbcDao.updateOrCreate(Object)be done in a transaction context? - SingleTableBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SingleTableBuilder
- SingleTableBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SingleTableBuilder
- SingleTableBuilder(String) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SingleTableBuilder
- SingleTableBuilder(String) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SingleTableBuilder
- size(String) - Method in class com.github.ddth.dao.nosql.BaseKdDao
-
Return number of entries.
- size(String) - Method in class com.github.ddth.dao.nosql.BaseKvDao
-
Return number of entries.
- size(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdBytesStorage
-
Return number of entries.
- size(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKdWideColumnStorage
-
Return number of entries.
- size(String) - Method in class com.github.ddth.dao.nosql.cassandra.CassandraKvStorage
-
Return number of entries.
- size(String) - Method in interface com.github.ddth.dao.nosql.IKdStorage
-
Return number of entries.
- size(String) - Method in interface com.github.ddth.dao.nosql.IKvStorage
-
Return number of entries.
- size(String) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKdStorage
-
Return number of entries.
- size(String) - Method in class com.github.ddth.dao.nosql.lucene.LuceneKvStorage
-
Return number of entries.
- splitFieldAndParamNames(String) - Static method in class com.github.ddth.dao.jdbc.utils.NamedParamUtils
-
Split the supplied input into field name and parameter names.
- startProfiling() - Static method in class com.github.ddth.dao.BaseDao
-
Initializes profiling data.
- startTransaction(Connection) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
-
Start a transaction.
- startTransaction(Connection) - Method in class com.github.ddth.dao.jdbc.BaseJdbcDao
-
Start a transaction.
- startTransaction(Connection) - Method in interface com.github.ddth.dao.jdbc.IJdbcHelper
-
Start a transaction.
- startTransaction(Connection) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Starts a transaction.
- SUCCESSFUL - com.github.ddth.dao.utils.DaoResult.DaoOperationStatus
T
- tableNames - Variable in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.MultipleTablesBuilder
- tableNames - Variable in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.MultipleTablesBuilder
- timestamp - Variable in class com.github.ddth.dao.utils.ProfilingRecord
- toByteArray() - Method in class com.github.ddth.dao.BaseBo
-
Serialize the BO to byte array.
- toBytes() - Method in class com.github.ddth.dao.BaseBo
- toBytes(BaseBo) - Static method in class com.github.ddth.dao.utils.BoUtils
-
Serialize a BO to a byte array.
- toJson() - Method in class com.github.ddth.dao.BaseBo
-
Serialize the BO to JSON string.
- toJson(BaseBo) - Static method in class com.github.ddth.dao.utils.BoUtils
-
Serialize a BO to JSON string.
- toMap() - Method in class com.github.ddth.dao.BaseBo
-
Serialize the BO to a Java map.
- toString() - Method in class com.github.ddth.dao.BaseBo
- toString() - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper.ColAttrMapping
- toString() - Method in class com.github.ddth.dao.jdbc.utils.BuildNamedParamsSqlResult
- toString() - Method in class com.github.ddth.dao.jdbc.utils.BuildSqlResult
- toString() - Method in class com.github.ddth.dao.jdbc.utils.ParamRawExpression
- toString() - Method in class com.github.ddth.dao.utils.DaoResult
- translate(DataAccessException) - Static method in exception com.github.ddth.dao.utils.DaoException
-
Translate to
DaoException. - translateSQLException(Connection, String, String, SQLException) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- translateSQLException(Connection, SQLException) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- translateSQLException(DataAccessException) - Method in class com.github.ddth.dao.jdbc.AbstractJdbcHelper
- triggerChange(String) - Method in class com.github.ddth.dao.BaseBo
-
Called when one of BO's attributes is changed (added, updated or removed).
- triggerChange(String) - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Called when one of BO's attributes is changed (added, updated or removed).
- triggerChange(String) - Method in class com.github.ddth.dao.BaseJsonBo
-
Called when one of BO's attributes is changed (added, updated or removed).
- triggerPopulate() - Method in class com.github.ddth.dao.BaseBo
-
Called when the BO's entire attribute set are (re)populated.
- triggerPopulate() - Method in class com.github.ddth.dao.BaseDataJsonFieldBo
-
Called when the BO's entire attribute set are (re)populated.
- triggerPopulate() - Method in class com.github.ddth.dao.BaseJsonBo
-
Called when the BO's entire attribute set are (re)populated.
- tryLockForRead() - Method in class com.github.ddth.dao.BaseBo
-
Try to lock the BO for read.
- tryLockForRead(long, TimeUnit) - Method in class com.github.ddth.dao.BaseBo
-
Try to lock the BO for read.
- tryLockForWrite() - Method in class com.github.ddth.dao.BaseBo
-
Try to lock the BO for write.
- tryLockForWrite(long, TimeUnit) - Method in class com.github.ddth.dao.BaseBo
-
Try to lock the BO for write.
U
- UniversalRowMapper - Class in com.github.ddth.dao.jdbc.impl
- UniversalRowMapper() - Constructor for class com.github.ddth.dao.jdbc.impl.UniversalRowMapper
- UNKNOWN - com.github.ddth.dao.utils.DatabaseVendor
- unlockForRead() - Method in class com.github.ddth.dao.BaseBo
-
Release the "read"-lock.
- unlockForWrite() - Method in class com.github.ddth.dao.BaseBo
-
Release the "write"-lock.
- unregisterJdbcDataSource(String) - Static method in class com.github.ddth.dao.utils.DbcHelper
-
Unregisters a JDBC datasource by name.
- update(Class<T>, T) - Method in interface com.github.ddth.dao.IGenericMultiBoDao
-
Update an existing BO.
- update(Class<T>, T) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Update an existing BO.
- update(Connection, T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Update an existing BO.
- update(T) - Method in interface com.github.ddth.dao.IGenericBoDao
-
Update an existing BO.
- update(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Update an existing BO.
- UPDATE - com.github.ddth.dao.utils.CacheInvalidationReason
-
Cache item is invalidated because an item has been updated/modified.
- UpdateBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.UpdateBuilder
- UpdateBuilder() - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.UpdateBuilder
- UpdateBuilder(String) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.UpdateBuilder
- UpdateBuilder(String) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.UpdateBuilder
- UpdateBuilder(String, Map<String, Object>, IFilter) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.UpdateBuilder
- UpdateBuilder(String, Map<String, Object>, INamedParamsFilter) - Constructor for class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.UpdateBuilder
- UpdateColumns - Annotation Type in com.github.ddth.dao.jdbc.annotations
-
Annotation to mark DB table column list for update.
- updateOrCreate(Class<T>, T) - Method in interface com.github.ddth.dao.IGenericMultiBoDao
-
Update an existing BO or create a new one.
- updateOrCreate(Class<T>, T) - Method in class com.github.ddth.dao.jdbc.GenericMultiBoJdbcDao
-
Update an existing BO or create a new one.
- updateOrCreate(Connection, T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Update an existing BO or create a new one.
- updateOrCreate(T) - Method in interface com.github.ddth.dao.IGenericBoDao
-
Update an existing BO or create a new one.
- updateOrCreate(T) - Method in class com.github.ddth.dao.jdbc.GenericBoJdbcDao
-
Update an existing BO or create a new one.
V
- value() - Method in annotation type com.github.ddth.dao.jdbc.annotations.ChecksumColumn
- value() - Method in annotation type com.github.ddth.dao.jdbc.annotations.ColumnAttributeMappings
- value() - Method in annotation type com.github.ddth.dao.jdbc.annotations.PrimaryKeyColumns
- value() - Method in annotation type com.github.ddth.dao.jdbc.annotations.UpdateColumns
- valueOf(String) - Static method in enum com.github.ddth.dao.utils.CacheInvalidationReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.ddth.dao.utils.DaoResult.DaoOperationStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.github.ddth.dao.utils.DatabaseVendor
-
Returns the enum constant of this type with the specified name.
- values - Variable in class com.github.ddth.dao.BoId
- values() - Static method in enum com.github.ddth.dao.utils.CacheInvalidationReason
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.ddth.dao.utils.DaoResult.DaoOperationStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.github.ddth.dao.utils.DatabaseVendor
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valuesForColumns(T, String...) - Method in class com.github.ddth.dao.jdbc.AbstractGenericRowMapper
-
Extract attribute values from a BO for corresponding DB table columns
W
- withColumns(String...) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Specify list of column names.
- withColumns(String...) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Specify list of column names.
- withColumns(Collection<String>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Specify list of column names.
- withColumns(Collection<String>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Specify list of column names.
- withFilter(IFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.DeleteBuilder
-
Specify the filter.
- withFilter(IFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.UpdateBuilder
-
Filter for "WHERE" clause.
- withFilter(INamedParamsFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.DeleteBuilder
-
Specify the filter.
- withFilter(INamedParamsFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.UpdateBuilder
-
Filter for "WHERE" clause.
- withFilterHaving(IFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Filter for "HAVING" clause.
- withFilterHaving(INamedParamsFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Filter for "HAVING" clause.
- withFilterWhere(IFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Filter for "WHERE" clause.
- withFilterWhere(INamedParamsFilter) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Filter for "WHERE" clause.
- withGroupByColumns(String...) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Specify list of column names for "group by" clause.
- withGroupByColumns(String...) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Specify list of column names for "group by" clause.
- withGroupByColumns(Collection<String>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Specify list of column names for "group by" clause.
- withGroupByColumns(Collection<String>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Specify list of column names for "group by" clause.
- withLimit(int) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Specify value(s) for "limit" clause.
- withLimit(int) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Specify value(s) for "limit" clause.
- withLimit(int, int) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Specify value(s) for "limit" clause.
- withLimit(int, int) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Specify value(s) for "limit" clause.
- withOperator(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterAnd
-
Set the "and" operator (default value is AND).
- withOperator(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOptCombine
-
Set the operator.
- withOperator(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.FilterOr
-
Set the "or" operator (default value is OR).
- withOperator(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterAnd
-
Set the "and" operator (default value is AND).
- withOperator(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOptCombine
-
Set the operator.
- withOperator(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.FilterOr
-
Set the "or" operator (default value is OR).
- withSorting(Map<String, Boolean>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SelectBuilder
-
Set sorting parameters (to build the ORDER BY clause).
- withSorting(Map<String, Boolean>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SelectBuilder
-
Set sorting parameters (to build the ORDER BY clause).
- withTableName(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.SingleTableBuilder
-
Specify the database table name.
- withTableName(String) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.SingleTableBuilder
-
Specify the database table name.
- withTableNames(String...) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.MultipleTablesBuilder
- withTableNames(String...) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.MultipleTablesBuilder
- withTableNames(Collection<String>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.MultipleTablesBuilder
- withTableNames(Collection<String>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.MultipleTablesBuilder
- withValues(Map<String, Object>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.InsertBuilder
- withValues(Map<String, Object>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.UpdateBuilder
- withValues(Map<String, Object>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.InsertBuilder
- withValues(Map<String, Object>) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.UpdateBuilder
- withVendor(DatabaseVendor) - Method in class com.github.ddth.dao.jdbc.utils.DefaultFilters.BaseFilter
-
Specify the database vendor.
- withVendor(DatabaseVendor) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParamsFilters.BaseFilter
-
Specify the database vendor.
- withVendor(DatabaseVendor) - Method in class com.github.ddth.dao.jdbc.utils.DefaultNamedParramsSqlBuilders.BaseBuilder
-
Specify the database vendor.
- withVendor(DatabaseVendor) - Method in class com.github.ddth.dao.jdbc.utils.DefaultSqlBuilders.BaseBuilder
-
Specify the database vendor.
- wrapCallback(IDeleteCallback) - Method in class com.github.ddth.dao.nosql.BaseNoSqlDao
- writeLock() - Method in class com.github.ddth.dao.BaseBo
-
Obtain the BO's "write" lock.
All Classes All Packages