Class JobId (2.43.1)

public abstract class JobId implements Serializable

Google BigQuery Job identity.

Inheritance

java.lang.Object > JobId

Implements

Serializable

Static Methods

newBuilder()

public static JobId.Builder newBuilder()
Returns
Type Description
JobId.Builder

of()

public static JobId of()

Creates a job identity with autogenerated id and no project specified.

Returns
Type Description
JobId

of(String job)

public static JobId of(String job)

Creates a job identity given only its user-defined id.

Parameter
Name Description
job String
Returns
Type Description
JobId

of(String project, String job)

public static JobId of(String project, String job)

Creates a job identity given project's and job's user-defined id.

Parameters
Name Description
project String
job String
Returns
Type Description
JobId

Methods

getJob()

public abstract String getJob()

Returns the job's id.

The server returns null job id for dry-run queries.

Returns
Type Description
String

getLocation()

public abstract String getLocation()

Returns the job's location.

When sending requests, the location must be specified for jobs whose location not "US" or "EU".

Returns
Type Description
String

getProject()

public abstract String getProject()

Returns job's project id.

When sending requests with null project, the client will attempt to infer the project name from the environment.

Returns
Type Description
String

toBuilder()

public abstract JobId.Builder toBuilder()
Returns
Type Description
JobId.Builder