net.conquiris.lucene.document
Class FieldableBuilder<B extends FieldableBuilder<B>>

java.lang.Object
  extended by net.derquinse.common.reflect.This<B>
      extended by net.conquiris.lucene.document.FieldableBuilder<B>
Direct Known Subclasses:
BaseFieldBuilder, BaseNumericFieldBuilder

public abstract class FieldableBuilder<B extends FieldableBuilder<B>>
extends net.derquinse.common.reflect.This<B>

Fieldable builder base class. Fieldables are not stored by default. Builders are NOT THREAD SAFE.

Author:
Andres Rodriguez

Method Summary
 B store()
          Sets the field to be stored.
 B store(boolean store)
          Sets whether to store the field.
 B store(org.apache.lucene.document.Field.Store store)
          Sets whether to store the field.
 
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
 

Method Detail

store

public final B store(boolean store)
Sets whether to store the field.


store

public final B store()
Sets the field to be stored.


store

public final B store(@Nullable
                     org.apache.lucene.document.Field.Store store)
Sets whether to store the field.

Parameters:
store - The field will be stored if the argument is Field.Store.YES.


Copyright © 2012 Derquinse Projects.. All Rights Reserved.