Class DataSourceParameter

  • DataSourceParameter allows you to access existing data source parameters, but should only be used with data connected to a database.

  • You can use getName() to retrieve the parameter name.

  • You can use getSourceCell() to get the source cell the parameter is valued based on, or null if the type is not CELL.

  • You can use getType() to get the parameter type.

DataSourceParameter

Access existing data source parameters.

Only use this class with data that's connected to a database.

Methods

MethodReturn typeBrief description
getName() StringGets the parameter name.
getSourceCell() StringGets the source cell the parameter is valued based on, or null if the parameter type is not DataSourceParameterType.CELL .
getType() DataSourceParameterType Gets the parameter type.

Detailed documentation

getName()

Gets the parameter name.

Return

String — The parameter name.


getSourceCell()

Gets the source cell the parameter is valued based on, or null if the parameter type is not DataSourceParameterType.CELL .

Return

String — The source cell, as specified in A1 notation.


getType()

Gets the parameter type.

Return

DataSourceParameterType — The parameter type.

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.