Package com.datarobot.model
Class Dataset
- java.lang.Object
-
- com.datarobot.model.Dataset
-
- All Implemented Interfaces:
INeedClient,java.io.Serializable
public class Dataset extends java.lang.Object implements java.io.Serializable, INeedClient
A reference to aDataseton the DataRobot server. Client code that uses the DataRobot AI API package generally should not construct these objects directly, they should be instantiated by AI API Client methods. This object may be out of sync with the DataRobot sever, for example, if multiple processes or users have permission to modify or delete it on the server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Dataset()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)internaljava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()internalintgetColumnCount()Retrieve the number of columns of thisDatasetorg.joda.time.DateTimegetCreatedOn()Retrieve the datetime thisDatasetwas createdjava.lang.StringgetId()Retrieve the unique identifier for thisDatasetjava.lang.StringgetName()Retrieve the name of thisDatasetintgetRowCount()Retrieve the number of rows of thisDatasetintgetSize()Retrieve the size of thisDatasetinthashCode()internalvoidsetAdditionalProperty(java.lang.String name, java.lang.Object value)internalvoidsetClient(IDataRobotAIClient client)internaljava.lang.StringtoString()
-
-
-
Method Detail
-
setClient
public void setClient(IDataRobotAIClient client)
internal- Specified by:
setClientin interfaceINeedClient
-
getId
public java.lang.String getId()
Retrieve the unique identifier for thisDataset- Returns:
- The ID for this dataset
-
getName
public java.lang.String getName()
Retrieve the name of thisDataset- Returns:
- The name of this dataset
-
getCreatedOn
public org.joda.time.DateTime getCreatedOn()
Retrieve the datetime thisDatasetwas created- Returns:
- The creation datetime of this dataset
-
getRowCount
public int getRowCount()
Retrieve the number of rows of thisDataset- Returns:
- The number of rows of the
Dataset
-
getColumnCount
public int getColumnCount()
Retrieve the number of columns of thisDataset- Returns:
- The number of columns of the
Dataset
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
internal
-
setAdditionalProperty
public void setAdditionalProperty(java.lang.String name, java.lang.Object value)internal
-
hashCode
public int hashCode()
internal- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
internal- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-