[ 
https://issues.apache.org/jira/browse/STREAMS-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15782313#comment-15782313
 ] 

ASF GitHub Bot commented on STREAMS-478:
----------------------------------------

Github user smarthi commented on a diff in the pull request:

    https://github.com/apache/incubator-streams/pull/345#discussion_r94002347
  
    --- Diff: 
streams-contrib/streams-persist-cassandra/src/main/java/org/apache/streams/cassandra/CassandraPersistReader.java
 ---
    @@ -0,0 +1,315 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + *
    + *   http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +
    +package org.apache.streams.cassandra;
    +
    +import org.apache.streams.config.ComponentConfigurator;
    +import org.apache.streams.config.StreamsConfigurator;
    +import org.apache.streams.core.DatumStatusCounter;
    +import org.apache.streams.core.StreamsDatum;
    +import org.apache.streams.core.StreamsPersistReader;
    +import org.apache.streams.core.StreamsResultSet;
    +import org.apache.streams.jackson.StreamsJacksonMapper;
    +
    +import com.datastax.driver.core.Cluster;
    +import com.datastax.driver.core.DataType;
    +import com.datastax.driver.core.KeyspaceMetadata;
    +import com.datastax.driver.core.Metadata;
    +import com.datastax.driver.core.ResultSet;
    +import com.datastax.driver.core.Row;
    +import com.datastax.driver.core.Session;
    +import com.datastax.driver.core.TableMetadata;
    +import com.datastax.driver.core.querybuilder.QueryBuilder;
    +import com.datastax.driver.core.schemabuilder.SchemaBuilder;
    +import com.fasterxml.jackson.databind.ObjectMapper;
    +import com.fasterxml.jackson.databind.node.ObjectNode;
    +import com.google.common.base.Strings;
    --- End diff --
    
    We have moved to Java 8 since the 0.4.1 release, there's no need to use 
Guava APIs.  Replace with equivalent Java 8 or Apace Commns api 


> streams persist reader/writer for Apache Cassandra
> --------------------------------------------------
>
>                 Key: STREAMS-478
>                 URL: https://issues.apache.org/jira/browse/STREAMS-478
>             Project: Streams
>          Issue Type: New Feature
>            Reporter: Subhobrata Dey
>
> This issue is created to propose the streams persist reader/writer to 
> get/post documents from/to apache cassandra.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to