Class BigQueryInt (8.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
Build a BigQueryInt object. For long integers, a string can be provided.
Inheritance
Number
>
BigQueryInt
Package
@google-cloud/bigquery
Example
const
{
BigQuery
}
=
require
(
' @google-cloud/bigquery
'
);
const
bigquery
=
new
BigQuery
();
const
anInt
=
bigquery
.
int
(
7
);
Constructors
(constructor)(value, typeCastOptions)
constructor
(
value
:
string
|
number
|
IntegerTypeCastValue
,
typeCastOptions
?:
IntegerTypeCastOptions
);
Constructs a new instance of the BigQueryInt
class
Properties
type
typeCastFunction
typeCastFunction
?:
Function
;
value
Methods
toJSON()
valueOf()
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-09-04 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-09-04 UTC."],[],[],null,["# Class BigQueryInt (8.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [8.0.0 (latest)](/nodejs/docs/reference/bigquery/latest/bigquery/bigqueryint)\n- [7.8.0](/nodejs/docs/reference/bigquery/7.8.0/bigquery/bigqueryint)\n- [7.7.0](/nodejs/docs/reference/bigquery/7.7.0/bigquery/bigqueryint)\n- [7.6.1](/nodejs/docs/reference/bigquery/7.6.1/bigquery/bigqueryint)\n- [7.5.2](/nodejs/docs/reference/bigquery/7.5.2/bigquery/bigqueryint)\n- [7.4.0](/nodejs/docs/reference/bigquery/7.4.0/bigquery/bigqueryint)\n- [7.3.0](/nodejs/docs/reference/bigquery/7.3.0/bigquery/bigqueryint)\n- [7.2.0](/nodejs/docs/reference/bigquery/7.2.0/bigquery/bigqueryint)\n- [7.1.1](/nodejs/docs/reference/bigquery/7.1.1/bigquery/bigqueryint)\n- [7.0.0](/nodejs/docs/reference/bigquery/7.0.0/bigquery/bigqueryint)\n- [6.2.1](/nodejs/docs/reference/bigquery/6.2.1/bigquery/bigqueryint)\n- [6.0.3](/nodejs/docs/reference/bigquery/6.0.3/bigquery/bigqueryint)\n- [5.12.0](/nodejs/docs/reference/bigquery/5.12.0/bigquery/bigqueryint)\n- [5.11.0](/nodejs/docs/reference/bigquery/5.11.0/bigquery/bigqueryint)\n- [5.10.0](/nodejs/docs/reference/bigquery/5.10.0/bigquery/bigqueryint)\n- [5.9.3](/nodejs/docs/reference/bigquery/5.9.3/bigquery/bigqueryint)\n- [5.8.0](/nodejs/docs/reference/bigquery/5.8.0/bigquery/bigqueryint)\n- [5.7.1](/nodejs/docs/reference/bigquery/5.7.1/bigquery/bigqueryint)\n- [5.6.0](/nodejs/docs/reference/bigquery/5.6.0/bigquery/bigqueryint)\n- [5.5.0](/nodejs/docs/reference/bigquery/5.5.0/bigquery/bigqueryint) \nBuild a BigQueryInt object. For long integers, a string can be provided. \n\nInheritance\n-----------\n\nNumber \\\u003e BigQueryInt\n\nPackage\n-------\n\n[@google-cloud/bigquery](../overview.html)\n\nExample\n-------\n\n\n const {BigQuery} = require('https://cloud.google.com/nodejs/docs/reference/bigquery/latest/overview.html');\n const bigquery = new https://cloud.google.com/nodejs/docs/reference/bigquery/latest/bigquery/bigquery.html();\n const anInt = bigquery.https://cloud.google.com/nodejs/docs/reference/bigquery/latest/bigquery/bigquery.html(7);\n\nConstructors\n------------\n\n### (constructor)(value, typeCastOptions)\n\n constructor(value: string | number | IntegerTypeCastValue, typeCastOptions?: IntegerTypeCastOptions);\n\nConstructs a new instance of the `BigQueryInt` class\n\nProperties\n----------\n\n### type\n\n type: string;\n\n### typeCastFunction\n\n typeCastFunction?: Function;\n\n### value\n\n value: string;\n\nMethods\n-------\n\n### toJSON()\n\n toJSON(): Json;\n\n### valueOf()\n\n valueOf(): any;"]]