- java.lang.Object
-
- io.ebean.docstore.RawDoc
-
public class RawDoc extends Object
Raw document.
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
getId
public String getId()
Return the Id value.
-
getScore
public double getScore()
Return the score.
-
getIndex
public String getIndex()
Return the index name.
-
getType
public String getType()
Return the index type.
-
setId
public void setId(String id)
Set the id value.
-
setScore
public void setScore(double score)
Set the score.
-
setIndex
public void setIndex(String index)
Set the index name.
-
setType
public void setType(String type)
Set the index type.
-
-