org.openrdf.sail.rdbms.schema
Class LongIdSequence

java.lang.Object
  extended by org.openrdf.sail.rdbms.schema.IdSequence
      extended by org.openrdf.sail.rdbms.schema.LongIdSequence

public class LongIdSequence
extends IdSequence

Author:
James Leigh

Constructor Summary
LongIdSequence()
           
 
Method Summary
 int getJdbcIdType()
           
 int getShift()
           
 String getSqlType()
           
 Number idOf(Number number)
           
 void init()
           
 Number maxId(ValueType type)
           
 Number minId(ValueType type)
           
 Number nextId(Value value)
           
protected  int shift(Number id)
           
 
Methods inherited from class org.openrdf.sail.rdbms.schema.IdSequence
code, getHashTable, getMod, hash, hashLiteralType, hashOf, idOf, isLiteral, isLong, isURI, setHashTable, valueOf, valueOf, valueOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongIdSequence

public LongIdSequence()
Method Detail

getShift

public int getShift()
Specified by:
getShift in class IdSequence

getJdbcIdType

public int getJdbcIdType()
Specified by:
getJdbcIdType in class IdSequence

getSqlType

public String getSqlType()
Specified by:
getSqlType in class IdSequence

init

public void init()
          throws SQLException
Specified by:
init in class IdSequence
Throws:
SQLException

idOf

public Number idOf(Number number)
Specified by:
idOf in class IdSequence

maxId

public Number maxId(ValueType type)
Specified by:
maxId in class IdSequence

minId

public Number minId(ValueType type)
Specified by:
minId in class IdSequence

nextId

public Number nextId(Value value)
Specified by:
nextId in class IdSequence

shift

protected int shift(Number id)
Specified by:
shift in class IdSequence


Copyright © 2001-2010 Aduna. All Rights Reserved.