Skip to content

Commit

Permalink
AUTO: Sync ScalarDB docs in English to docs site repo (#645)
Browse files Browse the repository at this point in the history
Co-authored-by: josh-wong <[email protected]>
  • Loading branch information
github-actions[bot] and josh-wong authored Oct 15, 2024
1 parent 66e9310 commit 6a0584d
Show file tree
Hide file tree
Showing 16 changed files with 60 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Select your build tool, and follow the instructions to add the build dependency

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb:3.13.0'
implementation 'com.scalar-labs:scalardb:3.12.4'
}
```
</TabItem>
Expand All @@ -247,7 +247,7 @@ Select your build tool, and follow the instructions to add the build dependency
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb</artifactId>
<version>3.13.0</version>
<version>3.12.4</version>
</dependency>
```
</TabItem>
Expand All @@ -268,4 +268,4 @@ The following limitations apply to non-transactional storage operations:

### Learn more

- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb/3.13.0/index.html)
- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb/3.12.4/index.html)
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To add a dependency on the ScalarDB Cluster Java Client SDK by using Gradle, use

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.3'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.4'
}
```

Expand All @@ -27,7 +27,7 @@ To add a dependency by using Maven, use the following:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.12.3</version>
<version>3.12.4</version>
</dependency>
```

Expand Down Expand Up @@ -120,11 +120,11 @@ scalar.db.contact_points=direct-kubernetes:ns/scalardb-cluster

To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster).
Using the Schema Loader for Cluster is basically the same as using the [ScalarDB Schema Loader](../schema-loader.mdx) except the name of the JAR file is different.
You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.3).
You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.4).
After downloading the JAR file, you can run Schema Loader for Cluster with the following command:

```console
java -jar scalardb-cluster-schema-loader-3.12.3-all.jar --config <PATH_TO_CONFIG_FILE> -f <PATH_TO_SCHEMA_FILE> --coordinator
java -jar scalardb-cluster-schema-loader-3.12.4-all.jar --config <PATH_TO_CONFIG_FILE> -f <PATH_TO_SCHEMA_FILE> --coordinator
```

## ScalarDB Cluster SQL
Expand Down Expand Up @@ -164,8 +164,8 @@ To add the dependencies on the ScalarDB Cluster JDBC driver by using Gradle, use

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-sql-jdbc:3.12.3'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.3'
implementation 'com.scalar-labs:scalardb-sql-jdbc:3.12.4'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.4'
}
```

Expand All @@ -176,12 +176,12 @@ To add the dependencies by using Maven, use the following:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql-jdbc</artifactId>
<version>3.12.3</version>
<version>3.12.4</version>
</dependency>
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.12.3</version>
<version>3.12.4</version>
</dependency>
</dependencies>
```
Expand All @@ -199,8 +199,8 @@ To add the dependencies by using Gradle, use the following:

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-sql-spring-data:3.12.3'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.3'
implementation 'com.scalar-labs:scalardb-sql-spring-data:3.12.4'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.4'
}
```

Expand All @@ -211,12 +211,12 @@ To add the dependencies by using Maven, use the following:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql-spring-data</artifactId>
<version>3.12.3</version>
<version>3.12.4</version>
</dependency>
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.12.3</version>
<version>3.12.4</version>
</dependency>
</dependencies>
```
Expand Down Expand Up @@ -261,18 +261,18 @@ For details about how to configure Spring Data JDBC for ScalarDB, see [Configura

Like other SQL databases, ScalarDB SQL also provides a CLI tool where you can issue SQL statements interactively in a command-line shell.

You can download the SQL CLI for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.3). After downloading the JAR file, you can run the SQL CLI with the following command:
You can download the SQL CLI for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.4). After downloading the JAR file, you can run the SQL CLI with the following command:

```console
java -jar scalardb-cluster-sql-cli-3.13.0-all.jar --config <PATH_TO_CONFIG_FILE>
java -jar scalardb-cluster-sql-cli-3.12.4-all.jar --config <PATH_TO_CONFIG_FILE>
```

#### Usage

You can see the CLI usage with the `-h` option as follows:

