Skip to content

AtScaleInc/query-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AtScale Query Hello World

This straight forward example queries an existing table and exports it to a new table.

Prerequisites

  1. Java
  2. Maven: https://maven.apache.org/download.cgi or $ brew install maven on Mac OSX

Running the Example

  1. clone repo: $ git clone https://github.com/AtScaleInc/query-hello-world.git
  2. move to directory: $ cd query-hello-world
  3. run command:
$ mvn clean compile exec:java\
  -Dexec.mainClass="com.atscale.engine.examples.helloworld.HelloWorld"\
  -Dexec.args="<atscale engine host> <export table prefix>"

can be any valid table name.

Mac OS X

If you are missing JAVA_HOME, set it in your terminal

export JAVA_HOME=$(/usr/libexec/java_home)

or put it in your .bash_profile

About

Example JDBC code for querying Atscale with the SQL Dialect.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages