org.openrdf.sail.rdbms.schema
Class LiteralTable
java.lang.Object
org.openrdf.sail.rdbms.schema.LiteralTable
public class LiteralTable
- extends Object
A Facade to the five literal value tables. Which are labels, languages,
datatypes, numeric values, and dateTime values.
- Author:
- James Leigh
|
Method Summary |
void |
close()
|
boolean |
expunge(String condition)
|
int |
getBatchSize()
|
ValueTable |
getDatatypeTable()
|
ValueTable |
getDateTimeTable()
|
int |
getIdVersion()
|
ValueTable |
getLabelTable()
|
ValueTable |
getLanguageTable()
|
ValueTable |
getLongLabelTable()
|
ValueTable |
getNumericTable()
|
void |
insertDatatype(Number id,
String label,
String datatype)
|
void |
insertDateTime(Number id,
String label,
String datatype,
long value)
|
void |
insertLanguage(Number id,
String label,
String language)
|
void |
insertNumeric(Number id,
String label,
String datatype,
double value)
|
void |
insertSimple(Number id,
String label)
|
void |
optimize()
|
void |
setDatatypeTable(ValueTable datatypes)
|
void |
setDateTimeTable(ValueTable dateTime)
|
void |
setIdSequence(IdSequence ids)
|
void |
setLabelTable(ValueTable labels)
|
void |
setLanguageTable(ValueTable languages)
|
void |
setLongLabelTable(ValueTable longLabels)
|
void |
setNumericTable(ValueTable numeric)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ONLY_INSERT_LABEL
public static final boolean ONLY_INSERT_LABEL
- See Also:
- Constant Field Values
LiteralTable
public LiteralTable()
setIdSequence
public void setIdSequence(IdSequence ids)
getLabelTable
public ValueTable getLabelTable()
setLabelTable
public void setLabelTable(ValueTable labels)
getLongLabelTable
public ValueTable getLongLabelTable()
setLongLabelTable
public void setLongLabelTable(ValueTable longLabels)
getLanguageTable
public ValueTable getLanguageTable()
setLanguageTable
public void setLanguageTable(ValueTable languages)
getDatatypeTable
public ValueTable getDatatypeTable()
setDatatypeTable
public void setDatatypeTable(ValueTable datatypes)
getNumericTable
public ValueTable getNumericTable()
setNumericTable
public void setNumericTable(ValueTable numeric)
getDateTimeTable
public ValueTable getDateTimeTable()
setDateTimeTable
public void setDateTimeTable(ValueTable dateTime)
close
public void close()
throws SQLException
- Throws:
SQLException
getBatchSize
public int getBatchSize()
getIdVersion
public int getIdVersion()
insertSimple
public void insertSimple(Number id,
String label)
throws SQLException,
InterruptedException
- Throws:
SQLException
InterruptedException
insertLanguage
public void insertLanguage(Number id,
String label,
String language)
throws SQLException,
InterruptedException
- Throws:
SQLException
InterruptedException
insertDatatype
public void insertDatatype(Number id,
String label,
String datatype)
throws SQLException,
InterruptedException
- Throws:
SQLException
InterruptedException
insertNumeric
public void insertNumeric(Number id,
String label,
String datatype,
double value)
throws SQLException,
InterruptedException
- Throws:
SQLException
InterruptedException
insertDateTime
public void insertDateTime(Number id,
String label,
String datatype,
long value)
throws SQLException,
InterruptedException
- Throws:
SQLException
InterruptedException
optimize
public void optimize()
throws SQLException
- Throws:
SQLException
expunge
public boolean expunge(String condition)
throws SQLException
- Throws:
SQLException
Copyright © 2001-2010 Aduna. All Rights Reserved.