```console
java -jar scalardb-cluster-sql-cli-3.13.0-all.jar -h
java -jar scalardb-cluster-sql-cli-3.12.4-all.jar -h
Usage: scalardb-sql-cli [-hs] -c=PROPERTIES_FILE [-e=COMMAND] [-f=FILE]
[-l=LOG_FILE] [-o=<outputFormat>] [-p=PASSWORD]
[-u=USERNAME]
Expand Down Expand Up @@ -303,6 +303,6 @@ For details about the ScalarDB Cluster gRPC API, refer to the following:

JavaDocs are also available:

* [ScalarDB Cluster Java Client SDK](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-java-client-sdk/3.12.3/index.html)
* [ScalarDB Cluster Common](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-common/3.12.3/index.html)
* [ScalarDB Cluster RPC](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-rpc/3.12.3/index.html)
* [ScalarDB Cluster Java Client SDK](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-java-client-sdk/3.12.4/index.html)
* [ScalarDB Cluster Common](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-common/3.12.4/index.html)
* [ScalarDB Cluster RPC](https://javadoc.io/doc/com.scalar-labs/scalardb-cluster-rpc/3.12.4/index.html)
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster).
Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different.
You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.3).
You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.4).
After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:

```console
java -jar scalardb-cluster-schema-loader-3.12.3-all.jar --config database.properties -f schema.json --coordinator
java -jar scalardb-cluster-schema-loader-3.12.4-all.jar --config database.properties -f schema.json --coordinator
```

## Step 4. Run operations from GraphiQL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

## Step 3. Load a schema

To load a schema, you need to use [the SQL CLI](developer-guide-for-scalardb-cluster-with-java-api.mdx#sql-cli). You can download the SQL CLI from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.3). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command:
To load a schema, you need to use [the SQL CLI](developer-guide-for-scalardb-cluster-with-java-api.mdx#sql-cli). You can download the SQL CLI from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.4). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command:

```console
java -jar scalardb-cluster-sql-cli-3.12.3-all.jar --config scalardb-sql.properties --file schema.sql
java -jar scalardb-cluster-sql-cli-3.12.4-all.jar --config scalardb-sql.properties --file schema.sql
```

## Step 4. Load the initial data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

## Step 3. Load a schema

To load a schema, you need to use [the SQL CLI](developer-guide-for-scalardb-cluster-with-java-api.mdx#sql-cli). You can download the SQL CLI from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.3). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command:
To load a schema, you need to use [the SQL CLI](developer-guide-for-scalardb-cluster-with-java-api.mdx#sql-cli). You can download the SQL CLI from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.4). After downloading the JAR file, you can use SQL CLI for Cluster by running the following command:

```console
java -jar scalardb-cluster-sql-cli-3.12.3-all.jar --config scalardb-sql.properties --file schema.sql
java -jar scalardb-cluster-sql-cli-3.12.4-all.jar --config scalardb-sql.properties --file schema.sql
```

## Step 4. Modify `application.properties`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ To use ScalarDB Cluster, open `build.gradle` in your preferred text editor. Then
dependencies {
...
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.3'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.4'
}
```

Expand Down Expand Up @@ -167,12 +167,12 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

The database schema (the method in which the data will be organized) for the sample application has already been defined in [`schema.json`](https://github.com/scalar-labs/scalardb-samples/tree/main/scalardb-sample/schema.json).

To apply the schema, go to [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.3) and download the ScalarDB Cluster Schema Loader to the `scalardb-samples/scalardb-sample` folder.
To apply the schema, go to [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.4) and download the ScalarDB Cluster Schema Loader to the `scalardb-samples/scalardb-sample` folder.

Then, run the following command:

```console
java -jar scalardb-cluster-schema-loader-3.12.3-all.jar --config database.properties -f schema.json --coordinator
java -jar scalardb-cluster-schema-loader-3.12.4-all.jar --config database.properties -f schema.json --coordinator
```

#### Schema details
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

## Step 3. Load a schema

To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different. You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.3). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:
To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different. You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.4). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:

```console
java -jar scalardb-cluster-schema-loader-3.12.3-all.jar --config database.properties -f schema.json --coordinator
java -jar scalardb-cluster-schema-loader-3.12.4-all.jar --config database.properties -f schema.json --coordinator
```

## Step 4. Set up a Go environment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ For details about the client modes, see [Developer Guide for ScalarDB Cluster wi

## Step 3. Load a schema

To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different. You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.3). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:
To load a schema via ScalarDB Cluster, you need to use the dedicated Schema Loader for ScalarDB Cluster (Schema Loader for Cluster). Using the Schema Loader for Cluster is basically the same as using the [Schema Loader for ScalarDB](../schema-loader.mdx) except the name of the JAR file is different. You can download the Schema Loader for Cluster from [ScalarDB Releases](https://github.com/scalar-labs/scalardb/releases/tag/v3.12.4). After downloading the JAR file, you can run the Schema Loader for Cluster with the following command:

```console
java -jar scalardb-cluster-schema-loader-3.12.3-all.jar --config database.properties -f schema.json --coordinator
java -jar scalardb-cluster-schema-loader-3.12.4-all.jar --config database.properties -f schema.json --coordinator
```

## Step 4. Set up a Python environment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ Select your build tool, and follow the instructions to add the build dependency

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.13.0'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.4'
}
```
</TabItem>
Expand All @@ -281,7 +281,7 @@ Select your build tool, and follow the instructions to add the build dependency
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.13.0</version>
<version>3.12.4</version>
</dependency>
```
</TabItem>
Expand All @@ -306,5 +306,5 @@ The following limitations apply to non-transactional storage operations:

### Learn more

- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb/3.13.0/index.html)
- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb/3.12.4/index.html)
- [Developer Guide for ScalarDB Cluster with the Java API](developer-guide-for-scalardb-cluster-with-java-api.mdx)
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ Also, for a list of supported DDLs, see [ScalarDB SQL Grammar](../scalardb-sql/g

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-sql-jdbc:3.13.0'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.13.0'
implementation 'com.scalar-labs:scalardb-sql-jdbc:3.12.4'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.4'
}
```
</TabItem>
Expand All @@ -288,12 +288,12 @@ Also, for a list of supported DDLs, see [ScalarDB SQL Grammar](../scalardb-sql/g
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql-jdbc</artifactId>
<version>3.13.0</version>
<version>3.12.4</version>
</dependency>
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.13.0</version>
<version>3.12.4</version>
</dependency>
</dependencies>
```
Expand Down Expand Up @@ -340,8 +340,8 @@ The following limitations apply to non-transactional storage operations:

```gradle
dependencies {
implementation 'com.scalar-labs:scalardb-sql:3.13.0'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.13.0'
implementation 'com.scalar-labs:scalardb-sql:3.12.4'
implementation 'com.scalar-labs:scalardb-cluster-java-client-sdk:3.12.4'
}
```
</TabItem>
Expand All @@ -353,12 +353,12 @@ The following limitations apply to non-transactional storage operations:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql</artifactId>
<version>3.13.0</version>
<version>3.12.4</version>
</dependency>
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-cluster-java-client-sdk</artifactId>
<version>3.13.0</version>
<version>3.12.4</version>
</dependency>
</dependencies>
```
Expand Down Expand Up @@ -386,7 +386,7 @@ The following limitations apply to non-transactional storage operations:

<h3>Learn more</h3>

- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb-sql/3.13.0/index.html)
- [Javadoc](https://javadoc.io/doc/com.scalar-labs/scalardb-sql/3.12.4/index.html)

</TabItem>
</Tabs>
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ You can deploy PostgreSQL on the Kubernetes cluster as follows.
5. Set the chart version of ScalarDB Cluster.

```console
SCALAR_DB_CLUSTER_VERSION=3.13.0
SCALAR_DB_CLUSTER_VERSION=3.12.4
SCALAR_DB_CLUSTER_CHART_VERSION=$(helm search repo scalar-labs/scalardb-cluster -l | grep -F "${SCALAR_DB_CLUSTER_VERSION}" | awk '{print $2}' | sort --version-sort -r | head -n 1)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:

scalardb-cluster-standalone:
container_name: "scalardb-cluser-node"
image: "ghcr.io/scalar-labs/scalardb-cluster-node:3.12.3"
image: "ghcr.io/scalar-labs/scalardb-cluster-node:3.12.4"
ports:
- 60053:60053
- 9080:9080
Expand Down
8 changes: 4 additions & 4 deletions versioned_docs/version-3.12/scalardb-sql/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ To add a dependency on ScalarDB SQL using Gradle, use the following:
```gradle
dependencies {
// For Direct mode
implementation 'com.scalar-labs:scalardb-sql-direct-mode:3.12.3'
implementation 'com.scalar-labs:scalardb-sql-direct-mode:3.12.4'
// For Server mode
implementation 'com.scalar-labs:scalardb-sql-server-mode:3.12.3'
implementation 'com.scalar-labs:scalardb-sql-server-mode:3.12.4'
}
```

Expand All @@ -102,14 +102,14 @@ To add a dependency using Maven:
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql-direct-mode</artifactId>
<version>3.12.3</version>
<version>3.12.4</version>
</dependency>

<!-- For Server mode -->
<dependency>
<groupId>com.scalar-labs</groupId>
<artifactId>scalardb-sql-server-mode</artifactId>
<version>3.12.3</version>
<version>3.12.4</version>
</dependency>
</dependencies>
```
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-3.12/scalardb-sql/jdbc-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,4 @@ Please see also [ScalarDB SQL API Guide](sql-api-guide.mdx) for more details on

- [Java JDBC API](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/)
- [ScalarDB SQL API Guide](sql-api-guide.mdx)
- [Javadoc for ScalarDB JDBC](https://javadoc.io/doc/com.scalar-labs/scalardb-sql-jdbc/3.12.3/index.html)
- [Javadoc for ScalarDB JDBC](https://javadoc.io/doc/com.scalar-labs/scalardb-sql-jdbc/3.12.4/index.html)
Original file line number Diff line number Diff line change
Expand Up @@ -799,4 +799,4 @@ In order to use Spring Data JDBC for ScalarDB, the following features are implem

- [Spring Data JDBC - Reference Documentation](https://docs.spring.io/spring-data/jdbc/docs/3.0.x/reference/html/)
- [ScalarDB JDBC Guide](jdbc-guide.mdx)
- [Javadoc for Spring Data JDBC for ScalarDB](https://javadoc.io/doc/com.scalar-labs/scalardb-sql-spring-data/3.12.3/index.html)
- [Javadoc for Spring Data JDBC for ScalarDB](https://javadoc.io/doc/com.scalar-labs/scalardb-sql-spring-data/3.12.4/index.html)
Loading

0 comments on commit 6a0584d

Please sign in to comment.