Class BigQueryBaseResultSet (2.58.0)

public abstract class BigQueryBaseResultSet extends BigQueryNoOpsResultSet implements BigQueryResultSet

Inheritance

Object > com.google.cloud.bigquery.jdbc.BigQueryNoOpsResultSet > BigQueryBaseResultSet

Implements

BigQueryResultSet

Constructors

BigQueryBaseResultSet(BigQuery bigQuery, BigQueryStatement statement, Schema schema, boolean isNested)

protected BigQueryBaseResultSet(BigQuery bigQuery, BigQueryStatement statement, Schema schema, boolean isNested)
Parameters
Name Description
bigQuery BigQuery
statement BigQueryStatement
schema Schema
isNested boolean

Fields

LOG

protected final BigQueryJdbcCustomLogger LOG
Field Value
Type Description
com.google.cloud.bigquery.jdbc.BigQueryJdbcCustomLogger

bigQueryTypeCoercer

protected final BigQueryTypeCoercer bigQueryTypeCoercer
Field Value
Type Description
com.google.cloud.bigquery.jdbc.BigQueryTypeCoercer

isClosed

protected boolean isClosed
Field Value
Type Description
boolean

isNested

protected final boolean isNested
Field Value
Type Description
boolean

schema

protected final Schema schema
Field Value
Type Description
Schema

schemaFieldList

protected final FieldList schemaFieldList
Field Value
Type Description
FieldList

statement

protected final BigQueryStatement statement
Field Value
Type Description
BigQueryStatement

wasNull

protected boolean wasNull
Field Value
Type Description
boolean

Methods

close()

public void close()

createCoercionException(int columnIndex, Class<?> targetClass, Exception cause)

protected SQLException createCoercionException(int columnIndex, Class<?> targetClass, Exception cause)
Parameters
Name Description
columnIndex int
targetClass Class<?>
cause Exception
Returns
Type Description
SQLException
Exceptions
Type Description
SQLException

findColumn(String columnLabel)

