JdbcParameterMetaData

A JDBC `ParameterMetaData`. For documentation of this class, see [`
java.sql.ParameterMetaData`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html).

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `https://developers.google.com/apps-script/reference/jdbc/jdbc-parameter-meta-data#getParameterClassName(Integer)` | `String` | For documentation of this method, see [`java.sql.ParameterMetaData#getParameterClassName(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterClassName(int)). |
| `https://developers.google.com/apps-script/reference/jdbc/jdbc-parameter-meta-data#getParameterCount()` | `Integer` | For documentation of this method, see [`java.sql.ParameterMetaData#getParameterCount()`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterCount()). |
| `https://developers.google.com/apps-script/reference/jdbc/jdbc-parameter-meta-data#getParameterMode(Integer)` | `Integer` | For documentation of this method, see [`java.sql.ParameterMetaData#getParameterMode(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterMode(int)). |
| `https://developers.google.com/apps-script/reference/jdbc/jdbc-parameter-meta-data#getParameterType(Integer)` | `Integer` | For documentation of this method, see [`java.sql.ParameterMetaData#getParameterType(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterType(int)). |
| `https://developers.google.com/apps-script/reference/jdbc/jdbc-parameter-meta-data#getParameterTypeName(Integer)` | `String` | For documentation of this method, see [`java.sql.ParameterMetaData#getParameterTypeName(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterTypeName(int)). |
| `https://developers.google.com/apps-script/reference/jdbc/jdbc-parameter-meta-data#getPrecision(Integer)` | `Integer` | For documentation of this method, see [`java.sql.ParameterMetaData#getPrecision(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getPrecision(int)). |
| `https://developers.google.com/apps-script/reference/jdbc/jdbc-parameter-meta-data#getScale(Integer)` | `Integer` | For documentation of this method, see [`java.sql.ParameterMetaData#getScale(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getScale(int)). |
| `https://developers.google.com/apps-script/reference/jdbc/jdbc-parameter-meta-data#isNullable(Integer)` | `Integer` | For documentation of this method, see [`java.sql.ParameterMetaData#isNullable(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#isNullable(int)). |
| `https://developers.google.com/apps-script/reference/jdbc/jdbc-parameter-meta-data#isSigned(Integer)` | `Boolean` | For documentation of this method, see [`java.sql.ParameterMetaData#isSigned(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#isSigned(int))). |

## Detailed documentation

### `getParameterClassName(param)`

For documentation of this method, see [`java.sql.ParameterMetaData#getParameterClassName(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterClassName(int)).

#### Parameters

| Name | Type | Description |
|---|---|---|
| `param` | `Integer` | The index of the parameter to examine. The first parameter has an index of 1. |

#### Return


`String` --- The fully-qualified Java class name that is used by the `https://developers.google.com/apps-script/reference/jdbc/jdbc-prepared-statement#setObject(Integer,Object)` methods.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/script.external_request`

*** ** * ** ***

### `getParameterCount()`

For documentation of this method, see [`java.sql.ParameterMetaData#getParameterCount()`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterCount()).

#### Return


`Integer` --- The number of parameters for which this metadata contains information.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/script.external_request`

*** ** * ** ***

### `getParameterMode(param)`

For documentation of this method, see [`java.sql.ParameterMetaData#getParameterMode(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterMode(int)).

#### Parameters

| Name | Type | Description |
|---|---|---|
| `param` | `Integer` | The index of the parameter to examine. The first parameter has an index of 1. |

#### Return


`Integer` --- The designated parameter's mode, which is one of `Jdbc.ParameterMetaData.parameterModeIn`, `Jdbc.ParameterMetaData.parameterModeOut`,
`Jdbc.ParameterMetaData.parameterModeInOut`, or `Jdbc.ParameterMetaData.parameterModeUnknown`.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/script.external_request`

*** ** * ** ***

### `getParameterType(param)`

For documentation of this method, see [`java.sql.ParameterMetaData#getParameterType(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterType(int)).

#### Parameters

| Name | Type | Description |
|---|---|---|
| `param` | `Integer` | The index of the parameter to examine. The first parameter has an index of 1. |

#### Return


`Integer` --- The designated parameter's [SQL type](https://docs.oracle.com/javase/6/docs/api/java/sql/Types.html).

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/script.external_request`

*** ** * ** ***

### `getParameterTypeName(param)`

For documentation of this method, see [`java.sql.ParameterMetaData#getParameterTypeName(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getParameterTypeName(int)).

#### Parameters

| Name | Type | Description |
|---|---|---|
| `param` | `Integer` | The index of the parameter to examine. The first parameter has an index of 1. |

#### Return


`String` --- The designated parameter's database-specific type name. This is a fully-qualified type
name if the parameter is a user-defined type.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/script.external_request`

*** ** * ** ***

### `getPrecision(param)`

For documentation of this method, see [`java.sql.ParameterMetaData#getPrecision(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getPrecision(int)).

#### Parameters

| Name | Type | Description |
|---|---|---|
| `param` | `Integer` | The index of the parameter to examine. The first parameter has an index of 1. |

#### Return


`Integer` --- The maximum column size for the given parameter. For numeric data, this is the maximum
precision. For character data, this is the length in characters. For datetime data, this is
the length in characters of the string representation (assuming the maximum allowed
precision of the fractional seconds component). For binary data, this is the length in
bytes. For the `ROWID` datatype, this is the length in bytes. Returns 0 for types
where the column size is not applicable.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/script.external_request`

*** ** * ** ***

### `getScale(param)`

For documentation of this method, see [`java.sql.ParameterMetaData#getScale(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#getScale(int)).

#### Parameters

| Name | Type | Description |
|---|---|---|
| `param` | `Integer` | The index of the parameter to examine. The first parameter has an index of 1. |

#### Return


`Integer` --- The designated parameter's number of digits to right of the decimal point. Returns 0
for data types where the scale is not applicable.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/script.external_request`

*** ** * ** ***

### `isNullable(param)`

For documentation of this method, see [`java.sql.ParameterMetaData#isNullable(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#isNullable(int)).

#### Parameters

| Name | Type | Description |
|---|---|---|
| `param` | `Integer` | The index of the parameter to examine. The first parameter has an index of 1. |

#### Return


`Integer` --- The nullability status of the given parameter; one of `Jdbc.ParameterMetaData.parameterNoNulls`, `Jdbc.ParameterMetaData.parameterNullable`,
or `Jdbc.ParameterMetaData.parameterNullableUnknown`.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/script.external_request`

*** ** * ** ***

### `isSigned(param)`

For documentation of this method, see [`java.sql.ParameterMetaData#isSigned(int)`](https://docs.oracle.com/javase/6/docs/api/java/sql/ParameterMetaData.html#isSigned(int))).

#### Parameters

| Name | Type | Description |
|---|---|---|
| `param` | `Integer` | The index of the parameter to examine. The first parameter has an index of 1. |

#### Return


`Boolean` --- `true` if the specified parameter can accept signed number values; `false`
otherwise.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/script.external_request`