Stay organized with collections Save and categorize content based on your preferences.
Detailed documentationgetParameterClassName(param)
getParameterCount()
For documentation of this method, see java.sql.ParameterMetaData#getParameterCount()
.
Integer
— The number of parameters for which this metadata contains information.
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/script.external_request
getParameterMode(param)
For documentation of this method, see java.sql.ParameterMetaData#getParameterMode(int)
.
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
.
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/script.external_request
getParameterType(param)
For documentation of this method, see java.sql.ParameterMetaData#getParameterType(int)
.
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.
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/script.external_request
getParameterTypeName(param)
For documentation of this method, see java.sql.ParameterMetaData#getParameterTypeName(int)
.
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.
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/script.external_request
getPrecision(param)
For documentation of this method, see java.sql.ParameterMetaData#getPrecision(int)
.
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.
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/script.external_request
getScale(param)
For documentation of this method, see java.sql.ParameterMetaData#getScale(int)
.
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.
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/script.external_request
isNullable(param)
For documentation of this method, see java.sql.ParameterMetaData#isNullable(int)
.
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
.
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/script.external_request
isSigned(param)
For documentation of this method, see java.sql.ParameterMetaData#isSigned(int)
.
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.
Scripts that use this method require authorization with one or more of the following scopes:
https://www.googleapis.com/auth/script.external_request
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-03 UTC."],[[["JdbcParameterMetaData provides metadata about parameters in a prepared statement, mirroring the functionality of `java.sql.ParameterMetaData`."],["It offers methods to retrieve information such as parameter count, type, name, nullability, precision, and scale."],["Each method corresponds to its counterpart in `java.sql.ParameterMetaData` and requires specific authorization scopes."],["Developers can use these methods to understand the characteristics of parameters used in SQL queries."],["Parameter indexing starts from 1 for all methods requiring a parameter index."]]],["`JdbcParameterMetaData` provides information about parameters in a `JdbcPreparedStatement`. Key actions include retrieving parameter details via methods like `getParameterClassName`, `getParameterCount`, `getParameterMode`, `getParameterType`, and `getParameterTypeName`. Additional methods determine `getPrecision`, `getScale`, `isNullable`, and `isSigned` for specified parameter indices. Each method requires a parameter index to examine and returns data type details. Accessing these methods requires authorization through the `https://www.googleapis.com/auth/script.external_request` scope.\n"]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4