@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, withParams
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
get, getName, getUri, isForbidden, isSelected, setSelected
protected 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
Exception
public static OTDataset dataset(String datasetURI) throws Exception
Exception
public static OTDataset createDataset(org.restlet.representation.Representation entity, String dataset_service) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
public static OTDataset createDataset(File file, String mimeType, String dataset_service) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
public OTDataset copy() throws Exception
IOTDataset
copy
in interface IOTDataset
Exception
public OTDataset put(OTDatasets datasets) throws Exception
put
in interface IOTDataset
Exception
public OTDataset withDatasetService(org.restlet.data.Reference uri) throws Exception
withDatasetService
in interface IOTDataset
Exception
public OTDataset withDatasetService(String uri) throws Exception
Exception
public OTDataset filterByFeature(OTFeature feature, boolean withFeatures) throws Exception
Exception
protected OTDataset filterByFeatures(OTFeatures features, boolean withFeatures) throws Exception
Exception
public OTDataset filteredSubsetWithoutFeatures(OTFeatures features) throws Exception
IOTDataset
filteredSubsetWithoutFeatures
in interface IOTDataset
Exception
public OTDataset filteredSubsetWithFeatures(OTFeatures features) throws Exception
IOTDataset
filteredSubsetWithFeatures
in interface IOTDataset
Exception
public boolean isEmpty() throws Exception
IOTDataset
isEmpty
in interface IOTDataset
Exception
public OTDataset addColumns(OTFeatures features) throws Exception
IOTDataset
addColumns
in interface IOTDataset
Exception
public OTDataset addColumns(OTFeature feature) throws Exception
Exception
public OTDataset getPage(int page, int pageSize) throws Exception
getPage
in interface IOTObject
getPage
in interface IOTPageable<IOTDataset>
getPage
in class OTObject
Exception
public OTDataset getFeatures(OTFeatures features) throws Exception
getFeatures
in interface IOTDataset
Exception
public OTFeatures retrieveFeatures(OTFeatures features, String referer) throws Exception
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.