public class Model extends ModelInfoA Google BigQuery ML Model.
Objects of this class are immutable. Operations that modify the table like #update
 return a new object. To get a Model object with the most recent information use #reload.
Methods
delete()
public boolean delete()Deletes this model.
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        
  | 
      
equals(Object obj)
public final boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description | 
obj | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
exists()
public boolean exists()Check if this model exists.
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        
  | 
      
getBigQuery()
public BigQuery getBigQuery()Return's the model's BigQuery object used to issue requests. *
| Returns | |
|---|---|
| Type | Description | 
BigQuery | 
        |
hashCode()
public final int hashCode()| Returns | |
|---|---|
| Type | Description | 
int | 
        |
reload(BigQuery.ModelOption[] options)
public Model reload(BigQuery.ModelOption[] options)Fetches current model's state from the service. Returns null if the model does not
 exist. A new Model is returned.
| Parameter | |
|---|---|
| Name | Description | 
options | 
        ModelOption[]model options  | 
      
| Returns | |
|---|---|
| Type | Description | 
Model | 
        a   | 
      
toBuilder()
public Model.Builder toBuilder()| Returns | |
|---|---|
| Type | Description | 
Model.Builder | 
        |
update(BigQuery.ModelOption[] options)
public Model update(BigQuery.ModelOption[] options)Updates the model's information with this model's information. Dataset and model identifiers
 cannot be updated. A new Model object is returned.
| Parameter | |
|---|---|
| Name | Description | 
options | 
        ModelOption[]dataset options  | 
      
| Returns | |
|---|---|
| Type | Description | 
Model | 
        a   |