Package sk.iway.iwcm.rag.jpa
Class IndexQueueEntity
java.lang.Object
sk.iway.iwcm.rag.jpa.IndexQueueEntity
Entity representing an item in the RAG indexing queue.
Documents are added here on save/delete events and processed by a cron task.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDomain responsible for the operation and its token usage; Markdown chunks remain shared in domain zero.getId()Full logical Markdown path, stored as large text to include both the root and relative path.voidsetAction(RagIndexAction action) voidsetCreateDate(Date createDate) voidsetDomainId(Integer domainId) Domain responsible for the operation and its token usage; Markdown chunks remain shared in domain zero.voidsetEntityId(long entityId) Accepts document integer IDs and Markdown long IDs without narrowing either identifier.voidsetEntityType(RagEntityType entityType) voidvoidsetSourcePath(String sourcePath) Full logical Markdown path, stored as large text to include both the root and relative path.
-
Constructor Details
-
IndexQueueEntity
public IndexQueueEntity()
-
-
Method Details
-
setEntityId
public void setEntityId(long entityId) Accepts document integer IDs and Markdown long IDs without narrowing either identifier.- Parameters:
entityId- source entity identifier
-
getId
-
getEntityType
-
getEntityId
-
getSourcePath
Full logical Markdown path, stored as large text to include both the root and relative path. -
getAction
-
getDomainId
Domain responsible for the operation and its token usage; Markdown chunks remain shared in domain zero. -
getCreateDate
-
setId
-
setEntityType
-
setSourcePath
Full logical Markdown path, stored as large text to include both the root and relative path. -
setAction
-
setDomainId
Domain responsible for the operation and its token usage; Markdown chunks remain shared in domain zero. -
setCreateDate
-