赞
踩
public class LookupOperation extends Object implements FieldsExposingAggregationOperation, FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation
$lookup-operation. We recommend to use the static factory method
Aggregation.lookup(String, String, String, String) instead of creating instances of this class directly.
| Modifier and Type | Class and Description |
|---|---|
static interface | LookupOperation.AsBuilder |
static interface | LookupOperation.ForeignFieldBuilder |
static interface | LookupOperation.FromBuilder |
static interface | LookupOperation.LocalFieldBuilder |
static class | LookupOperation.LookupOperationBuilder
Builder for fluent
LookupOperation creation.
|
FieldsExposingAggregationOperation.InheritsFieldsAggregationOperation| Constructor and Description |
|---|
LookupOperation(Field from, Field localField, Field foreignField, Field as)
Creates a new
LookupOperation for the given
Fields.
|
| Modifier and Type | Method and Description |
|---|---|
ExposedFields | getFields()
Returns the fields exposed by the
AggregationOperation.
|
static LookupOperation.FromBuilder | newLookup()
Get a builder that allows creation of
LookupOperation.
|
org.bson.Document | toDocument(AggregationOperationContext context)
|
public ExposedFields getFields()
FieldsExposingAggregationOperation
AggregationOperation.
getFields in interface
FieldsExposingAggregationOperation
public org.bson.Document toDocument(AggregationOperationContext context)
AggregationOperation
toDocument in interface
AggregationOperation
public static LookupOperation.FromBuilder newLookup()
LookupOperation.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。