public interface CNRead
Modifier and Type | Method and Description |
---|---|
DescribeResponse |
describe(Session session,
Identifier id) |
InputStream |
get(Session session,
Identifier id)
InputStream is the Java native version of D1's OctetStream
|
Checksum |
getChecksum(Session session,
Identifier pid) |
QueryEngineDescription |
getQueryEngineDescription(Session session,
String queryEngine) |
SystemMetadata |
getSystemMetadata(Session session,
Identifier id) |
ObjectList |
listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatId,
NodeReference nodeId,
Identifier identifier,
Integer start,
Integer count) |
QueryEngineList |
listQueryEngines(Session session) |
InputStream |
query(Session session,
String queryEngine,
String query) |
ObjectLocationList |
resolve(Session session,
Identifier id) |
ObjectList |
search(Session session,
String queryType,
String query) |
InputStream get(Session session, Identifier id) throws InvalidToken, ServiceFailure, NotAuthorized, NotFound, NotImplemented
InvalidToken
ServiceFailure
NotAuthorized
NotFound
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNRead.get
SystemMetadata getSystemMetadata(Session session, Identifier id) throws InvalidToken, ServiceFailure, NotAuthorized, NotFound, NotImplemented
InvalidToken
ServiceFailure
NotAuthorized
NotFound
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNRead.getSystemMetadata
DescribeResponse describe(Session session, Identifier id) throws InvalidToken, NotAuthorized, NotImplemented, ServiceFailure, NotFound
InvalidToken
NotAuthorized
NotImplemented
ServiceFailure
NotFound
https://purl.dataone.org/architecturev2/apis/MN_APIs.html#MN_read.describe
ObjectLocationList resolve(Session session, Identifier id) throws InvalidToken, ServiceFailure, NotAuthorized, NotFound, NotImplemented
InvalidToken
ServiceFailure
NotAuthorized
NotFound
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNRead.resolve
Checksum getChecksum(Session session, Identifier pid) throws InvalidToken, ServiceFailure, NotAuthorized, NotFound, NotImplemented
InvalidToken
ServiceFailure
NotAuthorized
NotFound
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNRead.getChecksum
ObjectList listObjects(Session session, Date fromDate, Date toDate, ObjectFormatIdentifier formatId, NodeReference nodeId, Identifier identifier, Integer start, Integer count) throws InvalidRequest, InvalidToken, NotAuthorized, NotImplemented, ServiceFailure
InvalidRequest
InvalidToken
NotAuthorized
NotImplemented
ServiceFailure
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNRead.listObjects
ObjectList search(Session session, String queryType, String query) throws InvalidToken, ServiceFailure, NotAuthorized, InvalidRequest, NotImplemented
InvalidToken
ServiceFailure
NotAuthorized
InvalidRequest
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNRead.search
InputStream query(Session session, String queryEngine, String query) throws InvalidToken, ServiceFailure, NotAuthorized, InvalidRequest, NotImplemented, NotFound
InvalidToken
ServiceFailure
NotAuthorized
InvalidRequest
NotImplemented
NotFound
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNRead.query
QueryEngineDescription getQueryEngineDescription(Session session, String queryEngine) throws InvalidToken, ServiceFailure, NotAuthorized, NotImplemented, NotFound
InvalidToken
ServiceFailure
NotAuthorized
NotImplemented
NotFound
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNRead.getQueryEngineDescription
QueryEngineList listQueryEngines(Session session) throws InvalidToken, ServiceFailure, NotAuthorized, NotImplemented
InvalidToken
ServiceFailure
NotAuthorized
NotImplemented
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNRead.listQueryEngines
Copyright © 2020. All Rights Reserved.