public class MultiMeta extends Object implements MetaIndex
| Constructor and Description |
|---|
MultiMeta(MetaIndex[] metas,
int[] offsets)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Not implemented.
|
String[] |
getAllItems(int docid)
Obtain all metadata for specified document.
|
int |
getDocument(String key,
String value)
Not implemented.
|
String |
getItem(String key,
int docid)
Obtain metadata of specified type for specified document.
|
String[] |
getItems(String[] keys,
int docid)
Obtain metadata of specified types for specified document.
|
String[][] |
getItems(String[] keys,
int[] docids)
Obtain metadata of specified types for specified documents.
|
String[] |
getItems(String key,
int[] docids)
Obtain metadata of specified type for specified documents.
|
String[] |
getKeys()
Returns the keys of this meta index
|
public MultiMeta(MetaIndex[] metas, int[] offsets)
public String[] getKeys()
public String getItem(String key, int docid) throws IOException
getItem in interface MetaIndexIOExceptionpublic String[] getAllItems(int docid) throws IOException
getAllItems in interface MetaIndexIOExceptionpublic String[] getItems(String[] keys, int docid) throws IOException
getItems in interface MetaIndexIOExceptionpublic String[] getItems(String key, int[] docids) throws IOException
getItems in interface MetaIndexIOExceptionpublic String[][] getItems(String[] keys, int[] docids) throws IOException
getItems in interface MetaIndexIOExceptionpublic int getDocument(String key, String value) throws IOException
getDocument in interface MetaIndexIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow