public class FatUtils extends Object
FatResultSet
s.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
IOException
public static void readFields(FatResultSet frs, DataInput in) throws IOException
IOException
public static void write(FatResultSet frs, DataOutput out) throws IOException
IOException
public 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
IOException
public static void main(String[] args) throws IOException
IOException
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow