com.bigdata.rdf.vocab
Class NoVocabulary

java.lang.Object
  extended by com.bigdata.rdf.vocab.BaseVocabulary
      extended by com.bigdata.rdf.vocab.NoVocabulary
All Implemented Interfaces:
Vocabulary, Externalizable, Serializable

public class NoVocabulary
extends BaseVocabulary

An empty Vocabulary.

Note: The use of this class is no longer recommended. It was used historically when the lexicon should be empty (no pre-declared terms). However, the Vocabulary now provides a mechanism for fast and compact inlining of URIs into the statement indices. Using an empty Vocabulary therefore simply robs you of the opportunity to have more compact encodings of those URIs.

Version:
$Id: NoVocabulary.java 4628 2011-06-04 22:01:57Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bigdata.rdf.vocab.BaseVocabulary
BaseVocabulary.VocabularyVersioningException
 
Constructor Summary
NoVocabulary()
          De-serialization ctor.
NoVocabulary(String namespace)
           
 
Method Summary
protected  void addValues()
          NOP.
 
Methods inherited from class com.bigdata.rdf.vocab.BaseVocabulary
addDecl, asValue, get, getConstant, getNamespace, init, readExternal, size, values, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoVocabulary

public NoVocabulary()
De-serialization ctor.


NoVocabulary

public NoVocabulary(String namespace)
Parameters:
Namespace -
Method Detail

addValues

protected void addValues()
NOP.

Specified by:
addValues in class BaseVocabulary


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.