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 StringgetId()Return the Id value.StringgetIndex()Return the index name.doublegetScore()Return the score.Map<String,Object>getSource()Return the source document as a Map.StringgetType()Return the index type.voidsetId(String id)Set the id value.voidsetIndex(String index)Set the index name.voidsetScore(double score)Set the score.voidsetSource(Map<String,Object> source)Set the source document.voidsetType(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.
-