Spring Data MongoDB - Core

org.springframework.data.mongodb.core.aggregation
Class ProjectionOperation.ExpressionProjectionOperationBuilder

java.lang.Object
  extended by org.springframework.data.mongodb.core.aggregation.ProjectionOperation.ExpressionProjectionOperationBuilder
All Implemented Interfaces:
AggregationOperation
Enclosing class:
ProjectionOperation

public static class ProjectionOperation.ExpressionProjectionOperationBuilder
extends Object

Author:
Thomas Darimont

Constructor Summary
ProjectionOperation.ExpressionProjectionOperationBuilder(Object value, ProjectionOperation operation, Object[] parameters)
          Creates a new ProjectionOperation.ExpressionProjectionOperationBuilder for the given value, ProjectionOperation and parameters.
 
Method Summary
 ProjectionOperation as(String alias)
          Returns the finally to be applied ProjectionOperation with the given alias.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectionOperation.ExpressionProjectionOperationBuilder

public ProjectionOperation.ExpressionProjectionOperationBuilder(Object value,
                                                                ProjectionOperation operation,
                                                                Object[] parameters)
Creates a new ProjectionOperation.ExpressionProjectionOperationBuilder for the given value, ProjectionOperation and parameters.

Parameters:
value - must not be null.
operation - must not be null.
parameters -
Method Detail

as

public ProjectionOperation as(String alias)
Returns the finally to be applied ProjectionOperation with the given alias.

Parameters:
alias - will never be null or empty.
Returns:

Spring Data MongoDB - Core

Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.