Named parameters and provided types
Stay organized with collections
Save and categorize content based on your preferences.
Run a query with named parameters and provided parameter types.
Code sample
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.
[[["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"]],[],[[["\u003cp\u003eThis code demonstrates how to execute a BigQuery query using named parameters and their corresponding data types in both Java and Node.js.\u003c/p\u003e\n"],["\u003cp\u003eThe examples showcase querying the \u003ccode\u003ebigquery-public-data.samples.shakespeare\u003c/code\u003e dataset, filtering results based on a list of words, corpus name, and minimum word count.\u003c/p\u003e\n"],["\u003cp\u003eThe Java example utilizes the \u003ccode\u003eQueryJobConfiguration\u003c/code\u003e class to build a query with named parameters, where each parameter's data type is specified, while the Node.js example utilizes the \u003ccode\u003eparams\u003c/code\u003e and \u003ccode\u003etypes\u003c/code\u003e options during configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe required steps to authenticate, install, and reference documentation for the BigQuery Client Libraries are provided.\u003c/p\u003e\n"]]],[],null,[]]