public class TrainingTime extends Iced<TrainingTime> implements LeaderboardCell<java.lang.Long,TrainingTime>
Modifier and Type | Field and Description |
---|---|
static LeaderboardColumn |
COLUMN |
Constructor and Description |
---|
TrainingTime(Key<Model> modelId) |
TrainingTime(Model model) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
fetch()
Fetch the value if necessary: this may be a long running task.
|
LeaderboardColumn |
getColumn() |
Key<Model> |
getModelId() |
java.lang.Long |
getValue()
gets the current value of the cell.
|
boolean |
isNA() |
void |
setValue(java.lang.Long value)
sets the cell value.
|
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asBytes, clone, frozenType, read, readJSON, reloadFromBytes, write, writeJSON
public static final LeaderboardColumn COLUMN
public TrainingTime(Model model)
public LeaderboardColumn getColumn()
getColumn
in interface LeaderboardCell<java.lang.Long,TrainingTime>
public Key<Model> getModelId()
getModelId
in interface LeaderboardCell<java.lang.Long,TrainingTime>
public java.lang.Long getValue()
LeaderboardCell
LeaderboardCell.fetch()
.
This is an accessor, it is safe to call LeaderboardCell.getValue()
multiple times without triggering any side effect.getValue
in interface LeaderboardCell<java.lang.Long,TrainingTime>
public void setValue(java.lang.Long value)
LeaderboardCell
setValue
in interface LeaderboardCell<java.lang.Long,TrainingTime>
public boolean isNA()
isNA
in interface LeaderboardCell<java.lang.Long,TrainingTime>
public java.lang.Long fetch()
LeaderboardCell
fetch
in interface LeaderboardCell<java.lang.Long,TrainingTime>