Package es.uam.eps.ir.relison.content
Class TermData<U,I>
java.lang.Object
es.uam.eps.ir.relison.content.TermData<U,I>
- Type Parameters:
U
- Type of the users.I
- Type of the content identifiers.
public class TermData<U,I>
extends java.lang.Object
Posting information for a term in a content.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description I
getContentId()
Gets the content identifier.U
getCreator()
Gets the creator.double
getScore()
Gets the score of the represented term in the document.long
getTimestamp()
Gets the creation timestamp of the content.
-
Field Details
-
Constructor Details
-
TermData
Constructor- Parameters:
creator
- content creator.contentId
- content identifier.timestamp
- creation timestamp.score
- value of the term in the document.
-
-
Method Details
-
getCreator
Gets the creator.- Returns:
- the creator.
-
getContentId
Gets the content identifier.- Returns:
- the content identifier.
-
getTimestamp
public long getTimestamp()Gets the creation timestamp of the content.- Returns:
- the creation timestamp.
-
getScore
public double getScore()Gets the score of the represented term in the document.- Returns:
- the score of the represented term in the document.
-