Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the BigQuery Client class ValueMapper.
Maps values to their expected BigQuery types. This class is intended for internal use only.
NamespaceGoogle \ Cloud \ BigQuery Methods __construct Parameter Name DescriptionreturnInt64AsObject
bool
If true, 64 bit integers will be returned as a Google\Cloud\Core\Int64 object for 32 bit platform compatibility.
fromBigQueryMaps a value coming from BigQuery to the expected format for use in the library.
Parameters Name Descriptionvalue
array
The value to map.
schema
array
The schema describing the value.
toBigQueryMaps a user provided value to the expected BigQuery format.
Parameter Name Descriptionvalue
mixed
The value to map.
Returns Type Descriptionmixed
toParameter
Maps a value to the expected parameter format.
Parameter Name Descriptionvalue
mixed
The value to map.
Returns Type Descriptionarray
Constants TYPE_BOOL TYPE_BOOLEAN TYPE_INT64 TYPE_INTEGER TYPE_FLOAT64 TYPE_FLOAT TYPE_NUMERIC TYPE_BIGNUMERIC TYPE_STRING TYPE_BYTES TYPE_DATE TYPE_DATETIME TYPE_TIME TYPE_TIMESTAMP TYPE_ARRAY TYPE_STRUCT TYPE_RECORD TYPE_GEOGRAPHY TYPE_JSON DATETIME_FORMAT DATETIME_FORMAT_INSERT
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 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]
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