final class NumericDocValuesFieldUpdates extends DocValuesFieldUpdates
DocValuesFieldUpdates which holds updates of documents, of a single
NumericDocValuesField.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
NumericDocValuesFieldUpdates.Iterator |
(package private) static class |
NumericDocValuesFieldUpdates.SingleValueNumericDocValuesFieldUpdates |
DocValuesFieldUpdates.AbstractIterator, DocValuesFieldUpdates.SingleValueDocValuesFieldUpdates| Modifier and Type | Field and Description |
|---|---|
private long |
minValue |
private AbstractPagedMutable<?> |
values |
| Constructor and Description |
|---|
NumericDocValuesFieldUpdates(long delGen,
java.lang.String field,
int maxDoc) |
NumericDocValuesFieldUpdates(long delGen,
java.lang.String field,
long minValue,
long maxValue,
int maxDoc) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
add(int doc,
BytesRef value) |
(package private) void |
add(int docId,
DocValuesFieldUpdates.Iterator iterator)
Adds the value for the given docID.
|
(package private) void |
add(int doc,
long value) |
protected void |
grow(int size) |
(package private) NumericDocValuesFieldUpdates.Iterator |
iterator()
Returns an
DocValuesFieldUpdates.Iterator over the updated documents and their
values. |
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
protected void |
resize(int size) |
protected void |
swap(int i,
int j) |
add, any, ensureFinished, finish, getFinished, mergedIterator, reset, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResourcesprivate AbstractPagedMutable<?> values
private final long minValue
NumericDocValuesFieldUpdates(long delGen,
java.lang.String field,
int maxDoc)
NumericDocValuesFieldUpdates(long delGen,
java.lang.String field,
long minValue,
long maxValue,
int maxDoc)
void add(int doc,
BytesRef value)
add in class DocValuesFieldUpdatesvoid add(int docId,
DocValuesFieldUpdates.Iterator iterator)
DocValuesFieldUpdatesDocValuesFieldUpdates.Iterator.longValue() or DocValuesFieldUpdates.Iterator.binaryValue()
since the implementation knows if it's a long value iterator or binary valueadd in class DocValuesFieldUpdatesvoid add(int doc,
long value)
add in class DocValuesFieldUpdatesprotected void swap(int i,
int j)
swap in class DocValuesFieldUpdatesprotected void grow(int size)
grow in class DocValuesFieldUpdatesprotected void resize(int size)
resize in class DocValuesFieldUpdatesNumericDocValuesFieldUpdates.Iterator iterator()
DocValuesFieldUpdatesDocValuesFieldUpdates.Iterator over the updated documents and their
values.iterator in class DocValuesFieldUpdatespublic long ramBytesUsed()
AccountableramBytesUsed in interface AccountableramBytesUsed in class DocValuesFieldUpdates