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 NumericDocValues

    java.lang.Object
      org.apache.lucene.index.NumericDocValues

    public abstract class NumericDocValues

extends Object

A per-document numeric value.

Field Summary
`static NumericDocValues` | `EMPTY` An empty NumericDocValues which returns zero for every document

Constructor Summary
`protected` | `NumericDocValues()` Sole constructor.

Method Summary
`abstract long` | `get(int docID)` Returns the numeric value for the specified document ID.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### EMPTY

    public static final NumericDocValues EMPTY

  An empty NumericDocValues which returns zero for every document

Constructor Detail

### NumericDocValues

    protected NumericDocValues()

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

Method Detail

### get

    public abstract long get(int docID)

  Returns the numeric value for the specified document ID.

  Parameters:
    `docID` - document ID to lookup
  Returns:
    numeric value

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.