public class FatUtils extends Object
FatResultSet
s.Constructor and Description |
---|
FatUtils() |
public static FatResultSet recreate(FatResultSet frs) throws IOException
IOException
public static void readFields(FatResultSet frs, DataInput in) throws IOException
IOException
protected static void readFieldsV2(FatResultSet frs, DataInput in) throws IOException
IOException
protected static void readFieldsV3(FatResultSet frs, DataInput in) throws IOException
IOException
protected static void readFieldsV4(FatResultSet frs, DataInput in) throws IOException
IOException
protected static void readFieldsV5(FatResultSet frs, DataInput in) throws IOException
IOException
public static void write(FatResultSet frs, DataOutput out) throws IOException
IOException
public static void writeV3(FatResultSet frs, DataOutput out) throws IOException
IOException
public static void writeV5(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 Platform 5.1. Copyright © 2004-2019, University of Glasgow