Class FSOMapFileLexiconGeneric<K1,​K2 extends org.apache.hadoop.io.WritableComparable>

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<java.util.Map.Entry<K1,​LexiconEntry>>
    Direct Known Subclasses:
    FSOMapFileLexicon

    public abstract class FSOMapFileLexiconGeneric<K1,​K2 extends org.apache.hadoop.io.WritableComparable>
    extends MapLexicon<K1,​K2>
    • Constructor Detail

      • FSOMapFileLexiconGeneric

        public FSOMapFileLexiconGeneric​(java.lang.String structureName,
                                        java.lang.String path,
                                        java.lang.String prefix,
                                        FixedSizeWriteableFactory<K2> _keyFactory,
                                        FixedSizeWriteableFactory<LexiconEntry> _valueFactory,
                                        java.lang.String termIdLookup,
                                        java.lang.String dataFile)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • constructFilename

        public static java.lang.String constructFilename​(java.lang.String structureName,
                                                         java.lang.String path,
                                                         java.lang.String prefix,
                                                         java.lang.String extension)
        Constructs a filename
        Parameters:
        structureName -
        path -
        prefix -
        extension -
        Returns:
        filename