public class ForwardIndexDocument extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCID_FIELD |
static String |
LANG_UNKNOWN |
static String |
LANGUAGE_FIELD |
| Constructor and Description |
|---|
ForwardIndexDocument() |
ForwardIndexDocument(String rowset) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColId() |
String |
getDocId() |
String |
getDocLang() |
Map<String,ArrayList<String>> |
getFields() |
String |
getID() |
Map<String,ArrayList<String>> |
getKeys() |
static Document |
loadXMLFromString(String xml) |
static void |
parseXML(Map<String,ArrayList<String>> keys,
Map<String,ArrayList<String>> fields,
String rowset) |
void |
parseXML(String rowset) |
String |
toJSON() |
String |
toString() |
public static final String LANGUAGE_FIELD
public static final String LANG_UNKNOWN
public static final String DOCID_FIELD
public static void parseXML(Map<String,ArrayList<String>> keys, Map<String,ArrayList<String>> fields, String rowset) throws Exception
Exceptionpublic String getID()
public String getDocLang()
public String getDocId()
public String getColId()
public String toJSON()
public static Document loadXMLFromString(String xml) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.