org.openrdf.sail.rdbms.managers
Class HashManager

java.lang.Object
  extended by org.openrdf.sail.rdbms.managers.base.ManagerBase
      extended by org.openrdf.sail.rdbms.managers.HashManager

public class HashManager
extends ManagerBase

Author:
James Leigh

Field Summary
static HashManager instance
           
 
Fields inherited from class org.openrdf.sail.rdbms.managers.base.ManagerBase
BATCH_SIZE, MAX_QUEUE, MIN_QUEUE
 
Constructor Summary
HashManager()
           
 
Method Summary
 void assignId(RdbmsValue value, int version)
           
 void close()
           
 void flush()
           
protected  void flush(Batch batch)
           
protected  int getChunkSize()
           
 String getExpungeCondition()
           
 int getIdVersion()
           
 void init()
           
 void lookupId(RdbmsValue value)
           
 void optimize()
           
 boolean removedStatements(int count, String condition)
           
 void setBNodeManager(BNodeManager bnodeTable)
           
 void setHashTable(HashTable table)
           
 void setIdSequence(IdSequence idseq)
           
 void setLiteralManager(LiteralManager literalTable)
           
 void setUriManager(UriManager uriTable)
           
 
Methods inherited from class org.openrdf.sail.rdbms.managers.base.ManagerBase
clear, getQueue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static HashManager instance
Constructor Detail

HashManager

public HashManager()
Method Detail

setHashTable

public void setHashTable(HashTable table)

setBNodeManager

public void setBNodeManager(BNodeManager bnodeTable)

setLiteralManager

public void setLiteralManager(LiteralManager literalTable)

setUriManager

public void setUriManager(UriManager uriTable)

setIdSequence

public void setIdSequence(IdSequence idseq)

init

public void init()

close

public void close()
           throws SQLException
Overrides:
close in class ManagerBase
Throws:
SQLException

getIdVersion

public int getIdVersion()

optimize

public void optimize()
              throws SQLException
Overrides:
optimize in class ManagerBase
Throws:
SQLException

removedStatements

public boolean removedStatements(int count,
                                 String condition)
                          throws SQLException
Throws:
SQLException

lookupId

public void lookupId(RdbmsValue value)
              throws InterruptedException
Throws:
InterruptedException

assignId

public void assignId(RdbmsValue value,
                     int version)
              throws InterruptedException,
                     SQLException
Throws:
InterruptedException
SQLException

flush

public void flush()
           throws SQLException,
                  InterruptedException
Overrides:
flush in class ManagerBase
Throws:
SQLException
InterruptedException

getExpungeCondition

public String getExpungeCondition()

getChunkSize

protected int getChunkSize()

flush

protected void flush(Batch batch)
              throws SQLException
Overrides:
flush in class ManagerBase
Throws:
SQLException


Copyright © 2001-2008 Aduna. All Rights Reserved.