Class BigQueryResultSetMetadata (1.10.0)

public class BigQueryResultSetMetadata implements ResultSetMetaData

This class returns ResultSetMetadata for the JSON and the Arrow ResultSets

Inheritance

java.lang.Object > BigQueryResultSetMetadata

Implements

ResultSetMetaData

Methods

<T>unwrap(Class<T> iface)

public T <T>unwrap(Class<T> iface)
Parameter
Name Description
iface Class<T>
Returns
Type Description
T
Exceptions
Type Description
SQLException

getCatalogName(int column)

public String getCatalogName(int column)
Parameter
Name Description
column int
Returns
Type Description
String

getColumnClassName(int column)

public String getColumnClassName(int column)
Parameter
Name Description
column int
Returns
Type Description
String
Exceptions
Type Description
SQLException

getColumnCount()

public int getColumnCount()
Returns
Type Description
int

getColumnDisplaySize(int column)

public int getColumnDisplaySize(int column)
Parameter
Name Description
column int
Returns
Type Description
int
Exceptions
Type Description
SQLException

getColumnLabel(int column)

public String getColumnLabel(int column)
Parameter
Name Description
column int
Returns
Type Description
String
Exceptions
Type Description
SQLException

getColumnName(int column)

public String getColumnName(int column)
Parameter
Name Description
column int
Returns
Type Description
String
Exceptions
Type Description
SQLException

getColumnType(int column)

public int getColumnType(int column)
Parameter
Name Description
column int
Returns
Type Description
int
Exceptions
Type Description
SQLException

getColumnTypeName(int column)

public String getColumnTypeName(int column)
Parameter
Name Description
column int
Returns
Type Description
String
Exceptions
Type Description
SQLException

getField(int sqlColumn)

public Field getField(int sqlColumn)

Returns the BigQuery Field schema definition for the given 1-based SQL column index.

Parameter
Name Description
sqlColumn int

the first column is 1, the second is 2, ...

Returns
Type Description
com.google.cloud.bigquery.Field

the Field for the specified column

Exceptions
Type Description
SQLException

if the column index is out of bounds

getPrecision(int column)

public int getPrecision(int column)
Parameter
Name Description
column int
Returns
Type Description
int
Exceptions
Type Description
SQLException

getScale(int column)

public int getScale(int column)
Parameter
Name Description
column int
Returns
Type Description
int
Exceptions
Type Description
SQLException

getSchemaName(int column)

public String getSchemaName(int column)
Parameter
Name Description
column int
Returns
Type Description
String

getTableName(int column)

public String getTableName(int column)
Parameter
Name Description
column int
Returns
Type Description
String

isAutoIncrement(int column)

public boolean isAutoIncrement(int column)
Parameter
Name Description
column int
Returns
Type Description
boolean

isCaseSensitive(int column)

public boolean isCaseSensitive(int column)
Parameter
Name Description
column int
Returns
Type Description
boolean
Exceptions
Type Description
SQLException

isCurrency(int column)

public boolean isCurrency(int column)
Parameter
Name Description
column int
Returns
Type Description
boolean

isDefinitelyWritable(int column)

public boolean isDefinitelyWritable(int column)
Parameter
Name Description
column int
Returns
Type Description
boolean

isNullable(int column)

public int isNullable(int column)
Parameter
Name Description
column int
Returns
Type Description
int
Exceptions
Type Description
SQLException

isReadOnly(int column)

public boolean isReadOnly(int column)
Parameter
Name Description
column int
Returns
Type Description
boolean

isSearchable(int column)

public boolean isSearchable(int column)
Parameter
Name Description
column int
Returns
Type Description
boolean

isSigned(int column)

public boolean isSigned(int column)
Parameter
Name Description
column int
Returns
Type Description
boolean
Exceptions
Type Description
SQLException

isWrapperFor(Class<?> iface)

public boolean isWrapperFor(Class<?> iface)
Parameter
Name Description
iface Class<?>
Returns
Type Description
boolean
Exceptions
Type Description
SQLException

isWritable(int column)

public boolean isWritable(int column)
Parameter
Name Description
column int
Returns
Type Description
boolean