Tabnine Logo
AbstractMongoRepository.update
Code IndexAdd Tabnine to your IDE (free)

How to use
update
method
in
de.otto.edison.mongo.AbstractMongoRepository

Best Java code snippets using de.otto.edison.mongo.AbstractMongoRepository.update (Showing top 2 results out of 315)

origin: otto-de/edison-microservice

/**
 * Updates the document if it is already present in the repository.
 *
 * @param value the new value
 * @return true, if the document was updated, false otherwise.
 */
public boolean update(final V value) {
  return update(value, mongoProperties.getDefaultWriteTimeout(), TimeUnit.MILLISECONDS);
}
origin: de.otto.edison/edison-mongo

/**
 * Updates the document if it is already present in the repository.
 *
 * @param value the new value
 * @return true, if the document was updated, false otherwise.
 */
public boolean update(final V value) {
  return update(value, mongoProperties.getDefaultWriteTimeout(), TimeUnit.MILLISECONDS);
}
de.otto.edison.mongoAbstractMongoRepositoryupdate

Javadoc

Updates the document if it is already present in the repository.

Popular methods of AbstractMongoRepository

  • byId
    Returns a query that is selecting documents by ID.
  • collection
  • decode
    Decode a MongoDB Document into a value.
  • encode
    Encode a value into a MongoDB Document.
  • findOne
    Find a single value with the specified key, if existing.
  • keyOf
    Returns the key / identifier from the given value. The key of a document must never be null.
  • matchAll
    Returns a query that is selecting all documents.
  • collectionWithWriteTimeout
  • create
  • createOrUpdate
  • createOrUpdateBulk
  • delete
    Deletes the document identified by key.
  • createOrUpdateBulk,
  • delete,
  • deleteAll,
  • ensureIndexes,
  • findAll,
  • findAllAsStream,
  • getFindIterable,
  • size,
  • toStream

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Menu (java.awt)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now