Commit graph

240 commits

Author SHA1 Message Date
Greg Burd
6b0daebb93 WIP: working toward storing entity instances in a session-local cache. 2017-08-02 12:08:29 -04:00
Greg Burd
18cfc85f45 Move logic that filters out unset columns from INSERT statements into InsertOperations because we need to use the proxy implementation's ability to fetch default type-specific values in other places. This change also enables concrete implementations of mapped interfaces to implement MapExportable and use the same method to filter unset values. 2017-08-02 11:35:11 -04:00
Greg Burd
03567dc57e Enable partial updates using partial entity maps. 2017-08-01 12:48:14 -04:00
Greg Burd
eb9dd05147 Move Guava backwards to the last verison suppored by JDK 1.7 (ver 20.0). 2017-07-31 10:22:01 -04:00
Greg Burd
de495ae0eb Fixed the embedded Cassandra server by using a newer version, no published artifact so had to include JAR file. Ran Facebook tool called 'infer' which was fairly clean (mvn clean; infer -- mvn package -Dmaven.test.skip=true), two minor potential resource leaks and one possible null pointer dereference 2017-07-28 11:44:48 -04:00
Greg Burd
b98f9ed7f5 Remove Travis/CI from inherited repo as we'll be reconfiguring this soon. Update pom to reference Onshape, not 'gburd'. 2017-07-27 15:18:31 -04:00
Greg Burd
715fb0e673 Helenus was the son of King Priam and Queen Hecuba of Troy, and the twin brother of the prophetess Cassandra. Like Cassandra, he was always right, but unlike her, others believed him. Seems like a good name for a layer to access DataStax, Apache, or ScyllaDB's implementations of the Cassandra database.
- move to 3.x DataStax drivers (NOTE, this broke the Casser.dsl() API a bit)
 - introduce UnitOfWork-style pseudo transactional scoping (WIP as of this commit)
 - introduce session and UnitOfWork scoped caches (WIP as of this commit)
 - add support for SASI-based secondary index types (such as case insensitive matching, etc.)
 - add support for Lucene-based secondary index types (WIP https://github.com/Stratio/cassandra-lucene-index)
 - update types for Java 8 (WIP)
 - add in Codahale/Dropwizard and Zipkin metrics/tracing support (WIP)
 - and a lot more...
2017-07-27 15:02:17 -04:00
Alex Shvid
13a2f5bffa update information about author 2016-07-04 10:24:04 -07:00
Albert Shift
5d260420f1 Update pom.xml 2015-10-31 06:05:18 -07:00
Albert Shift
ef45b58570 Merge pull request #2 from wmeints/package-name-fix
Fix: Changed package to support SBT
2015-10-31 05:12:28 -07:00
Willem Meints
d5232aa5d7 Fix: Changed package to support SBT
When you want to use the package from SBT in a way that you
normally would use scala package the package needs to have
a name like casser-core_2.11.

This fixes issue #1
2015-10-31 13:09:09 +01:00
Albert Shift
c1f710584a refactor Timeuuid, add minOf and maxOf methods for Timeuuid 2015-09-12 20:35:24 -07:00
Albert Shift
071f6466ae use Scala Option and Stream in Scala future results 2015-06-23 08:34:20 -07:00
Albert Shift
ba416ba1ff correct java docs 2015-06-19 13:56:09 -07:00
Albert Shift
49b7c07ab2 add java doc comments to all annotations in mapping 2015-06-19 12:55:38 -07:00
Albert Shift
6b11317948 Update README.md 2015-06-16 15:55:43 -07:00
Alex Shvid
209862f569 1.2.0_2.11-SNAPSHOT 2015-06-16 15:50:14 -07:00
Alex Shvid
eefa458484 release 1.1.0_2.11 2015-06-16 15:21:22 -07:00
Albert Shift
c1ca49fbea query syntax sugar fix in 'in()' operator 2015-06-14 14:07:11 -07:00
Albert Shift
66ccb0feb1 skeep annotations in package scaning process 2015-06-10 16:51:19 -07:00
Albert Shift
1eb3c17d6b support annotaiton on constraint annotation 2015-06-10 16:46:57 -07:00
Albert Shift
52c3f19ea2 add value validator implementation for simple types (does not support
collections and maps)
2015-06-09 23:18:42 -07:00
Albert Shift
c0b16c2db6 Add CasserValidator for property values 2015-06-09 14:55:57 -07:00
Albert Shift
49cb219849 parse contraint annotations and initilize validators 2015-06-09 13:23:25 -07:00
Albert Shift
9919fd9e25 implement common validators for constraints 2015-06-09 12:48:55 -07:00
Albert Shift
46a476a34f update comments in Constraints 2015-06-08 23:18:22 -07:00
Albert Shift
7e87bce918 rename annotation name 2015-06-08 21:52:18 -07:00
Albert Shift
3966640694 rename Constraint class to Constraints 2015-06-08 21:50:00 -07:00
Albert Shift
99db68d75c update Constraint java docs and annotations 2015-06-07 12:52:04 -07:00
Albert Shift
78d076768e Constraint name for the data integrity annotation 2015-06-07 12:35:33 -07:00
Albert Shift
fe3782bf10 check columns for UDT types as well as Tables 2015-06-07 00:24:31 -07:00
Albert Shift
a46421fcce addPackage test 2015-06-06 15:27:14 -07:00
Albert Shift
6e3a130279 add package of entities 2015-06-06 15:12:21 -07:00
Albert Shift
da536245db Update README.md 2015-06-05 14:33:02 -07:00
Albert Shift
f005b6b500 Update README.md 2015-06-05 14:31:23 -07:00
Albert Shift
c4cce9522d Update README.md 2015-06-05 14:26:44 -07:00
Albert Shift
35af1883ca Update README.md 2015-06-05 14:25:26 -07:00
Albert Shift
ef7bc6436f Update README.md 2015-06-05 14:22:57 -07:00
Albert Shift
0921956069 Update README.md 2015-06-05 14:21:22 -07:00
Albert Shift
05b91f1206 Merge branch 'develop' of https://github.com/noorq/casser.git into develop 2015-06-05 14:20:02 -07:00
Albert Shift
7a2b9c2ed6 update readme file 2015-06-05 14:19:54 -07:00
Albert Shift
9d8cb8d140 update readme file 2015-06-05 14:18:50 -07:00
Albert Shift
ba86534086 add java doc in Types annotations 2015-06-05 14:16:45 -07:00
Albert Shift
18ee6ab214 add Data annotations 2015-06-05 13:02:28 -07:00
Albert Shift
7f68e7a027 add single() method in SelectOperation 2015-06-03 13:29:33 -07:00
Albert Shift
a4260436e8 change version and add more scala future methods 2015-06-03 12:51:05 -07:00
Albert Shift
869fd0aae3 add scala 2.11 support 2015-06-03 12:22:22 -07:00
Albert Shift
fc0eaef8ee Update README.md 2015-05-09 07:42:58 -07:00
Albert Shift
648dee8f6e create special profile release in maven build 2015-05-07 23:12:22 -07:00
Alex Shvid
ca6f4f498b Merge branch 'develop' of https://github.com/noorq/casser into develop 2015-04-28 15:36:10 -07:00