|
| 1 | +# Google Cloud Java Client for Spanner |
| 2 | + |
| 3 | +Java idiomatic client for [Cloud |
| 4 | +Spanner](https://cloud.google.com/spanner). |
| 5 | + |
| 6 | +[](https://travis-ci.org/GoogleCloudPlatform/google-cloud-java) |
| 8 | +[](https://coveralls.io/r/GoogleCloudPlatform/google-cloud-java?branch=master) |
| 10 | +[](https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-spanner.svg) |
| 11 | +[](https://www.codacy.com/app/mziccard/google-cloud-java) |
| 13 | +[](https://www.versioneye.com/user/projects/56bd8ee72a29ed002d2b0969) |
| 15 | + |
| 16 | +- [Homepage](https://googlecloudplatform.github.io/google-cloud-java/) |
| 17 | +- [API |
| 18 | + Documentation](https://googlecloudplatform.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/spanner/package-summary.html) |
| 19 | + |
| 20 | +> Note: This client is a work-in-progress, and may occasionally make |
| 21 | +> backwards-incompatible changes. |
| 22 | +
|
| 23 | +## Quickstart |
| 24 | + |
| 25 | +If you are using Maven, add this to your pom.xml file `xml <dependency> |
| 26 | +<groupId>com.google.cloud</groupId> |
| 27 | +<artifactId>google-cloud-spanner</artifactId> <version>0.8.2-beta</version> |
| 28 | +</dependency>` If you are using Gradle, add this to your dependencies `Groovy |
| 29 | +compile 'com.google.cloud:google-cloud-spanner:0.8.2-beta'` If you are using |
| 30 | +SBT, add this to your dependencies `Scala libraryDependencies += |
| 31 | +"com.google.cloud" % "google-cloud-spanner" % "0.8.2-beta"` |
| 32 | + |
| 33 | +## Authentication |
| 34 | + |
| 35 | +See the |
| 36 | +[Authentication](https://github.com/GoogleCloudPlatform/google-cloud-java#authentication) |
| 37 | +section in the base directory's README. |
| 38 | + |
| 39 | +## About Cloud Spanner |
| 40 | + |
| 41 | +[Cloud Spanner][cloud-spanner] is a fully managed, mission-critical relational database service |
| 42 | +built from the ground up and battle tested for transactional consistency, high |
| 43 | +availability, and global scale. With traditional relational semantics (schemas, |
| 44 | +ACID transactions, SQL) and automatic, synchronous replication for high |
| 45 | +availability, Cloud Spanner is the only database service of its kind on the |
| 46 | +market. |
| 47 | + |
| 48 | +Be sure to activate the Cloud Spanner API on the Developer's Console to |
| 49 | +use Cloud Spanner from your project. |
| 50 | + |
| 51 | +See the `google-cloud` API [spanner documentation][spanner-api] to learn how to |
| 52 | +interact with Cloud Spanner using this Client Library. |
| 53 | + |
| 54 | +## Getting Started |
| 55 | + |
| 56 | +Please refer to the [getting |
| 57 | +started](https://cloud.google.com/spanner/docs/getting-started/java/) guide. |
| 58 | + |
| 59 | +## Troubleshooting |
| 60 | + |
| 61 | +To get help, follow the instructions in the [shared Troubleshooting |
| 62 | +document](https://github.com/GoogleCloudPlatform/gcloud-common/blob/master/troubleshooting/readme.md#troubleshooting). |
| 63 | + |
| 64 | +## Java Versions |
| 65 | + |
| 66 | +Java 7 or above is required for using this client. |
| 67 | + |
| 68 | +## Testing |
| 69 | + |
| 70 | +This library has tools to help make tests for code using Cloud Spanner. |
| 71 | + |
| 72 | +See [TESTING] to read more about testing. |
| 73 | + |
| 74 | +## Versioning |
| 75 | + |
| 76 | +This library follows [Semantic Versioning](http://semver.org/). |
| 77 | + |
| 78 | +It is currently in major version zero (`0.y.z`), which means that anything may |
| 79 | +change at any time and the public API should not be considered stable. |
| 80 | + |
| 81 | +## Contributing |
| 82 | + |
| 83 | +Contributions to this library are always welcome and highly encouraged. |
| 84 | + |
| 85 | +See [CONTRIBUTING] for more information on how to get started. |
| 86 | + |
| 87 | +## License |
| 88 | + |
| 89 | +Apache 2.0 - See [LICENSE] for more information. |
| 90 | + |
| 91 | +[CONTRIBUTING]:https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/CONTRIBUTING.md |
| 92 | +[LICENSE]: https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/LICENSE |
| 93 | +[TESTING]: https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/TESTING.md#testing-code-that-uses-cloud-spanner |
| 94 | +[cloud-platform]: https://cloud.google.com/ |
| 95 | +[cloud-spanner]: https://cloud.google.com/spanner/ |
| 96 | +[spanner-api]: https://googlecloudplatform.github.io/google-cloud-java/apidocs/index.html?com/google/cloud/spanner/package-summary.html |
0 commit comments