org.apache.lucene.index
Class BinaryDocValues

java.lang.Object
  extended by org.apache.lucene.index.BinaryDocValues
Direct Known Subclasses:
SortedDocValues

public abstract class BinaryDocValues
extends Object

A per-document byte[]


Field Summary
static BinaryDocValues EMPTY
          An empty BinaryDocValues which returns BytesRef.EMPTY_BYTES for every document
 
Constructor Summary
protected BinaryDocValues()
          Sole constructor.
 
Method Summary
abstract  void get(int docID, BytesRef result)
          Lookup the value for document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY

public static final BinaryDocValues EMPTY
An empty BinaryDocValues which returns BytesRef.EMPTY_BYTES for every document

Constructor Detail

BinaryDocValues

protected BinaryDocValues()
Sole constructor. (For invocation by subclass constructors, typically implicit.)

Method Detail

get

public abstract void get(int docID,
                         BytesRef result)
Lookup the value for document.



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