Commit graph

  • 7b14eda9b3 More caching fixes. Greg Burd 2017-10-27 14:00:24 -0400
  • 92f74e41e1 WIP: support other caches gburd/wip-abstract-cache Greg Burd 2017-10-27 08:48:42 -0400
  • b04e033bf4 Re-enable TimeoutException. Revert changes to add type to UnitOfWork as it breaks the use of subclasses. Greg Burd 2017-10-26 10:37:08 -0400
  • c7e37acc5a Add generic type where overlooked. Fix some cache logic. Greg Burd 2017-10-25 21:59:12 -0400
  • e5918cd1e8 Formatting. Greg Burd 2017-10-25 20:53:58 -0400
  • 7535e9ade7 Improved logging output. Fixed caching for insert, update, delete cases. Greg Burd 2017-10-25 20:53:12 -0400
  • 8a7dbfdec1 Implement missing getFacets() methods. Clean up some logic. Greg Burd 2017-10-24 21:07:47 -0400
  • 18f2a057de Refining logging. Greg Burd 2017-10-24 16:01:48 -0400
  • 1642f09ce9 Fix NPE, replace forEach() with for() /because Java. Formatting. Greg Burd 2017-10-24 14:24:23 -0400
  • c6b95f12b4 Fix up logging a bit. Fix bug where updateCache wasn't properly adding facets that were bound. Greg Burd 2017-10-24 13:40:35 -0400
  • a1e29c62c8 Improve UOW logging. Greg Burd 2017-10-24 11:05:44 -0400
  • 25eb81219d WIP: caching Greg Burd 2017-10-23 16:29:23 -0400
  • dcc0927a4a Merge branch 'develop' Greg Burd 2017-10-23 14:48:33 -0400
  • a3b9ff9af3 Formatting Greg Burd 2017-10-23 14:47:56 -0400
  • 7c683acb56 Formatting. gburd/wip-facet-cache Greg Burd 2017-10-23 14:41:20 -0400
  • d25061366b Ensure that the session cache is only used on entity objects marked @Cacheable. Greg Burd 2017-10-23 14:40:00 -0400
  • 852ee59da2 Only use session cache for entites and only when requested. Greg Burd 2017-10-23 13:37:27 -0400
  • 682a1a304e WIP: more progress toward session cache. Greg Burd 2017-10-23 12:45:03 -0400
  • fc83b8032c WIP: Session cache. Greg Burd 2017-10-23 12:17:20 -0400
  • ecd3d71e47 WIP: session cache populated with UOW data on commit. Also added logging for UOW time. Greg Burd 2017-10-23 11:10:55 -0400
  • dc9c228e4a WIP: flattenFacets Greg Burd 2017-10-22 22:04:20 -0400
  • e36dded9d2 WIP: combinations for flattening facets to keys. Greg Burd 2017-10-22 21:36:10 -0400
  • 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. Greg Burd 2017-10-20 15:37:13 -0400
  • 9bbb6d2371 Neuter the TimeoutException propogation for now. Greg Burd 2017-10-20 14:30:25 -0400
  • 9d91436cb5 Merge branch 'develop' into 2.1.x-SNAPSHOT Greg Burd 2017-10-20 12:44:17 -0400
  • eb44912679 Minor fixups. Greg Burd 2017-10-20 12:43:38 -0400
  • e3ec76e6da Merge branch 'gburd/wip-facet-cache' into develop Greg Burd 2017-10-20 12:43:20 -0400
  • b40dc37704 Formatting. Greg Burd 2017-10-20 12:34:36 -0400
  • 1746691826 Facet cache is working, able to fetch by non-primary key within UOW. Greg Burd 2017-10-20 12:33:42 -0400
  • 6e687a7e90 Formatting Greg Burd 2017-10-20 08:22:35 -0400
  • 75f32eb542 more progress. Greg Burd 2017-10-19 13:08:58 -0400
  • f64d5edd7c wip: good progress toward new multi-key index for cache Greg Burd 2017-10-18 12:17:00 -0400
  • 32b06e1494 Merge branch 'develop' into gburd/wip-facet-cache Greg Burd 2017-10-16 16:19:43 -0400
  • b82bd8ed75 Merge branch 'develop' into 2.1.x-SNAPSHOT Greg Burd 2017-10-16 15:37:14 -0400
  • 0dba5d6c53 Query execution via sync and async can timeout. Formatting. Greg Burd 2017-10-16 13:40:44 -0400
  • 896748a2ec Formatting. Greg Burd 2017-10-13 10:41:21 -0400
  • d369a5b862 Merge branch 'develop' into gburd/wip-facet-cache Greg Burd 2017-10-12 16:29:11 -0400
  • 74832a32dd Formatting Greg Burd 2017-10-12 16:18:17 -0400
  • 2302b958e7 Merge branch 'develop' into 2.1.x-SNAPSHOT Greg Burd 2017-10-12 09:23:18 -0400
  • 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). Greg Burd 2017-10-12 09:23:00 -0400
  • 237adb40bf Merge branch 'develop' into 2.1.x-SNAPSHOT Greg Burd 2017-10-11 15:16:15 -0400
  • 4e461c1be0 Insert should include both mutated and primary key components (partition keys and clustering columns) otherwise it's invalid CQL. Greg Burd 2017-10-11 15:15:59 -0400
  • 646b2fa57d Merge branch 'develop' into 2.1.x-SNAPSHOT Greg Burd 2017-10-11 14:24:27 -0400
  • 605529979d Create views if they don't already exist. Greg Burd 2017-10-11 14:24:01 -0400
  • 107f67735c Merge branch 'develop' Greg Burd 2017-10-10 15:30:27 -0400
  • 635e2256b0 Merge branch 'develop' into 2.1.x-SNAPSHOT Greg Burd 2017-10-10 15:30:10 -0400
  • 7156d733fa Also support ordering in clustering columns for materialized views (an oversight). Greg Burd 2017-10-10 15:29:48 -0400
  • 265c35c4c6 Merge branch 'develop' into 2.1.x-SNAPSHOT Greg Burd 2017-10-10 13:55:44 -0400
  • 953b47036c Formatting. Greg Burd 2017-10-10 13:55:08 -0400
  • 1618405c83 Add the formatting helper shell script. Greg Burd 2017-10-10 13:45:39 -0400
  • 828c456814 Add MaterialziedView entity support and the beginnings of a CoveringIndex (which is another name for MaterializedView). Greg Burd 2017-10-10 13:39:59 -0400
  • 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. Greg Burd 2017-10-04 15:46:01 -0400
  • 0e9d1086ed Use backingMap for the mutated key set (and save some space/overhead). Greg Burd 2017-09-29 10:48:37 -0400
  • 1c37d817b6 Add code formatting standard to project. Greg Burd 2017-10-06 11:39:56 -0400
  • 306c9e68ef Merge branch 'develop' into gburd/wip-facet-cache Greg Burd 2017-10-05 09:42:32 -0400
  • 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. Greg Burd 2017-10-04 15:46:01 -0400
  • be8d1bf029 Use backingMap for the mutated key set (and save some space/overhead). Greg Burd 2017-09-29 10:48:37 -0400
  • 0c6cda1db6 Switching version so that the build number is the third part of the version number Greg Burd 2017-09-29 10:21:48 -0400
  • bf1d5f217f First fetch from the backingMap. Greg Burd 2017-09-29 09:47:15 -0400
  • 7e6863fc84 Merge branch 'develop' into gburd/wip-facet-cache Greg Burd 2017-09-28 13:43:03 -0400
  • 389a33c12f removed SNAPSHOT from version name 2.0.47 pkania 2017-09-26 14:23:09 -0400
  • 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. Greg Burd 2017-09-26 11:32:23 -0400
  • b370272c3a No change. Greg Burd 2017-09-26 11:20:17 -0400
  • efa87b2d4f WIP: working toward a faceted cache. Greg Burd 2017-09-26 10:37:08 -0400
  • 16af6ea175 When items are reset, they may also be null which would incorrectly return false. Greg Burd 2017-09-26 10:18:29 -0400
  • 5c8a0360a2 Reset of a value in AbstractEntityDraft should update with the current value is either null or not equal to desired value, fixed logic. Greg Burd 2017-09-26 09:26:06 -0400
  • d3c24b70bf Be sure to pick up all inherited interfaces and scan those with the @InheritedTable annotation for methods. When doing that, if we encounter the same method name twice prefer the least generic implementation. Greg Burd 2017-09-25 15:50:29 -0400
  • 844ebd9155 Add support for marking queries as idempotent so that the C* driver will apply the retry policy and in some cases perform speculative execution. (see: https://docs.datastax.com/en/developer/java-driver/3.1/manual/retries/ and https://docs.datastax.com/en/developer/java-driver/3.1/manual/speculative_execution/). Greg Burd 2017-09-22 09:46:59 -0400
  • a7094abdfa Re-work API for UnitOfWork so as to be able to instantiate custom sub-classes if need be. Greg Burd 2017-09-20 14:52:08 -0400
  • 6e0877efb7 Re-work API for UnitOfWork so as to be able to instantiate custom sub-classes if need be. Greg Burd 2017-09-20 14:52:08 -0400
  • ac7db5f243 Alias writeTime and ttl on SELECT/caching. Shorten UOW log to avoid leaking information. Greg Burd 2017-09-20 10:48:47 -0400
  • 67dbb36194 Cache keys must contain all primary key values. Greg Burd 2017-09-18 13:40:06 -0400
  • f9ab9f91a1 Fix cache lookup. Greg Burd 2017-09-18 11:07:09 -0400
  • 895921c598 Another spot I missed allowing null UOW in {a}sync(). Greg Burd 2017-09-14 13:16:06 -0400
  • 97f74776d5 Allow UOW to be null in {a}sync(UnitOfWork uow). Greg Burd 2017-09-14 09:34:12 -0400
  • 8c165a689b Another oversight. Greg Burd 2017-09-13 15:08:50 -0400
  • 9e3fabb2f9 Forgot to add type to begin() call in HelenusSession. Greg Burd 2017-09-13 14:27:08 -0400
  • 90e1aafd94 Need to parameterize the exception type. Greg Burd 2017-09-13 13:27:34 -0400
  • efca86783c Allow configuration of the exception class used when conflicts arise at UnitOfWork commit time to enable clients to provide custom/advanced/specific exceptions without having to do a bunch of encapsulation. Greg Burd 2017-09-13 12:28:12 -0400
  • 66578d77d5 Allow subclasses of UnitOfWork (remove 'final'). Greg Burd 2017-09-13 10:55:23 -0400
  • 75aff52312 Honor the ignoreCache() when selecting from UOW cache. Greg Burd 2017-09-13 08:33:48 -0400
  • 83ef8d7b0c Adjust how entity draft auditing works. Greg Burd 2017-09-12 15:51:49 -0400
  • 58b29ad181 Caching entity results within the context of a UOW (even nested) seems to be working. Greg Burd 2017-09-12 10:53:51 -0400
  • 1b46ee0ed1 WIP: More work toward entity cache, very broken at this point. Greg Burd 2017-09-01 15:38:58 -0400
  • cb09324ac6 Commented out the UOW cache (as it's not yet finished/working) and updated the version number. Greg Burd 2017-08-31 14:10:26 -0400
  • 5089be2c22 Adding more support for the Draft/Builder pattern for entity objects. Fixed a number of issues and added more tests. Greg Burd 2017-08-31 14:06:44 -0400
  • 3cd889ea61 WIP: More work toward UOW caching but mainly a lot of work to cleanup the API. Greg Burd 2017-08-30 13:41:15 -0400
  • 09b06f4ca4 WIP: Fixed the ordering of commit.andThen(() -> {}) to match the nesting and fire iff the outter most UOW has committed. Made UnitOfWork Closable which will abort the work iff it has not previously been committed or aborted. Started to add tests to exercise Helenus UnitOfWork (transactions). Greg Burd 2017-08-29 10:13:29 -0400
  • c35d6d19d1 WIP: toward caching at session and unit of work. Greg Burd 2017-08-25 16:13:31 -0400
  • 7ac9288eb8 Added update(draft). Greg Burd 2017-08-25 16:08:31 -0400
  • 84bb6b5fae WIP: moving maven build to gradle Greg Burd 2017-08-18 16:50:05 -0400
  • 38ca5973a1 WIP: Where I stopped when building first a ResultSet cacne then layering an Entity cache. Lot's of tricky bits that were not falling into place. gburd/entity-cache Greg Burd 2017-08-18 16:48:01 -0400
  • 933526b05b WIP: still working toward a solid caching scheme, progress but far from done. Greg Burd 2017-08-18 16:44:30 -0400
  • 28aa3b1bae WIP: Working toward a solution that can cache result sets and/or transformed entity instances when annotated with @Cacheable in the Session cache. Greg Burd 2017-08-17 16:00:19 -0400
  • 0fd9ff828c Update version to 2.0.21 Greg Burd 2017-08-17 12:15:48 -0400
  • 94ce778451 formatting Greg Burd 2017-08-17 12:14:00 -0400
  • 142688a215 Funnel all paths to the database through one single method implementation (the 'Executioner') so as to ensure all calls into Cassandra are wrapped in a common way (traced, measured, cached, etc.) in a single place. Greg Burd 2017-08-17 12:05:50 -0400
  • 6ad99fc459 formatting Greg Burd 2017-08-17 10:10:38 -0400
  • 602e3521b4 Values return to the client in a proxy object should be converted to the proper type. Greg Burd 2017-08-16 13:43:46 -0400
  • 007b6a51ae Merge branch 'develop' into 2.0.19-SNAPSHOT Greg Burd 2017-08-15 15:14:45 -0400