Git Product home page Git Product logo

scala-dynamodb-mapper's Introduction

build status

scala-dynamodb-mapper

Simple framework for mapping between Scala classes and Amazon DynamoDB tables. Wrapper around awscala

What does it do?

  • Provides method for putting objects straight into DynamoDB
  • Provides method for retrieving sequence of objects from DynamoDB
  • Provides built-it mapping for basic Scala types and Java DateTime API
  • Allows you to write mappers for your own classes
  • Allows you to declare attributes as non-required and map them to Option[T]
  • Allows you to query tables using both local and global secondary indexes
  • Provides simple DSL for queries

What it doesn't do?

  • Doesn't allow you to project query and get only selected attributes. It's only meant to be a mapper between database and a class
  • Doesn't provide a query cache

How to install it? / How to use it?

All examples can be found on wiki, in Getting Started section.

How to contribute?

  • Identify missing feature or bug to fix
  • Create feature branch to work on. It is the best idea to choose develop as source branch, to avoid problems with merge.
  • Apply your changes and push it
  • Create pull request against develop branch, and wait for comments/approve

scala-dynamodb-mapper's People

Contributors

mkorman9 avatar

Stargazers

 avatar Graham Crowell avatar Mateusz Korzeniowski avatar Trevor Allred avatar  avatar

Watchers

James Cloos avatar  avatar Henry Tang avatar  avatar

scala-dynamodb-mapper's Issues

does it support the case class attributes are also case class?

hello. I came across to this library and thinking it might help me in my work. but i have a question:
so instead of the case class model Cat, what if my customized case class is something like:
case class AAA(x: Oldid, y: NewId, z: TxnInput, h: NonTxnInput)
whereas Oldid, NewId, TxnInput, NonTxnInput are also case classes that i hv defined. how does this mapper can work with this scenario?
looking forward your reply. thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.