Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 881 Bytes

File metadata and controls

26 lines (16 loc) · 881 Bytes

Getting Started with Cloud Datastore and the Google Cloud Client libraries

Google Cloud Datastore is a highly-scalable NoSQL database for your applications. These sample Java applications demonstrate how to access the Datastore API using the Google Cloud Client Library for Java.

Quickstart

Install Maven.

Build your project with:

mvn clean package -DskipTests

You can then run a given ClassName via:

mvn exec:java -Dexec.mainClass=com.example.bigquery.ClassName \
    -DpropertyName=propertyValue \
	-Dexec.args="any arguments to the app"

Creating a new entity (using the quickstart sample)

mvn exec:java -Dexec.mainClass=com.example.datastore.QuickstartSample