public int findColumn(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
int
Exceptions
Type Description
SQLException

getArray(int columnIndex)

public Array getArray(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
Array
Exceptions
Type Description
SQLException

getArray(String columnLabel)

public Array getArray(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
Array
Exceptions
Type Description
SQLException

getAsciiStream(int columnIndex)

public InputStream getAsciiStream(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
InputStream
Exceptions
Type Description
SQLException

getAsciiStream(String columnLabel)

public InputStream getAsciiStream(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
InputStream
Exceptions
Type Description
SQLException

getBigDecimal(int columnIndex)

public BigDecimal getBigDecimal(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
BigDecimal
Exceptions
Type Description
SQLException

getBigDecimal(int columnIndex, int scale)

public BigDecimal getBigDecimal(int columnIndex, int scale)
Parameters
Name Description
columnIndex int
scale int
Returns
Type Description
BigDecimal
Exceptions
Type Description
SQLException

getBigDecimal(String columnLabel)

public BigDecimal getBigDecimal(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
BigDecimal
Exceptions
Type Description
SQLException

getBigDecimal(String columnLabel, int scale)

public BigDecimal getBigDecimal(String columnLabel, int scale)
Parameters
Name Description
columnLabel String
scale int
Returns
Type Description
BigDecimal
Exceptions
Type Description
SQLException

getBinaryStream(int columnIndex)

public InputStream getBinaryStream(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
InputStream
Exceptions
Type Description
SQLException

getBinaryStream(String columnLabel)

public InputStream getBinaryStream(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
InputStream
Exceptions
Type Description
SQLException

getBlob(int columnIndex)

public Blob getBlob(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
Blob
Exceptions
Type Description
SQLException

getBlob(String columnLabel)

public Blob getBlob(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
Blob
Exceptions
Type Description
SQLException

getBoolean(int columnIndex)

public boolean getBoolean(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
boolean
Exceptions
Type Description
SQLException

getBoolean(String columnLabel)

public boolean getBoolean(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
boolean
Exceptions
Type Description
SQLException

getByte(int columnIndex)

public byte getByte(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
byte
Exceptions
Type Description
SQLException

getByte(String columnLabel)

public byte getByte(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
byte
Exceptions
Type Description
SQLException

getBytes(int columnIndex)

public byte[] getBytes(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
byte[]
Exceptions
Type Description
SQLException

getBytes(String columnLabel)

public byte[] getBytes(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
byte[]
Exceptions
Type Description
SQLException

getCharacterStream(int columnIndex)

public Reader getCharacterStream(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
Reader
Exceptions
Type Description
SQLException

getCharacterStream(String columnLabel)

public Reader getCharacterStream(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
Reader
Exceptions
Type Description
SQLException

getClob(int columnIndex)

public Clob getClob(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
Clob
Exceptions
Type Description
SQLException

getClob(String columnLabel)

public Clob getClob(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
Clob
Exceptions
Type Description
SQLException

getColumnIndex(String columnLabel)

protected int getColumnIndex(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
int
Exceptions
Type Description
SQLException

getConcurrency()

public int getConcurrency()
Returns
Type Description
int
Exceptions
Type Description
SQLException

getDate(int columnIndex)

public Date getDate(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
Date
Exceptions
Type Description
SQLException

getDate(int columnIndex, Calendar cal)

public Date getDate(int columnIndex, Calendar cal)
Parameters
Name Description
columnIndex int
cal Calendar
Returns
Type Description
Date
Exceptions
Type Description
SQLException

getDate(String columnLabel)

public Date getDate(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
Date
Exceptions
Type Description
SQLException

getDate(String columnLabel, Calendar cal)

public Date getDate(String columnLabel, Calendar cal)
Parameters
Name Description
columnLabel String
cal Calendar
Returns
Type Description
Date
Exceptions
Type Description
SQLException

getDouble(int columnIndex)

public double getDouble(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
double
Exceptions
Type Description
SQLException

getDouble(String columnLabel)

public double getDouble(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
double
Exceptions
Type Description
SQLException

getFloat(int columnIndex)

public float getFloat(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
float
Exceptions
Type Description
SQLException

getFloat(String columnLabel)

public float getFloat(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
float
Exceptions
Type Description
SQLException

getHoldability()

public int getHoldability()
Returns
Type Description
int
Exceptions
Type Description
SQLException

getInt(int columnIndex)

public int getInt(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
int
Exceptions
Type Description
SQLException

getInt(String columnLabel)

public int getInt(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
int
Exceptions
Type Description
SQLException

getJobId()

public JobId getJobId()
Returns
Type Description
JobId

getLong(int columnIndex)

public long getLong(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
long
Exceptions
Type Description
SQLException

getLong(String columnLabel)

public long getLong(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
long
Exceptions
Type Description
SQLException

getMetaData()

public ResultSetMetaData getMetaData()
Returns
Type Description
ResultSetMetaData
Exceptions
Type Description
SQLException

getObject(int columnIndex)

public abstract Object getObject(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
Object
Exceptions
Type Description
SQLException

getObject(String columnLabel)

public Object getObject(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
Object
Exceptions
Type Description
SQLException

getQueryId()

public String getQueryId()
Returns
Type Description
String

getQueryStatistics()

public JobStatistics.QueryStatistics getQueryStatistics()
Returns
Type Description
JobStatistics.QueryStatistics

getShort(int columnIndex)

public short getShort(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
short
Exceptions
Type Description
SQLException

getShort(String columnLabel)

public short getShort(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
short
Exceptions
Type Description
SQLException

getStatement()

public Statement getStatement()
Returns
Type Description
Statement
Exceptions
Type Description
SQLException

getString(int columnIndex)

public String getString(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
String
Exceptions
Type Description
SQLException

getString(String columnLabel)

public String getString(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
String
Exceptions
Type Description
SQLException

getTime(int columnIndex)

public Time getTime(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
Time
Exceptions
Type Description
SQLException

getTime(int columnIndex, Calendar cal)

public Time getTime(int columnIndex, Calendar cal)
Parameters
Name Description
columnIndex int
cal Calendar
Returns
Type Description
Time
Exceptions
Type Description
SQLException

getTime(String columnLabel)

public Time getTime(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
Time
Exceptions
Type Description
SQLException

getTime(String columnLabel, Calendar cal)

public Time getTime(String columnLabel, Calendar cal)
Parameters
Name Description
columnLabel String
cal Calendar
Returns
Type Description
Time
Exceptions
Type Description
SQLException

getTimestamp(int columnIndex)

public Timestamp getTimestamp(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
Timestamp
Exceptions
Type Description
SQLException

getTimestamp(int columnIndex, Calendar cal)

public Timestamp getTimestamp(int columnIndex, Calendar cal)
Parameters
Name Description
columnIndex int
cal Calendar
Returns
Type Description
Timestamp
Exceptions
Type Description
SQLException

getTimestamp(String columnLabel)

public Timestamp getTimestamp(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
Timestamp
Exceptions
Type Description
SQLException

getTimestamp(String columnLabel, Calendar cal)

public Timestamp getTimestamp(String columnLabel, Calendar cal)
Parameters
Name Description
columnLabel String
cal Calendar
Returns
Type Description
Timestamp
Exceptions
Type Description
SQLException

getType()

public int getType()
Returns
Type Description
int
Exceptions
Type Description
SQLException

getUnicodeStream(int columnIndex)

public InputStream getUnicodeStream(int columnIndex)
Parameter
Name Description
columnIndex int
Returns
Type Description
InputStream
Exceptions
Type Description
SQLException

getUnicodeStream(String columnLabel)

public InputStream getUnicodeStream(String columnLabel)
Parameter
Name Description
columnLabel String
Returns
Type Description
InputStream
Exceptions
Type Description
SQLException

isClosed()

public boolean isClosed()
Returns
Type Description
boolean

setJobId(JobId jobId)

public void setJobId(JobId jobId)
Parameter
Name Description
jobId JobId

setQueryId(String queryId)

public void setQueryId(String queryId)
Parameter
Name Description
queryId String

setWasNull(Object val)

protected void setWasNull(Object val)
Parameter
Name Description
val Object

wasNull()

public boolean wasNull()
Returns
Type Description
boolean
Exceptions
Type Description
SQLException