com.bigdata.relation.locator
Interface ILocatableResource<T>

All Known Subinterfaces:
IDatabase<E>, IMutableDatabase<E>, IMutableRelation<E>, IMutableResource<T>, IRelation<E>
All Known Implementing Classes:
AbstractLocalTripleStore, AbstractRelation, AbstractResource, AbstractTripleStore, BigdataFileSystem, BigdataSubjectCentricFullTextIndex, BigdataValueCentricFullTextIndex, FullTextIndex, LexiconRelation, LocalTripleStore, RelationFusedView, ScaleOutTripleStore, SPORelation, TempTripleStore

public interface ILocatableResource<T>

A locatable resource. Resources have a unique namespace and can be resolved and a view materialized using an IResourceLocator. There is a timestamp associated with the resource - the timestamp is used to request IIndex views for the resource. There is a presumption that resources are essentially logical "index containers".

Version:
$Id: ILocatableResource.java 3424 2010-08-06 15:59:39Z thompsonbry $
Author:
Bryan Thompson

Method Summary
 String getContainerNamespace()
          The identifier for the containing resource.
 String getNamespace()
          The identifying namespace.
 long getTimestamp()
          The timestamp associated with the view of the resource.
 ILocatableResource<T> init()
          Deferred initialization method is automatically invoked when the resource is materialized by the IResourceLocator.
 

Method Detail

init

ILocatableResource<T> init()
Deferred initialization method is automatically invoked when the resource is materialized by the IResourceLocator. The implementation is encouraged to strengthen the return type.


getNamespace

String getNamespace()
The identifying namespace.


getTimestamp

long getTimestamp()
The timestamp associated with the view of the resource.


getContainerNamespace

String getContainerNamespace()
The identifier for the containing resource.

Returns:
The identifier of the containing resource -or- null if there is no containing resource.


Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.