Overview | Package | Class | Use | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.lucene.index
Class BinaryDocValues

    java.lang.Object
      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 `MISSING` for every document
`static byte[]` | `MISSING` Indicates the value was missing for the 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

### MISSING

    public static final byte[] MISSING

  Indicates the value was missing for the document.

### EMPTY

    public static final BinaryDocValues EMPTY

  An empty BinaryDocValues which returns `MISSING` 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.

Overview | Package | Class | Use | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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