org.apache.lucene.store.instantiated
Class InstantiatedDocument

java.lang.Object
  extended by org.apache.lucene.store.instantiated.InstantiatedDocument
All Implemented Interfaces:
Serializable

public class InstantiatedDocument
extends Object
implements Serializable

A document in the instantiated index object graph, optionally coupled to the vector space view.

See Also:
Document, Serialized Form

Constructor Summary
InstantiatedDocument()
           
InstantiatedDocument(Document document)
           
 
Method Summary
 Document getDocument()
           
 Integer getDocumentNumber()
           
 Map<String,List<InstantiatedTermDocumentInformation>> getVectorSpace()
           
 void setVectorSpace(Map<String,List<InstantiatedTermDocumentInformation>> vectorSpace)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstantiatedDocument

public InstantiatedDocument()

InstantiatedDocument

public InstantiatedDocument(Document document)
Method Detail

getDocumentNumber

public Integer getDocumentNumber()
Returns:
position of document in the index.

getVectorSpace

public Map<String,List<InstantiatedTermDocumentInformation>> getVectorSpace()

setVectorSpace

public void setVectorSpace(Map<String,List<InstantiatedTermDocumentInformation>> vectorSpace)

getDocument

public Document getDocument()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.