@Deprecated public class OTDataset extends OTObject implements IOTDataset
://opentox.org/dev/apis/api-1.1/dataset| Modifier and Type | Class and Description |
|---|---|
protected static class |
OTDataset.dataset_size
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected OTDataset.dataset_size |
isEmpty
Deprecated.
|
protected String |
license
Deprecated.
|
protected String |
seeAlso
Deprecated.
|
protected String |
source
Deprecated.
|
dataset_service, forbidden, form, name, pollInterval, pollTimeout, selected, service, uri| Constructor and Description |
|---|
OTDataset(org.restlet.data.Reference ref)
Deprecated.
|
OTDataset(String ref)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
OTDataset |
addColumns(OTFeature feature)
Deprecated.
|
OTDataset |
addColumns(OTFeatures features)
Deprecated.
Add features to the dataset
|
OTDataset |
copy()
Deprecated.
Copies the dataset and returns URI to a new dataset
|
static OTDataset |
createDataset(File file,
String mimeType,
String dataset_service)
Deprecated.
|
static OTDataset |
createDataset(org.restlet.representation.Representation entity,
String dataset_service)
Deprecated.
|
static OTDataset |
dataset(org.restlet.data.Reference datasetURI)
Deprecated.
|
static OTDataset |
dataset(String datasetURI)
Deprecated.
|
OTDataset |
filterByFeature(OTFeature feature,
boolean withFeatures)
Deprecated.
|
protected OTDataset |
filterByFeatures(OTFeatures features,
boolean withFeatures)
Deprecated.
|
OTDataset |
filteredSubsetWithFeatures(OTFeatures features)
Deprecated.
Return dataset entries (compounds), having values for specified features
|
OTDataset |
filteredSubsetWithoutFeatures(OTFeatures features)
Deprecated.
Return dataset entries (comnpounds),not having values for specified features
|
OTDataset |
getFeatures(OTFeatures features)
Deprecated.
|
String |
getLicense()
Deprecated.
|
OTDataset |
getPage(int page,
int pageSize)
Deprecated.
|
String |
getSeeAlso()
Deprecated.
|
String |
getSource()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
Tries to GET the URI and returns true if the dataset is empty, false otherwise.
|
boolean |
isEmpty(boolean cachedResult)
Deprecated.
|
OTDataset |
put(OTDatasets datasets)
Deprecated.
sends PUT request , adding datasets to the current one
|
OTDataset |
removeColumns()
Deprecated.
|
OTFeatures |
retrieveFeatures(OTFeatures features,
String referer)
Deprecated.
|
void |
setLicense(String license)
Deprecated.
|
void |
setSeeAlso(String seeAlso)
Deprecated.
|
void |
setSource(String source)
Deprecated.
|
OTDataset |
withDatasetService(org.restlet.data.Reference uri)
Deprecated.
|
OTDataset |
withDatasetService(String uri)
Deprecated.
|
OTDataset |
withName(String name)
Deprecated.
|
compareTo, create, delete, equals, get, getDataset_service, getName, getPagedReference, getUri, isForbidden, isSelected, object, object, post, post, put, readTextLineAsName, send, send, setName, setSelected, toString, wait, withParams, withParamsclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, getName, getUri, isForbidden, isSelected, setSelectedprotected OTDataset.dataset_size isEmpty
protected String license
protected String source
protected String seeAlso
public OTDataset(org.restlet.data.Reference ref)
public OTDataset(String ref)
public String getLicense()
public void setLicense(String license)
public String getSource()
public void setSource(String source)
public String getSeeAlso()
public void setSeeAlso(String seeAlso)
public static OTDataset dataset(org.restlet.data.Reference datasetURI) throws Exception
Exceptionpublic static OTDataset dataset(String datasetURI) throws Exception
Exceptionpublic static OTDataset createDataset(org.restlet.representation.Representation entity, String dataset_service) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceExceptionpublic static OTDataset createDataset(File file, String mimeType, String dataset_service) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceExceptionpublic OTDataset copy() throws Exception
IOTDatasetcopy in interface IOTDatasetExceptionpublic OTDataset put(OTDatasets datasets) throws Exception
put in interface IOTDatasetExceptionpublic OTDataset withDatasetService(org.restlet.data.Reference uri) throws Exception
withDatasetService in interface IOTDatasetExceptionpublic OTDataset withDatasetService(String uri) throws Exception
Exceptionpublic OTDataset filterByFeature(OTFeature feature, boolean withFeatures) throws Exception
Exceptionprotected OTDataset filterByFeatures(OTFeatures features, boolean withFeatures) throws Exception
Exceptionpublic OTDataset filteredSubsetWithoutFeatures(OTFeatures features) throws Exception
IOTDatasetfilteredSubsetWithoutFeatures in interface IOTDatasetExceptionpublic OTDataset filteredSubsetWithFeatures(OTFeatures features) throws Exception
IOTDatasetfilteredSubsetWithFeatures in interface IOTDatasetExceptionpublic boolean isEmpty()
throws Exception
IOTDatasetisEmpty in interface IOTDatasetExceptionpublic OTDataset addColumns(OTFeatures features) throws Exception
IOTDatasetaddColumns in interface IOTDatasetExceptionpublic OTDataset addColumns(OTFeature feature) throws Exception
Exceptionpublic OTDataset getPage(int page, int pageSize) throws Exception
getPage in interface IOTObjectgetPage in interface IOTPageable<IOTDataset>getPage in class OTObjectExceptionpublic OTDataset getFeatures(OTFeatures features) throws Exception
getFeatures in interface IOTDatasetExceptionpublic OTFeatures retrieveFeatures(OTFeatures features, String referer) throws Exception
ExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.