public class TSchemaDefinition2AccessorImpl extends TAbstractSchemaDefinitionAccessor implements TSchemaDefinition2Accessor
canBeCancelled, clientRequests, requestCounter, SGUAI
Constructor and Description |
---|
TSchemaDefinition2AccessorImpl(TStreamAccessor streamAccessor,
TResponseBuilder responseBuilder)
Special Constructor.
|
Modifier and Type | Method and Description |
---|---|
TResponse |
getCollection(java.lang.String collection)
Gets the collection with the specified name and hands back the result as a TResponse object.
|
java.util.Iterator<java.lang.String> |
getCollectionNames()
Gets the iterator for the list of all collection names stored within Tamino.
|
TResponse |
getSchema(java.lang.String collection,
java.lang.String schema)
Gets the schema or multiple schemas for the given collection and schema and hands back the result
as a TResponse object.
|
java.util.Iterator<java.lang.String> |
getSchemaNames(java.lang.String collection)
Gets the iterator for the list of schema names given within the specified collection, or if no collection
is given all schema names currently stored under the connected database.
|
cancelRequests, define, getAccessFailureVerifier, getResponseBuilder, getStreamAccessor, setAccessLocation, setCanBeCancelled, setMaximumRequestDuration, undefine, undefine
getAccessCollection, getAccessLocation, getApplicationName, getCanBeCancelled, getDatabaseUri, getInvocation, getLocale, getLockMode, getLockwaitMode, getMaximumRequestDuration, invalidate, invoke, invoke, invoke, setApplicationName, setInvocation, setLockMode, setLockwaitMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
define, undefine
cancelRequests, getAccessLocation, getApplicationName, getCanBeCancelled, getLockMode, getLockwaitMode, getMaximumRequestDuration, setAccessLocation, setApplicationName, setCanBeCancelled, setLockMode, setLockwaitMode, setMaximumRequestDuration
invalidate
public TSchemaDefinition2AccessorImpl(TStreamAccessor streamAccessor, TResponseBuilder responseBuilder)
streamAccessor,
- internally needed for core stream access.responseBuilder,
- needed for building high level response objects.public java.util.Iterator<java.lang.String> getCollectionNames() throws TQueryException
getCollectionNames
in interface TSchemaDefinition2Accessor
TQueryException
- if the query for the collection names fails.public java.util.Iterator<java.lang.String> getSchemaNames(java.lang.String collection) throws TQueryException
getSchemaNames
in interface TSchemaDefinition2Accessor
collection
- specifies the collection for which all schema names have to be delivered. If this is not
specified all schema names are requested.TQueryException
- if the query for the schema names fails.public TResponse getCollection(java.lang.String collection) throws TQueryException
getCollection
in interface TSchemaDefinition2Accessor
collection
- specifies the collection for which the query has been invoked. If no collection is given all
collections are referenced that are stored under the connected Tamino database.TQueryException
- if the query for the collection fails.public TResponse getSchema(java.lang.String collection, java.lang.String schema) throws TQueryException
getSchema
in interface TSchemaDefinition2Accessor
collection
- specifies the Tamino collection for which schemas are requested.schema
- specifies the schema name for which schemas are requested.TQueryException
- if the query for the given schema fails.Copyright (c) 2017 Software AG. All Rights Reserved.