java.lang.Object
io.ebean.docstore.RawDoc
Raw document.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Return the Id value.getIndex()Return the index name.doublegetScore()Return the score.Return the source document as a Map.getType()Return the index type.voidSet the id value.voidSet the index name.voidsetScore(double score) Set the score.voidSet the source document.voidSet 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.
-