Commit graph

401 commits

Author SHA1 Message Date
Greg Burd
a1e29c62c8 Improve UOW logging. 2017-10-24 11:05:44 -04:00
Greg Burd
25eb81219d WIP: caching 2017-10-23 16:29:23 -04:00
Greg Burd
a3b9ff9af3 Formatting 2017-10-23 14:47:56 -04:00
Greg Burd
7c683acb56 Formatting. 2017-10-23 14:41:20 -04:00
Greg Burd
d25061366b Ensure that the session cache is only used on entity objects marked @Cacheable. 2017-10-23 14:40:00 -04:00
Greg Burd
852ee59da2 Only use session cache for entites and only when requested. 2017-10-23 13:37:27 -04:00
Greg Burd
682a1a304e WIP: more progress toward session cache. 2017-10-23 12:45:03 -04:00
Greg Burd
fc83b8032c WIP: Session cache. 2017-10-23 12:17:20 -04:00
Greg Burd
ecd3d71e47 WIP: session cache populated with UOW data on commit. Also added logging for UOW time. 2017-10-23 11:10:55 -04:00
Greg Burd
dc9c228e4a WIP: flattenFacets 2017-10-22 22:04:20 -04:00
Greg Burd
e36dded9d2 WIP: combinations for flattening facets to keys. 2017-10-22 21:36:10 -04:00
Greg Burd
63c558581b WIP: time work in a UOW, track total and database time. Begin working on session cache. Also need to finish up merge() logic and consider ttl and writeTime. 2017-10-20 15:37:13 -04:00
Greg Burd
9bbb6d2371 Neuter the TimeoutException propogation for now. 2017-10-20 14:30:25 -04:00
Greg Burd
9d91436cb5 Merge branch 'develop' into 2.1.x-SNAPSHOT 2017-10-20 12:44:17 -04:00
Greg Burd
eb44912679 Minor fixups. 2017-10-20 12:43:38 -04:00
Greg Burd
e3ec76e6da Merge branch 'gburd/wip-facet-cache' into develop 2017-10-20 12:43:20 -04:00
Greg Burd
b40dc37704 Formatting. 2017-10-20 12:34:36 -04:00
Greg Burd
1746691826 Facet cache is working, able to fetch by non-primary key within UOW. 2017-10-20 12:33:42 -04:00
Greg Burd
6e687a7e90 Formatting 2017-10-20 08:22:35 -04:00
Greg Burd
75f32eb542 more progress. 2017-10-19 13:08:58 -04:00
Greg Burd
f64d5edd7c wip: good progress toward new multi-key index for cache 2017-10-18 12:17:00 -04:00
Greg Burd
32b06e1494 Merge branch 'develop' into gburd/wip-facet-cache 2017-10-16 16:19:43 -04:00
Greg Burd
b82bd8ed75 Merge branch 'develop' into 2.1.x-SNAPSHOT 2017-10-16 15:37:14 -04:00
Greg Burd
0dba5d6c53 Query execution via sync and async can timeout. Formatting. 2017-10-16 15:36:15 -04:00
Greg Burd
896748a2ec Formatting. 2017-10-13 10:41:21 -04:00
Greg Burd
d369a5b862 Merge branch 'develop' into gburd/wip-facet-cache 2017-10-12 16:29:11 -04:00
Greg Burd
74832a32dd Formatting 2017-10-12 16:18:17 -04:00
Greg Burd
2302b958e7 Merge branch 'develop' into 2.1.x-SNAPSHOT 2017-10-12 09:23:18 -04:00
Greg Burd
3ef4ddd5a0 Selections from materialized views my have different entity properties that impact generated queries. Remove noisy/expensive selection of ttl and write time until we need/use it for cache correctness properties (if ever). 2017-10-12 09:23:00 -04:00
Greg Burd
237adb40bf Merge branch 'develop' into 2.1.x-SNAPSHOT 2017-10-11 15:16:15 -04:00
Greg Burd
4e461c1be0 Insert should include both mutated and primary key components (partition keys and clustering columns) otherwise it's invalid CQL. 2017-10-11 15:15:59 -04:00
Greg Burd
646b2fa57d Merge branch 'develop' into 2.1.x-SNAPSHOT 2017-10-11 14:24:27 -04:00
Greg Burd
605529979d Create views if they don't already exist. 2017-10-11 14:24:01 -04:00
Greg Burd
635e2256b0 Merge branch 'develop' into 2.1.x-SNAPSHOT 2017-10-10 15:30:10 -04:00
Greg Burd
7156d733fa Also support ordering in clustering columns for materialized views (an oversight). 2017-10-10 15:29:48 -04:00
Greg Burd
265c35c4c6 Merge branch 'develop' into 2.1.x-SNAPSHOT 2017-10-10 13:55:44 -04:00
Greg Burd
953b47036c Formatting. 2017-10-10 13:55:08 -04:00
Greg Burd
1618405c83 Add the formatting helper shell script. 2017-10-10 13:45:44 -04:00
Greg Burd
828c456814 Add MaterialziedView entity support and the beginnings of a CoveringIndex (which is another name for MaterializedView). 2017-10-10 13:40:41 -04:00
Greg Burd
01102e2299 Enabled Helenus.dsl() to return a valid object even when the cluster metadata isn't known in advance and later learn more when it is. Changed the AbstractEntityDraft to have both by-string and by-getter mutation/accessor methods. These two combine to make Draft objects more type safe. 2017-10-10 13:40:41 -04:00
Greg Burd
0e9d1086ed Use backingMap for the mutated key set (and save some space/overhead). 2017-10-10 13:40:41 -04:00
Greg Burd
1c37d817b6 Add code formatting standard to project. 2017-10-06 11:40:19 -04:00
Greg Burd
306c9e68ef Merge branch 'develop' into gburd/wip-facet-cache 2017-10-05 09:42:32 -04:00
Greg Burd
25c5c6b969 Enabled Helenus.dsl() to return a valid object even when the cluster metadata isn't known in advance and later learn more when it is. Changed the AbstractEntityDraft to have both by-string and by-getter mutation/accessor methods. These two combine to make Draft objects more type safe. 2017-10-04 15:46:01 -04:00
Greg Burd
be8d1bf029 Use backingMap for the mutated key set (and save some space/overhead). 2017-09-29 10:48:37 -04:00
Greg Burd
0c6cda1db6 Switching version so that the build number is the third part of the version number 2017-09-29 10:21:48 -04:00
Greg Burd
bf1d5f217f First fetch from the backingMap. 2017-09-29 09:47:15 -04:00
Greg Burd
7e6863fc84 Merge branch 'develop' into gburd/wip-facet-cache 2017-09-28 13:43:03 -04:00
Greg Burd
265947586c Distinguish this project from 'https://github.com/helenusdriver/helenus' (which is 'helenus.org' where-as we're 'helenus.net'). Both projects aspire to address the same missing pieces from the DataStax Java Cassandra driver, a more friendly POJO mapping layer and domain-specific language/API, and share the same name (naming is hard) but are completely different implementations. 2017-09-26 11:32:23 -04:00
Greg Burd
b370272c3a No change. 2017-09-26 11:20:17 -04:00