org.apache.blur.utils
Class RowDocumentUtil
java.lang.Object
org.apache.blur.utils.RowDocumentUtil
public class RowDocumentUtil
- extends Object
Field Summary |
static org.apache.lucene.document.FieldType |
ID_TYPE
|
ID_TYPE
public static org.apache.lucene.document.FieldType ID_TYPE
RowDocumentUtil
public RowDocumentUtil()
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 Term createRowId(String id)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.