Package tigase.archive.unified.db
Class JDBCUnifiedArchiveRepository.Item
- java.lang.Object
-
- tigase.archive.db.JDBCMessageArchiveRepository.Item<QueryCriteria>
-
- tigase.archive.unified.db.JDBCUnifiedArchiveRepository.Item
-
- All Implemented Interfaces:
tigase.archive.db.MessageArchiveRepository.Item,UnifiedArchiveRepository.Item,tigase.xmpp.mam.MAMRepository.Item
- Enclosing class:
- JDBCUnifiedArchiveRepository
protected static class JDBCUnifiedArchiveRepository.Item extends tigase.archive.db.JDBCMessageArchiveRepository.Item<QueryCriteria> implements UnifiedArchiveRepository.Item
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCondition()java.lang.LonggetDuration()UnifiedArchiveRepository.ItemTypegetItemType()protected intread(tigase.db.DataRepository repo, java.sql.ResultSet rs, QueryCriteria crit)-
Methods inherited from class tigase.archive.db.JDBCMessageArchiveRepository.Item
getDirection, getId, getMessage, getTimestamp, getWith
-
-
-
-
Method Detail
-
getItemType
public UnifiedArchiveRepository.ItemType getItemType()
- Specified by:
getItemTypein interfaceUnifiedArchiveRepository.Item
-
getDuration
public java.lang.Long getDuration()
- Specified by:
getDurationin interfaceUnifiedArchiveRepository.Item
-
getCondition
public java.lang.String getCondition()
- Specified by:
getConditionin interfaceUnifiedArchiveRepository.Item
-
read
protected int read(tigase.db.DataRepository repo, java.sql.ResultSet rs, QueryCriteria crit) throws java.sql.SQLException- Overrides:
readin classtigase.archive.db.JDBCMessageArchiveRepository.Item<QueryCriteria>- Throws:
java.sql.SQLException
-
-