org.openrdf.sail.rdbms.schema
Class HashTable
java.lang.Object
org.openrdf.sail.rdbms.schema.HashTable
public class HashTable
- extends Object
- Author:
- James Leigh
HashTable
public HashTable(ValueTable table)
getName
public String getName()
getBatchSize
public int getBatchSize()
getSelectChunkSize
public int getSelectChunkSize()
init
public void init()
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Throws:
SQLException
maxIds
public List<Long> maxIds(int shift,
int mod)
throws SQLException
- Throws:
SQLException
insert
public void insert(Number id,
long hash)
throws SQLException,
InterruptedException
- Throws:
SQLException
InterruptedException
expungeRemovedStatements
public boolean expungeRemovedStatements(int count,
String condition)
throws SQLException
- Throws:
SQLException
timeToExpunge
protected boolean timeToExpunge()
optimize
public void optimize()
throws SQLException
- Throws:
SQLException
toString
public String toString()
- Overrides:
toString in class Object
load
public Map<Long,Number> load(Map<Long,Number> hashes)
throws SQLException
- Throws:
SQLException
newHashBatch
protected HashBatch newHashBatch()
prepareSelect
protected PreparedStatement prepareSelect(String sql)
throws SQLException
- Throws:
SQLException
Copyright © 2001-2008 Aduna. All Rights Reserved.