org.apache.blur.utils
Class RowDocumentUtil

java.lang.Object
  extended by org.apache.blur.utils.RowDocumentUtil

public class RowDocumentUtil
extends Object


Field Summary
static org.apache.lucene.document.FieldType ID_TYPE
           
 
Constructor Summary
RowDocumentUtil()
           
 
Method Summary
static org.apache.lucene.index.Term createRowId(String id)
           
static List<org.apache.lucene.document.Field> getDoc(FieldManager fieldManager, String rowId, Record record)
           
static List<List<org.apache.lucene.document.Field>> getDocs(Row row, FieldManager fieldManager)
           
static FetchRecordResult getRecord(org.apache.lucene.document.Document document)
           
static Row getRow(Iterable<org.apache.lucene.document.Document> docs)
           
static String readRecord(org.apache.lucene.document.Document document, ReaderBlurRecord reader)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_TYPE

public static org.apache.lucene.document.FieldType ID_TYPE
Constructor Detail

RowDocumentUtil

public RowDocumentUtil()
Method Detail

getRecord

public static FetchRecordResult getRecord(org.apache.lucene.document.Document document)

getRow

public static Row getRow(Iterable<org.apache.lucene.document.Document> docs)

readRecord

public static String readRecord(org.apache.lucene.document.Document document,
                                ReaderBlurRecord reader)

getDocs

public static List<List<org.apache.lucene.document.Field>> getDocs(Row row,
                                                                   FieldManager fieldManager)
                                                            throws IOException
Throws:
IOException

getDoc

public static List<org.apache.lucene.document.Field> getDoc(FieldManager fieldManager,
                                                            String rowId,
                                                            Record record)
                                                     throws IOException
Throws:
IOException

createRowId

public static org.apache.lucene.index.Term createRowId(String id)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.