Package com.google.cloud.bigquery
Class ModelInfo
java.lang.Object
com.google.cloud.bigquery.ModelInfo
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Model
Google BigQuery ML model information. Models are not created directly via the API, but by issuing
a CREATE MODEL query.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the time when this model was created, in milliseconds since the epoch.Returns the user description of the model.getEtag()
Returns the hash of the model resource.Returns this this model expires, in milliseconds since the epoch.com.google.common.collect.ImmutableList<StandardSQLField>
Returns information about the feature columns for this model.Returns the user-friendly name for the model.com.google.common.collect.ImmutableList<StandardSQLField>
Returns information about the label columns for this model.Returns a map for labels applied to the model.Returns the time when this table was last modified, in milliseconds since the epoch.Returns a location of the model.Returns the model identity.Returns the type of the ML model.com.google.common.collect.ImmutableList<com.google.api.services.bigquery.model.TrainingRun>
Returns metadata about each training run iteration.int
hashCode()
static ModelInfo.Builder
newBuilder
(ModelId modelId) Returns a builder for aModelInfo
object given table identity.static ModelInfo
Returns aModelInfo
object given table identity.toString()
-
Method Details
-
getEtag
Returns the hash of the model resource. -
getModelId
Returns the model identity. -
getModelType
Returns the type of the ML model. -
getDescription
Returns the user description of the model. -
getFriendlyName
Returns the user-friendly name for the model. -
getCreationTime
Returns the time when this model was created, in milliseconds since the epoch. -
getLastModifiedTime
Returns the time when this table was last modified, in milliseconds since the epoch. -
getExpirationTime
Returns this this model expires, in milliseconds since the epoch. If not present, the model will persist indefinitely. Expired models will be deleted. -
getLabels
Returns a map for labels applied to the model. -
getLocation
Returns a location of the model. -
getTrainingRuns
@BetaApi public com.google.common.collect.ImmutableList<com.google.api.services.bigquery.model.TrainingRun> getTrainingRuns()Returns metadata about each training run iteration. -
getLabelColumns
Returns information about the label columns for this model. -
getFeatureColumns
Returns information about the feature columns for this model. -
getEncryptionConfiguration
-
toBuilder
-
toString
-
hashCode
public int hashCode() -
equals
-
newBuilder
Returns a builder for aModelInfo
object given table identity. -
of
Returns aModelInfo
object given table identity.
-