java.lang.Object
io.ebean.docstore.RawDoc
Raw document.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Return the Id value.getIndex()
Return the index name.double
getScore()
Return the score.Return the source document as a Map.getType()
Return the index type.void
Set the id value.void
Set the index name.void
setScore
(double score) Set the score.void
Set the source document.void
Set the index type.
-
Constructor Details
-
RawDoc
Construct the document with all the meta data. -
RawDoc
public RawDoc()Construct empty (typically for JSON marshalling).
-
-
Method Details
-
getSource
Return the source document as a Map. -
getId
Return the Id value. -
getScore
public double getScore()Return the score. -
getIndex
Return the index name. -
getType
Return the index type. -
setSource
Set the source document. -
setId
Set the id value. -
setScore
public void setScore(double score) Set the score. -
setIndex
Set the index name. -
setType
Set the index type.
-