public class ResultDoc extends Object implements Serializable
| Constructor and Description |
|---|
ResultDoc(JsonDoc doc,
DocId id,
QueryPlanNode node) |
| Modifier and Type | Method and Description |
|---|---|
Map<QueryPlanNode,List<ChildDocReference>> |
getChildren() |
static List<ChildDocReference> |
getChildren(List<ResultDoc> docs,
QueryPlanNode dest)
Returns all child references to a given node for all the docs in the list
|
List<ChildDocReference> |
getChildren(QueryPlanNode dest) |
JsonDoc |
getDoc() |
DocId |
getId() |
CompositeMetadata |
getMetadata()
Returns the metadata for this document
|
Map<QueryPlanNode,ChildDocReference> |
getParentDocs() |
QueryPlanNode |
getQueryPlanNode()
Returns the query plan node for this document
|
void |
setParentDoc(QueryPlanNode parentNode,
ChildDocReference ref)
Sets the parent document reference of this document that is coming from parentNode
|
String |
toString() |
public ResultDoc(JsonDoc doc, DocId id, QueryPlanNode node)
public DocId getId()
public JsonDoc getDoc()
public QueryPlanNode getQueryPlanNode()
public CompositeMetadata getMetadata()
public List<ChildDocReference> getChildren(QueryPlanNode dest)
public Map<QueryPlanNode,List<ChildDocReference>> getChildren()
public static List<ChildDocReference> getChildren(List<ResultDoc> docs, QueryPlanNode dest)
public Map<QueryPlanNode,ChildDocReference> getParentDocs()
public void setParentDoc(QueryPlanNode parentNode, ChildDocReference ref)
Copyright © 2015. All rights reserved.