org.hibernate.search.engine.impl
public final class DocumentBuilderHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Object |
extractObjectFromFieldable(Fieldable field) |
static String |
extractStringFromFieldable(Fieldable field) |
static Class |
getDocumentClass(String className) |
static Object[] |
getDocumentFields(SearchFactoryImplementor searchFactoryImplementor,
Class<?> clazz,
Document document,
String[] fields,
ConversionContext conversionContext) |
static Serializable |
getDocumentId(SearchFactoryImplementor searchFactoryImplementor,
Class<?> clazz,
Document document,
ConversionContext conversionContext) |
static String |
getDocumentIdName(SearchFactoryImplementor searchFactoryImplementor,
Class<?> clazz) |
static int |
getFieldPosition(String[] fields,
String fieldName) |
static void |
populateResult(String fieldName,
FieldBridge fieldBridge,
Store store,
Object[] result,
Document document,
ConversionContext conversionContext,
int matchingPosition) |
public static Serializable getDocumentId(SearchFactoryImplementor searchFactoryImplementor, Class<?> clazz, Document document, ConversionContext conversionContext)
public static String getDocumentIdName(SearchFactoryImplementor searchFactoryImplementor, Class<?> clazz)
public static Object[] getDocumentFields(SearchFactoryImplementor searchFactoryImplementor, Class<?> clazz, Document document, String[] fields, ConversionContext conversionContext)
public static void populateResult(String fieldName, FieldBridge fieldBridge, Store store, Object[] result, Document document, ConversionContext conversionContext, int matchingPosition)
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved