net.conquiris.lucene.document
Class BaseDocumentBuilder.DocNumericFieldBuilder
java.lang.Object
net.derquinse.common.reflect.This<B>
net.conquiris.lucene.document.FieldBuilder<B>
net.conquiris.lucene.document.IndexableFieldBuilder<B>
net.conquiris.lucene.document.BaseNumericFieldBuilder<BaseDocumentBuilder.DocNumericFieldBuilder>
net.conquiris.lucene.document.BaseDocumentBuilder.DocNumericFieldBuilder
- All Implemented Interfaces:
- NumericFieldAdder<B>, IsIndexedFlag, IsStoredFlag
- Enclosing class:
- BaseDocumentBuilder<B extends BaseDocumentBuilder<B>>
public final class BaseDocumentBuilder.DocNumericFieldBuilder
- extends BaseNumericFieldBuilder<BaseDocumentBuilder.DocNumericFieldBuilder>
- implements NumericFieldAdder<B>
Numeric field builder that adds to the current document builder.
|
Method Summary |
B |
add(double value)
Adds the field to the document with the current information and a double value. |
B |
add(float value)
Adds the field to the document with the current information and a float value. |
B |
add(int value)
Adds the field to the document with the current information and an int value. |
B |
add(long value)
Adds the field to the document with the current information and a long value. |
| Methods inherited from class net.derquinse.common.reflect.This |
thisValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
add
public B add(int value)
- Description copied from interface:
NumericFieldAdder
- Adds the field to the document with the current information and an int value.
- Specified by:
add in interface NumericFieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
value - Field value.
- Returns:
- The document builder.
add
public B add(long value)
- Description copied from interface:
NumericFieldAdder
- Adds the field to the document with the current information and a long value.
- Specified by:
add in interface NumericFieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
value - Field value.
- Returns:
- The document builder.
add
public B add(float value)
- Description copied from interface:
NumericFieldAdder
- Adds the field to the document with the current information and a float value.
- Specified by:
add in interface NumericFieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
value - Field value.
- Returns:
- The document builder.
add
public B add(double value)
- Description copied from interface:
NumericFieldAdder
- Adds the field to the document with the current information and a double value.
- Specified by:
add in interface NumericFieldAdder<B extends BaseDocumentBuilder<B>>
- Parameters:
value - Field value.
- Returns:
- The document builder.
Copyright © 2012 Derquinse Projects.. All Rights Reserved.