GithubHelp home page GithubHelp logo

ozzie00 / hector-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zznate/hector-examples

1.0 3.0 0.0 1.72 MB

Various examples of using the Hector API to access Apache Cassandra

License: MIT License

hector-examples's Introduction

Overview

Note: though useful, this project has been largely superceeded by:

https://github.com/zznate/cassandra-tutorial

Provides example classes for using Hector to access Apache Cassandra (0.7.0). These examples were inspired by the same questions appearing reapeatedly on: [email protected] from users with a big variance in skill level.

The goals for each of these classes are:

  • be completely atomic
  • be as simple as possible
  • have minimal dependencies
  • demonstrate a specific API call with the Hector client
  • sacrifice reuse and encapsulation for the sake of clarity

Each class can be directly executed via maven like so:

mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.[class name]"

These classes assume you have an instance of Cassandra running on localhost:9160 with the default configuration. If this is one of the first times you have started Apache Cassandra, make sure you have loaded the default schema: http://wiki.apache.org/cassandra/LiveSchemaUpdates

Additional Sources of Information

Mail List: [email protected]

Hector Wiki: http://wiki.github.com/rantav/hector/

Hector Doc at Riptano: http://www.riptano.com/sites/default/files/hector-v2-client-doc.pdf

This software is designed solely for demonstartion purposes of basic capabilities regarding the Hector client API for Apache Cassandra. It is available under an MIT license (see LICENSE for details). Use at your own risk.

hector-examples's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.