BLUEDB
  • Source
  • Javadoc
  • Quick Start

Quick Start Guide

For this quick start we'll persist a POJO called ball that has a radius property. 
Code Block

    
Batch upsert (inserts or overwrites key/value pairs) can significantly improve performance when inserting many objects into the collection rather than one at a time.
Code Block

    
Add an index on ball size to the collection. This index key extractor allows BlueDB to create an index key based on the radius of any ball. See best practices for details on creating index key extractors.
Code Block

    
  • Source
  • Javadoc
  • Quick Start