Class IndexQueueEntity

java.lang.Object
sk.iway.iwcm.rag.jpa.IndexQueueEntity

@Entity public class IndexQueueEntity extends Object
Entity representing an item in the RAG indexing queue. Documents are added here on save/delete events and processed by a cron task.
  • 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

      public Long getId()
    • getEntityType

      public RagEntityType getEntityType()
    • getEntityId

      public Long getEntityId()
    • getSourcePath

      public String getSourcePath()
      Full logical Markdown path, stored as large text to include both the root and relative path.
    • getAction

      public RagIndexAction getAction()
    • getDomainId

      public Integer getDomainId()
      Domain responsible for the operation and its token usage; Markdown chunks remain shared in domain zero.
    • getCreateDate

      public Date getCreateDate()
    • setId

      public void setId(Long id)
    • setEntityType

      public void setEntityType(RagEntityType entityType)
    • setSourcePath

      public void setSourcePath(String sourcePath)
      Full logical Markdown path, stored as large text to include both the root and relative path.
    • setAction

      public void setAction(RagIndexAction action)
    • setDomainId

      public void setDomainId(Integer domainId)
      Domain responsible for the operation and its token usage; Markdown chunks remain shared in domain zero.
    • setCreateDate

      public void setCreateDate(Date createDate)