com.ontotext.ordi.trree
Class TRREEAdapter

java.lang.Object
  extended by com.ontotext.ordi.tripleset.WarningAwareImpl
      extended by com.ontotext.ordi.tripleset.DataSourceImpl
          extended by com.ontotext.ordi.tripleset.impl.TSourceImpl
              extended by com.ontotext.ordi.trree.TRREEAdapter
All Implemented Interfaces:
DataSource, TSource, WarningAware, Wrapper

public class TRREEAdapter
extends TSourceImpl


Field Summary
static String INFERENCER_RULESET
           
static String KEY_INDEX_SIZE
           
static int KEY_INDEX_SIZE_DEFAULT
           
static String LOAD_PERSISTED_DATA
           
static String PARTIAL_RDFS
           
static String STORAGE_DIRECTORY
           
 
Fields inherited from class com.ontotext.ordi.tripleset.DataSourceImpl
properties
 
Fields inherited from class com.ontotext.ordi.tripleset.WarningAwareImpl
warning
 
Constructor Summary
TRREEAdapter(Map<Object,Object> props)
           
 
Method Summary
protected  void finalize()
           
 TConnection getConnection()
          Create new connection with default values.
 TConnection getConnection(String user, String pass)
          Creates a new connection with specified user name and password.
 TFactory getTriplesetFactory()
          Get factory object that can be used to construct URI, Literals and BNodes.
 boolean isShutdown()
          Verifies whether the server instance is shutdown.
 void shutdown()
          Sends a signal to the server for shutdown.
 
Methods inherited from class com.ontotext.ordi.tripleset.DataSourceImpl
getMetaData, isWrapperFor, unwrap
 
Methods inherited from class com.ontotext.ordi.tripleset.WarningAwareImpl
clearWarnings, getWarning
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ontotext.ordi.DataSource
getMetaData
 
Methods inherited from interface com.ontotext.ordi.Wrapper
isWrapperFor, unwrap
 
Methods inherited from interface com.ontotext.ordi.WarningAware
clearWarnings, getWarning
 

Field Detail

KEY_INDEX_SIZE_DEFAULT

public static final int KEY_INDEX_SIZE_DEFAULT
See Also:
Constant Field Values

KEY_INDEX_SIZE

public static final String KEY_INDEX_SIZE
See Also:
Constant Field Values

INFERENCER_RULESET

public static final String INFERENCER_RULESET
See Also:
Constant Field Values

PARTIAL_RDFS

public static final String PARTIAL_RDFS
See Also:
Constant Field Values

STORAGE_DIRECTORY

public static final String STORAGE_DIRECTORY
See Also:
Constant Field Values

LOAD_PERSISTED_DATA

public static final String LOAD_PERSISTED_DATA
See Also:
Constant Field Values
Constructor Detail

TRREEAdapter

public TRREEAdapter(Map<Object,Object> props)
Method Detail

getConnection

public TConnection getConnection()
Description copied from interface: TSource
Create new connection with default values.

Returns:
connection to triplset model.

getConnection

public TConnection getConnection(String user,
                                 String pass)
Description copied from interface: TSource
Creates a new connection with specified user name and password.

Parameters:
user - name to be used.
pass - of the specified user.
Returns:
connection to tripleset data model.

shutdown

public void shutdown()
Description copied from interface: DataSource
Sends a signal to the server for shutdown. There is no strict definition how the different implementation have to process it.


getTriplesetFactory

public TFactory getTriplesetFactory()
Description copied from interface: TSource
Get factory object that can be used to construct URI, Literals and BNodes.

Specified by:
getTriplesetFactory in interface TSource
Overrides:
getTriplesetFactory in class TSourceImpl
Returns:
factory object.

isShutdown

public boolean isShutdown()
Description copied from interface: DataSource
Verifies whether the server instance is shutdown.

Returns:

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2008. All Rights Reserved.