net.conquiris.lucene.document
Class BaseDocumentBuilder.DocBinaryFieldBuilder

java.lang.Object
  extended by net.derquinse.common.reflect.This<B>
      extended by net.conquiris.lucene.document.FieldBuilder<B>
          extended by net.conquiris.lucene.document.BaseBinaryFieldBuilder<BaseDocumentBuilder.DocBinaryFieldBuilder>
              extended by net.conquiris.lucene.document.BaseDocumentBuilder.DocBinaryFieldBuilder
All Implemented Interfaces:
BinaryFieldAdder<B>, IsIndexedFlag, IsStoredFlag
Enclosing class:
BaseDocumentBuilder<B extends BaseDocumentBuilder<B>>

public final class BaseDocumentBuilder.DocBinaryFieldBuilder
extends BaseBinaryFieldBuilder<BaseDocumentBuilder.DocBinaryFieldBuilder>
implements BinaryFieldAdder<B>

Binary field builder that adds to the current document builder.


Field Summary
 
Fields inherited from interface net.conquiris.schema.IsStoredFlag
STORED
 
Fields inherited from interface net.conquiris.schema.IsIndexedFlag
INDEXED
 
Method Summary
 B add(byte[] value)
          Adds the field to the document with the provided value.
 
Methods inherited from class net.conquiris.lucene.document.BaseBinaryFieldBuilder
build, isIndexed, isStored
 
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

add

public B add(byte[] value)
Description copied from interface: BinaryFieldAdder
Adds the field to the document with the provided value.

Specified by:
add in interface BinaryFieldAdder<B extends BaseDocumentBuilder<B>>
Parameters:
value - Field value.
Returns:
The document builder.


Copyright © 2012 Derquinse Projects.. All Rights Reserved.