From efb26b8618c16a454798cd488b3b1bd0dc269b02 Mon Sep 17 00:00:00 2001 From: Greg Burd Date: Tue, 8 Aug 2017 14:28:31 -0400 Subject: [PATCH] --amend . --- NOTES | 38 ++++++++++++++++++++++++++++++++++++++ pom.xml | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 NOTES diff --git a/NOTES b/NOTES new file mode 100644 index 0000000..cd9a7f6 --- /dev/null +++ b/NOTES @@ -0,0 +1,38 @@ +primitive types have default values, (e.g. boolean, int, ...) but primative wrapper classes do not and can be null (e.g. Boolean, Integer, ...) + +create table wal { + id timeuuid, + follows timeuuid, + read > + write > + primary key (id, follows) +} +begin: + - insert into wal (timeuuid, parent timeuuid, + + + + // NOTE: Update operations have no meaning when they only contain primary key components, so + // given that `properties` is ordered with the keys first if we find that the last element + // is either a partition key or clustering column then we know we should just skip this operation. + ColumnType ct = ((HelenusProperty) properties.toArray()[properties.size() - 1]).getColumnType(); + if (ct != ColumnType.PARTITION_KEY && ct != ColumnType.CLUSTERING_COLUMN) { + return; + } + + + + public Stream sync() { + ListenableFuture> future = async(); + Futures.addCallback(future, new FutureCallback() { + @Override + public void onSuccess(String contents) { + //...process web site contents + } + + @Override + public void onFailure(Throwable throwable) { + log.error("Exception in task", throwable); + } + }); + } diff --git a/pom.xml b/pom.xml index 7e5be89..4e16c06 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 net.helenus helenus-core - 2.0.7-SNAPSHOT + 2.0.8-SNAPSHOT jar helenus