public interface Source extends Describable
|Modifier and Type
|Method and Description
Gets the map of security attributes associated with this source
This method states whether this source is available, typically connecting and performing some sort of simple query or ping to the native catalog.
This is expected to be an expensive operation, possibly involving network I/O.
CatalogFramework implementations will call this and only
boolean isAvailable(SourceMonitor callback)
isAvailable() but allows a caller to provide a
SourceMonitor callback object which is meant to be used as a way for the
dynamically contact the caller with its availability. The intent is to return a boolean as to
Source is available at this very moment and also to use the
SourceMonitor object to update the caller of this method if this Source's availability changes
later in the future.
callback - - used to notify the caller of this method when the
Source object wants
to update its availability.
SourceResponse query(QueryRequest request) throws UnsupportedQueryException
ContentTypes that are currently stored by the
Source. Notice the
return object is a
Set, meaning it returns all unique content types found in the Source
This work is licensed under a Creative Commons Attribution 4.0 International License.