public class ResolvedFieldBinding extends Object implements Serializable
query={'field':'field1','op':'=','rfield':'$parent.referencedField'}
Assume referencedField is bound to a value in a
different entity. Then, binding contains the binding
information for referencedField, type
contains the type of referencedField, and valueField
contains referencedField, the field relative to the
entity it is contained in. If the binding is a list binding, then
type keeps the type of the list element.| Modifier and Type | Class and Description |
|---|---|
static class |
ResolvedFieldBinding.BindResult
This class is used to return binding results.
|
| Constructor and Description |
|---|
ResolvedFieldBinding(FieldBinding b,
CompositeMetadata root)
Construct a resolved field binding using the given binding and the root composite metadata
|
| Modifier and Type | Method and Description |
|---|---|
static ResolvedFieldBinding.BindResult |
bind(List<Conjunct> clauses,
QueryPlanNode atNode,
CompositeMetadata root)
Binds a list of clauses for execution at a particular query plan node
|
boolean |
refresh(ChildDocReference ref)
Attempts to refresh this binding starting at the given parent document, and ascending to its parents
|
static void |
refresh(List<ResolvedFieldBinding> bindings,
ChildDocReference ref) |
public ResolvedFieldBinding(FieldBinding b, CompositeMetadata root)
public static ResolvedFieldBinding.BindResult bind(List<Conjunct> clauses, QueryPlanNode atNode, CompositeMetadata root)
clauses - The query conjuncts that will be boundatNode - The query plan node at which the query will be runpublic static void refresh(List<ResolvedFieldBinding> bindings, ChildDocReference ref)
public boolean refresh(ChildDocReference ref)
Copyright © 2015. All rights reserved.