Spring Data MongoDB - Core

org.springframework.data.mongodb.core.query
Class Update.PushOperatorBuilder

java.lang.Object
  extended by org.springframework.data.mongodb.core.query.Update.PushOperatorBuilder
Enclosing class:
Update

public class Update.PushOperatorBuilder
extends Object

Builder for creating $push modifiers

Author:
Christoph Strobl, Thomas Darimont

Method Summary
 Update each(Object... values)
          Propagates $each to $push
 boolean equals(Object obj)
           
 int hashCode()
           
 Update value(Object value)
          Propagates value(Object) to $push
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

each

public Update each(Object... values)
Propagates $each to $push

Parameters:
values -
Returns:

value

public Update value(Object value)
Propagates value(Object) to $push

Parameters:
values -
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Spring Data MongoDB - Core

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.