Package io.ebean.docstore
Class RawDoc
java.lang.Object
io.ebean.docstore.RawDoc
public class RawDoc extends Object
Raw document.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
getId()
Return the Id value.String
getIndex()
Return the index name.double
getScore()
Return the score.Map<String,Object>
getSource()
Return the source document as a Map.String
getType()
Return the index type.void
setId(String id)
Set the id value.void
setIndex(String index)
Set the index name.void
setScore(double score)
Set the score.void
setSource(Map<String,Object> source)
Set the source document.void
setType(String type)
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
Return the score. -
getIndex
Return the index name. -
getType
Return the index type. -
setSource
Set the source document. -
setId
Set the id value. -
setScore
Set the score. -
setIndex
Set the index name. -
setType
Set the index type.
-