public class FatUtils extends Object
FatResultSets.| Constructor and Description |
|---|
FatUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dump(FatResultSet frs) |
static WritablePosting |
firstPosting(WritablePosting[] writablePostings) |
protected static WritablePosting |
firstPosting(WritablePosting[][] postings) |
protected static WritablePosting |
firstPosting(WritablePosting[][] postings,
int termIndex) |
static String |
getInfo(FatResultSet frs) |
static void |
main(String[] args) |
static Index |
makeIndex(FatResultSet frs) |
static Iterator<Map.Entry<String,FatResultSet>> |
readFatResultSet(String filename) |
static void |
readFields(FatResultSet frs,
DataInput in) |
static FatResultSet |
recreate(FatResultSet frs) |
static void |
write(FatResultSet frs,
DataOutput out) |
public static FatResultSet recreate(FatResultSet frs) throws IOException
IOExceptionpublic static void readFields(FatResultSet frs, DataInput in) throws IOException
IOExceptionpublic static void write(FatResultSet frs, DataOutput out) throws IOException
IOExceptionpublic static Index makeIndex(FatResultSet frs)
protected static WritablePosting firstPosting(WritablePosting[][] postings)
protected static WritablePosting firstPosting(WritablePosting[][] postings, int termIndex)
public static WritablePosting firstPosting(WritablePosting[] writablePostings)
public static String getInfo(FatResultSet frs)
public static void dump(FatResultSet frs)
public static Iterator<Map.Entry<String,FatResultSet>> readFatResultSet(String filename) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow