com.bigdata.search
Class TextIndexWriteProc.IndexWriteProcConstructor

java.lang.Object
  extended by com.bigdata.btree.proc.AbstractKeyArrayIndexProcedureConstructor<TextIndexWriteProc>
      extended by com.bigdata.search.TextIndexWriteProc.IndexWriteProcConstructor
Enclosing class:
TextIndexWriteProc

public static class TextIndexWriteProc.IndexWriteProcConstructor
extends AbstractKeyArrayIndexProcedureConstructor<TextIndexWriteProc>


Field Summary
static TextIndexWriteProc.IndexWriteProcConstructor NO_OVERWRITE
          Variant that will not overwrite an existing entry for a {term,doc,field}.
static TextIndexWriteProc.IndexWriteProcConstructor OVERWRITE
          Variant which always overwrites any existing entry.
 
Method Summary
 TextIndexWriteProc newInstance(IRabaCoder keySer, IRabaCoder valSer, int fromIndex, int toIndex, byte[][] keys, byte[][] vals)
          Uses the specified IRabaCoders.
 boolean sendValues()
          Values are required.
 
Methods inherited from class com.bigdata.btree.proc.AbstractKeyArrayIndexProcedureConstructor
newInstance, newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OVERWRITE

public static TextIndexWriteProc.IndexWriteProcConstructor OVERWRITE
Variant which always overwrites any existing entry. Note that you must still delete all entries for a document before re-indexing that document.


NO_OVERWRITE

public static TextIndexWriteProc.IndexWriteProcConstructor NO_OVERWRITE
Variant that will not overwrite an existing entry for a {term,doc,field}. This is useful when you have a corpus which (a) only grows in size; and (b) the content of each document is unchanging.

Method Detail

sendValues

public final boolean sendValues()
Values are required.

Specified by:
sendValues in class AbstractKeyArrayIndexProcedureConstructor<TextIndexWriteProc>

newInstance

public TextIndexWriteProc newInstance(IRabaCoder keySer,
                                      IRabaCoder valSer,
                                      int fromIndex,
                                      int toIndex,
                                      byte[][] keys,
                                      byte[][] vals)
Description copied from class: AbstractKeyArrayIndexProcedureConstructor
Uses the specified IRabaCoders.

Specified by:
newInstance in class AbstractKeyArrayIndexProcedureConstructor<TextIndexWriteProc>
Returns:


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.