org.openrdf.sail.rdbms.managers
Class LiteralManager
java.lang.Object
org.openrdf.sail.rdbms.managers.base.ManagerBase
org.openrdf.sail.rdbms.managers.base.ValueManagerBase<RdbmsLiteral>
org.openrdf.sail.rdbms.managers.LiteralManager
public class LiteralManager
- extends ValueManagerBase<RdbmsLiteral>
Manages RDBMS Literals. Including creation, id lookup, and inserting them
into the database.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static LiteralManager instance
LiteralManager
public LiteralManager()
getCalendarValue
public static long getCalendarValue(XMLGregorianCalendar xcal)
setTable
public void setTable(LiteralTable table)
close
public void close()
throws SQLException
- Overrides:
close in class ManagerBase
- Throws:
SQLException
expunge
protected boolean expunge(String condition)
throws SQLException
- Specified by:
expunge in class ValueManagerBase<RdbmsLiteral>
- Throws:
SQLException
optimize
protected void optimize()
throws SQLException
- Overrides:
optimize in class ValueManagerBase<RdbmsLiteral>
- Throws:
SQLException
key
protected Literal key(RdbmsLiteral value)
- Specified by:
key in class ValueManagerBase<RdbmsLiteral>
insert
protected void insert(Number id,
RdbmsLiteral literal)
throws SQLException,
InterruptedException
- Specified by:
insert in class ValueManagerBase<RdbmsLiteral>
- Throws:
SQLException
InterruptedException
getBatchSize
protected int getBatchSize()
- Specified by:
getBatchSize in class ValueManagerBase<RdbmsLiteral>
Copyright © 2001-2009 Aduna. All Rights Reserved.